[packages/python-pygobject3] - don't install common files twice

qboosh qboosh at pld-linux.org
Fri Oct 2 18:35:25 CEST 2015


commit eebd4be2c294b4c895fceb6a9ffce9a7f497ee94
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Oct 2 18:36:27 2015 +0200

    - don't install common files twice

 python-pygobject3.spec | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/python-pygobject3.spec b/python-pygobject3.spec
index c3065d8..0f1975a 100644
--- a/python-pygobject3.spec
+++ b/python-pygobject3.spec
@@ -31,7 +31,6 @@ BuildRequires:	xz
 %if %{with python2}
 BuildRequires:	python-devel >= 1:2.7
 BuildRequires:	python-pycairo-devel >= 1.2.0
-Requires:	python-modules >= 1:2.7
 %endif
 %if %{with python3}
 BuildRequires:	python3 >= 3.2.2-3
@@ -41,6 +40,7 @@ BuildRequires:	python3-pycairo-devel >= 1.10.0
 %endif
 Requires:	glib2 >= 1:2.38.0
 Requires:	gobject-introspection >= 1.38.0
+Requires:	python-modules >= 1:2.7
 Conflicts:	python-pygobject < 2.28.6-3
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -146,7 +146,8 @@ cd py3
 ../%configure \
 	PYTHON=/usr/bin/python3 \
 	PYTHON_LIBS=-lpython3 \
-	--disable-silent-rules
+	--disable-silent-rules \
+	%{?with_python2:--without-common}
 %{__make}
 cd ..
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygobject3.git/commitdiff/eebd4be2c294b4c895fceb6a9ffce9a7f497ee94



More information about the pld-cvs-commit mailing list