[packages/python-appdirs] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:15:13 CET 2015
commit 11a45225b5b69d3c4b1256ba0f25cfb74686f72b
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:42 2015 +0100
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 \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-appdirs.git/commitdiff/11a45225b5b69d3c4b1256ba0f25cfb74686f72b
More information about the pld-cvs-commit
mailing list