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

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


commit 061786c2f88c1ad04756e94f76712dc7821cb28f
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-WebTest.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-WebTest.spec b/python-WebTest.spec
index f09a688..4181a79 100644
--- a/python-WebTest.spec
+++ b/python-WebTest.spec
@@ -26,13 +26,11 @@ nominally supports WSGI should be testable).
 %setup -q -n %{module}-%{version}
 
 %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-WebTest.git/commitdiff/061786c2f88c1ad04756e94f76712dc7821cb28f



More information about the pld-cvs-commit mailing list