[packages/python-PyQt4] - python* bconds fix

qboosh qboosh at pld-linux.org
Sat Nov 1 21:40:58 CET 2014


commit d58ddff1693d8b0ba973ad0a1db76ffad8967be3
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Nov 1 21:41:06 2014 +0100

    - python* bconds fix

 python-PyQt4.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/python-PyQt4.spec b/python-PyQt4.spec
index 4e02131..9c5cd37 100644
--- a/python-PyQt4.spec
+++ b/python-PyQt4.spec
@@ -224,6 +224,7 @@ kodu wykorzystującego PyQt4.
 %patch1 -p1
 
 %build
+%if %{with python2}
 install -d build-py2
 cd build-py2
 %{__python} ../configure.py \
@@ -241,7 +242,9 @@ cd build-py2
 
 %{__make}
 cd ..
+%endif
 
+%if %{with python3}
 install -d build-py3
 cd build-py3
 %{__python3} ../configure.py \
@@ -259,6 +262,7 @@ cd build-py3
 
 %{__make}
 cd ..
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyQt4.git/commitdiff/d58ddff1693d8b0ba973ad0a1db76ffad8967be3



More information about the pld-cvs-commit mailing list