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

    automatic change: use py_build/py_install macros

 python-gflags.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-gflags.spec b/python-gflags.spec
index bec0d80..3af4358 100644
--- a/python-gflags.spec
+++ b/python-gflags.spec
@@ -53,14 +53,11 @@ ostatnie to główna różnica względem OptParse).
 %{__sed} -i '1s,/usr/bin/env python,%{_bindir}/python,' gflags2man.py
 
 %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-gflags.git/commitdiff/574feebee90ab056fc90323517159b45ce3179c7

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

Reply via email to