[packages/python-pygobject] noarch apidocs

glen glen at pld-linux.org
Thu Apr 3 22:49:15 CEST 2014


commit 47361db518032d5e30cefdbaf4320ef06af668c8
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu Apr 3 23:49:13 2014 +0300

    noarch apidocs

 python-pygobject.spec | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/python-pygobject.spec b/python-pygobject.spec
index 08b4e4e..f3fd4b3 100644
--- a/python-pygobject.spec
+++ b/python-pygobject.spec
@@ -2,14 +2,13 @@
 # Conditional build:
 %bcond_without	python2		# Python 2.x module
 %bcond_without	python3		# Python 3.x module
-#
+
 %define		module	pygobject
-#
 Summary:	Python bindings for GObject library
 Summary(pl.UTF-8):	Wiązania Pythona do biblioteki GObject
 Name:		python-%{module}
 Version:	2.28.6
-Release:	5
+Release:	6
 License:	LGPL v2+
 Group:		Libraries/Python
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/pygobject/2.28/%{module}-%{version}.tar.xz
@@ -33,7 +32,7 @@ BuildRequires:	xz
 %if %{with python2}
 BuildRequires:	python-devel >= 1:2.5.2
 BuildRequires:	python-pycairo-devel >= 1.2.0
-%pyrequires_eq	python-modules
+Requires:	python-modules
 %endif
 %if %{with python3}
 BuildRequires:	python3
@@ -121,6 +120,9 @@ Summary:	pygobject API documentation
 Summary(pl.UTF-8):	Dokumentacja API pygobject
 Group:		Documentation
 Requires:	gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:	noarch
+%endif
 
 %description apidocs
 pygobject API documentation.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygobject.git/commitdiff/47361db518032d5e30cefdbaf4320ef06af668c8



More information about the pld-cvs-commit mailing list