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

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


commit 37ba656d6f0b41f3bc0c3501b03e5d4c4707745c
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-pyprocps.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pyprocps.spec b/python-pyprocps.spec
index 2eb78f0..b85b0a3 100644
--- a/python-pyprocps.spec
+++ b/python-pyprocps.spec
@@ -29,14 +29,12 @@ linuksowych.
 %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
 
 %clean
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pyprocps.git/commitdiff/37ba656d6f0b41f3bc0c3501b03e5d4c4707745c



More information about the pld-cvs-commit mailing list