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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:24:58 CET 2015


commit 34c0214ad8e0d3682359206429c85087bb89623e
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-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



More information about the pld-cvs-commit mailing list