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

    automatic change: use py_build/py_install macros

 python-git.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-git.spec b/python-git.spec
index b9f5369..e52b8e4 100644
--- a/python-git.spec
+++ b/python-git.spec
@@ -32,13 +32,11 @@ Preston-Werner and Chris Wanstrath.
 %setup -q -n GitPython-%{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_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-git.git/commitdiff/34c0214ad8e0d3682359206429c85087bb89623e

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

Reply via email to