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

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


commit 29869964317f34f7f04a2a595c63392495a46d4c
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-PyRSS2Gen.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-PyRSS2Gen.spec b/python-PyRSS2Gen.spec
index d1d6687..4651f18 100644
--- a/python-PyRSS2Gen.spec
+++ b/python-PyRSS2Gen.spec
@@ -25,13 +25,11 @@ Biblioteka pythonowa służąca do generowania kanałów RSS 2.0.
 %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
 
 rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}.py
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyRSS2Gen.git/commitdiff/29869964317f34f7f04a2a595c63392495a46d4c



More information about the pld-cvs-commit mailing list