From 9b01fac758ae793f3588723ce6d5102c48898ccc Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:06:43 +0100 Subject: [PATCH] automatic change: use py_build/py_install macros --- python-pyicu.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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 \ -- 2.43.0