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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:45:55 CET 2015


commit 0f6db1a726501ab56ca34250fea21375aae22bc3
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:44 2015 +0100

    automatic change: use py_build/py_install macros

 python-subvertpy.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-subvertpy.spec b/python-subvertpy.spec
index 6e76b08..c761797 100644
--- a/python-subvertpy.spec
+++ b/python-subvertpy.spec
@@ -30,14 +30,12 @@ aimed to be complete, fast and feel native to Python programmers.
 %setup -q -n %{module}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-subvertpy.git/commitdiff/0f6db1a726501ab56ca34250fea21375aae22bc3



More information about the pld-cvs-commit mailing list