From d58ddff1693d8b0ba973ad0a1db76ffad8967be3 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 1 Nov 2014 21:41:06 +0100 Subject: [PATCH] - 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 -- 2.44.0