[packages/python-coverage-test-runner] automatic change: use py_build/py_install macros

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


commit d0c0a11e105b70bf4d80b2dc7c7b198a8d31c9bc
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-coverage-test-runner.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-coverage-test-runner.spec b/python-coverage-test-runner.spec
index 68ded40..3c40c44 100644
--- a/python-coverage-test-runner.spec
+++ b/python-coverage-test-runner.spec
@@ -34,7 +34,7 @@ that module.
 %setup -q -n CoverageTestRunner-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 %{__make} check
@@ -42,10 +42,7 @@ that module.
 
 %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-coverage-test-runner.git/commitdiff/d0c0a11e105b70bf4d80b2dc7c7b198a8d31c9bc



More information about the pld-cvs-commit mailing list