[packages/python-soaplib] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:44:57 CET 2015
commit a2cbffd1f866da191ca39248a43df69f0f9112ce
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-soaplib.spec | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-soaplib.spec b/python-soaplib.spec
index c117b69..7c446cf 100644
--- a/python-soaplib.spec
+++ b/python-soaplib.spec
@@ -34,14 +34,11 @@ support.
%setup -q -n %{module}-%{version}-%{_rc}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-soaplib.git/commitdiff/a2cbffd1f866da191ca39248a43df69f0f9112ce
More information about the pld-cvs-commit
mailing list