[packages/python-suds] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:46:04 CET 2015
commit 898eeb53b5f7fb237a256bd2c358b83491762b25
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-suds.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-suds.spec b/python-suds.spec
index ab5428f..4044b84 100644
--- a/python-suds.spec
+++ b/python-suds.spec
@@ -29,13 +29,11 @@ Suds to lekka implementacja klienta SOAP dla języka Python.
%setup -q
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-suds.git/commitdiff/898eeb53b5f7fb237a256bd2c358b83491762b25
More information about the pld-cvs-commit
mailing list