From: Jacek Konieczny Date: Sat, 28 Nov 2015 17:06:43 +0000 (+0100) Subject: automatic change: use py_build/py_install macros X-Git-Tag: auto/th/python-pyicu-1.8-7~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-pyicu.git;a=commitdiff_plain;h=9b01fac758ae793f3588723ce6d5102c48898ccc automatic change: use py_build/py_install macros --- diff --git a/python-pyicu.spec b/python-pyicu.spec index 693d971..5d07265 100644 --- a/python-pyicu.spec +++ b/python-pyicu.spec @@ -59,16 +59,12 @@ Ten pakiet zawiera moduł Pythona 3. %build %if %{with python2} -CC="%{__cc}" \ -CFLAGS="%{rpmcflags}" \ -%{__python} setup.py build \ +%py_build \ --build-base build-2 %endif %if %{with python3} -CC="%{__cc}" \ -CFLAGS="%{rpmcflags}" \ -%{__python3} setup.py build \ +%py3_build \ --build-base build-3 %endif @@ -76,7 +72,7 @@ CFLAGS="%{rpmcflags}" \ rm -rf $RPM_BUILD_ROOT %if %{with python2} -%{__python} setup.py build \ +%py_build \ --build-base build-2 \ install \ --skip-build \ @@ -87,7 +83,7 @@ rm -rf $RPM_BUILD_ROOT %endif %if %{with python3} -%{__python3} setup.py build \ +%py3_build \ --build-base build-3 \ install \ --skip-build \