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

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


commit b0e4cf7dd67b5fb51bda9443f48b2562caf898d1
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-nose.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/python-nose.spec b/python-nose.spec
index a8b0b8e..3f84170 100644
--- a/python-nose.spec
+++ b/python-nose.spec
@@ -63,19 +63,19 @@ opcjonalnie przedstawia raport pokrycia testów.
 %setup -qn %{module}-%{version}
 
 %build
-%{__python} setup.py build --build-base py2
-%{__python3} setup.py build --build-base py3
+%py_build --build-base py2
+%py3_build --build-base py3
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py build \
+%py_build \
 	--build-base py2 \
 	install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
-%{__python3} setup.py build \
+%py3_build \
 	--build-base py3 \
 	install \
 	--root=$RPM_BUILD_ROOT \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-nose.git/commitdiff/b0e4cf7dd67b5fb51bda9443f48b2562caf898d1



More information about the pld-cvs-commit mailing list