[packages/bicyclerepair] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:22:53 CET 2015


commit 9b99b3306a31b75d9842a484a7f1d5dcb2655041
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 bicyclerepair.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/bicyclerepair.spec b/bicyclerepair.spec
index b92066c..08b8a6a 100644
--- a/bicyclerepair.spec
+++ b/bicyclerepair.spec
@@ -42,16 +42,14 @@ Dziękujemy Ci, Mechaniku Rowerowy!
 %setup -q
 
 %build
-python setup.py build
+%py_build
 
 %{?with_tests:python -O testall.py -v}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \;
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bicyclerepair.git/commitdiff/9b99b3306a31b75d9842a484a7f1d5dcb2655041



More information about the pld-cvs-commit mailing list