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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:42:04 CET 2015


commit 61fa2ec17d4959921faf61164abd8dcf70c97e70
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-rel.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-rel.spec b/python-rel.spec
index f2f50a4..ee39ff0 100644
--- a/python-rel.spec
+++ b/python-rel.spec
@@ -35,9 +35,7 @@ python setup.py build_ext
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-rel.git/commitdiff/61fa2ec17d4959921faf61164abd8dcf70c97e70



More information about the pld-cvs-commit mailing list