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

jajcus jajcus at pld-linux.org
Sat Nov 28 19:24:38 CET 2015


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

    automatic change: use py_build/py_install macros

 cmdtest.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/cmdtest.spec b/cmdtest.spec
index 353489c..caea605 100644
--- a/cmdtest.spec
+++ b/cmdtest.spec
@@ -35,14 +35,11 @@ rm -rf build
 %{__python} setup.py check
 %endif
 
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--skip-build \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} $RPM_BUILD_ROOT%{py_sitescriptdir}/yarnlib/*_tests.py*
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cmdtest.git/commitdiff/6ce48b4e2b6f0501414ee54796bf6de3242bc4d1



More information about the pld-cvs-commit mailing list