]> git.pld-linux.org Git - packages/python-PyQt4.git/commitdiff
- python* bconds fix
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 1 Nov 2014 20:41:06 +0000 (21:41 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 1 Nov 2014 20:41:06 +0000 (21:41 +0100)
python-PyQt4.spec

index 4e02131a6d57871d36e616873219f8008f8184ca..9c5cd3739e0e4093306a574d99f11a263eccc99d 100644 (file)
@@ -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
This page took 0.0366 seconds and 4 git commands to generate.