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

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


commit a68e1bccc56e30a308b73cd51beef96ecef37de5
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-whisper.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-whisper.spec b/python-whisper.spec
index 46c76af..c95fd99 100644
--- a/python-whisper.spec
+++ b/python-whisper.spec
@@ -23,14 +23,11 @@ design to RRD)
 %setup -q -n whisper-%{version}
 
 %build
-%{__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
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-whisper.git/commitdiff/a68e1bccc56e30a308b73cd51beef96ecef37de5



More information about the pld-cvs-commit mailing list