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

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


commit b692bded235842c2b514d7a4cd79c8a5d1ea46d3
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-WsgiService.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-WsgiService.spec b/python-WsgiService.spec
index 8b1c10f..a66902b 100644
--- a/python-WsgiService.spec
+++ b/python-WsgiService.spec
@@ -57,15 +57,12 @@ zapisania. WsgiService dostarcza programiście:
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-WsgiService.git/commitdiff/b692bded235842c2b514d7a4cd79c8a5d1ea46d3



More information about the pld-cvs-commit mailing list