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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:29:08 CET 2015


commit 81f3899d7a85216f2a643c2f51a9c897eea64be9
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-libextractor.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-libextractor.spec b/python-libextractor.spec
index 13b1c44..a197632 100644
--- a/python-libextractor.spec
+++ b/python-libextractor.spec
@@ -27,15 +27,12 @@ Wiązania Pythona do biblioteki GNU libextractor.
 %setup -q -n Extractor-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--skip-build \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-libextractor.git/commitdiff/81f3899d7a85216f2a643c2f51a9c897eea64be9



More information about the pld-cvs-commit mailing list