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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:35:13 CET 2015


commit 282f94cbf20130214f0065b7ec4cbd39f7d971a4
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-psyco.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-psyco.spec b/python-psyco.spec
index 5ee0d9a..7ad4f5d 100644
--- a/python-psyco.spec
+++ b/python-psyco.spec
@@ -39,13 +39,12 @@ programy w Pythonie bez żadnych modyfikacji działają szybciej.
 %build
 CC="%{__cc}"; export CC
 CFLAGS="%{rpmcflags}"; export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-psyco.git/commitdiff/282f94cbf20130214f0065b7ec4cbd39f7d971a4



More information about the pld-cvs-commit mailing list