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

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


commit 4cd86eb408e39c609b40efee964899681d5ae615
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-shout.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-shout.spec b/python-shout.spec
index 97d81da..792b3f1 100644
--- a/python-shout.spec
+++ b/python-shout.spec
@@ -29,15 +29,12 @@ na działanie jako źródło dla icecasta 1 i 2 oraz shoutcasta.
 %setup -q -n shout-python-%{version}
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 install example.py $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-shout.git/commitdiff/4cd86eb408e39c609b40efee964899681d5ae615



More information about the pld-cvs-commit mailing list