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

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


commit f7d23ba8980299edade414ecb8281484caf64753
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-webunit.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-webunit.spec b/python-webunit.spec
index 500e020..29e8d14 100644
--- a/python-webunit.spec
+++ b/python-webunit.spec
@@ -66,8 +66,7 @@ python setup.py build_ext
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--install-lib=%{py_sitescriptdir} \
 	--optimize=2
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-webunit.git/commitdiff/f7d23ba8980299edade414ecb8281484caf64753



More information about the pld-cvs-commit mailing list