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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:10:09 CET 2015


commit a7cf7173c805bfbcb1f6294d8bf86df00e6be944
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-POW.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-POW.spec b/python-POW.spec
index 6e93787..e0fe05d 100644
--- a/python-POW.spec
+++ b/python-POW.spec
@@ -29,9 +29,7 @@ Interfejs Pythona do biblioteki OpenSSL.
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitedir}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-POW.git/commitdiff/a7cf7173c805bfbcb1f6294d8bf86df00e6be944



More information about the pld-cvs-commit mailing list