[packages/python-pytools] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:40:39 CET 2015


commit b3a47f8cee644bbba6319cd44a23c22c749acf99
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-pytools.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-pytools.spec b/python-pytools.spec
index e70eba5..ba0ce03 100644
--- a/python-pytools.spec
+++ b/python-pytools.spec
@@ -74,12 +74,12 @@ mało interesująca.
 
 %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
 
@@ -87,7 +87,7 @@ mało interesująca.
 rm -rf $RPM_BUILD_ROOT
 
 %if %{with python2}
-%{__python} setup.py build \
+%py_build \
 		--build-base build-2 \
 	install \
 		--skip-build \
@@ -98,7 +98,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-pytools.git/commitdiff/b3a47f8cee644bbba6319cd44a23c22c749acf99



More information about the pld-cvs-commit mailing list