commit b01d2f8c4e2c210a05ed7ec1dd5f1165ff3aec24
Author: Jacek Konieczny <[email protected]>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-google-apputils.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-google-apputils.spec b/python-google-apputils.spec
index a804f79..3bb27a4 100644
--- a/python-google-apputils.spec
+++ b/python-google-apputils.spec
@@ -45,15 +45,12 @@ Google.
 %{__sed} -i -e '/ez_setup/d' setup.py
 
 %build
-%{__python} setup.py build %{?with_tests:test}
+%py_build %{?with_tests:test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-       --skip-build \
-       --root=$RPM_BUILD_ROOT \
-       --optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-google-apputils.git/commitdiff/b01d2f8c4e2c210a05ed7ec1dd5f1165ff3aec24

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to