From 11a45225b5b69d3c4b1256ba0f25cfb74686f72b Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:06:42 +0100 Subject: [PATCH] automatic change: use py_build/py_install macros --- python-appdirs.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-appdirs.spec b/python-appdirs.spec index ee47033..a8d0752 100644 --- a/python-appdirs.spec +++ b/python-appdirs.spec @@ -72,12 +72,12 @@ appdirs to moduł pomagający wybrać właściwy katalog dla: %build %if %{with python2} -%{__python} setup.py build \ +%py_build \ --build-base build-2 %{?with_tests:test} %endif %if %{with python3} -%{__python3} setup.py build \ +%py3_build \ --build-base build-3 %{?with_tests:test} %endif @@ -85,7 +85,7 @@ appdirs to moduł pomagający wybrać właściwy katalog dla: rm -rf $RPM_BUILD_ROOT %if %{with python2} -%{__python} setup.py build \ +%py_build \ --build-base build-2 \ install \ --skip-build \ @@ -96,7 +96,7 @@ rm -rf $RPM_BUILD_ROOT %endif %if %{with python3} -%{__python3} setup.py build \ +%py3_build \ --build-base build-3 \ install \ --skip-build \ -- 2.44.0