[packages/python-SOAP] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:12:12 CET 2015
commit 71171addac98559c397e3da8ac6b76d09666c8ae
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-SOAP.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-SOAP.spec b/python-SOAP.spec
index 0508fd8..17d2643 100644
--- a/python-SOAP.spec
+++ b/python-SOAP.spec
@@ -33,15 +33,13 @@ SOAP, WSDL, UDDI itp.
%patch1 -p1
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{py_sitescriptdir}
-python setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" -exec rm {} \;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-SOAP.git/commitdiff/71171addac98559c397e3da8ac6b76d09666c8ae
More information about the pld-cvs-commit
mailing list