From: Jakub Bogusz Date: Sat, 1 Nov 2014 20:41:06 +0000 (+0100) Subject: - python* bconds fix X-Git-Tag: auto/th/python-PyQt4-4.11.3-1~1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=d58ddff1693d8b0ba973ad0a1db76ffad8967be3;p=packages%2Fpython-PyQt4.git - python* bconds fix --- 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