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

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


commit 0ebe132610b556b2821e98ec29d396d006ff7a51
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-py-xmlrpc.spec | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/python-py-xmlrpc.spec b/python-py-xmlrpc.spec
index 1a593f1..b9de92d 100644
--- a/python-py-xmlrpc.spec
+++ b/python-py-xmlrpc.spec
@@ -32,9 +32,7 @@ zgodna z walidatorem www.xmlrpc.com .
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-py-xmlrpc.git/commitdiff/0ebe132610b556b2821e98ec29d396d006ff7a51



More information about the pld-cvs-commit mailing list