commit 29869964317f34f7f04a2a595c63392495a46d4c
Author: Jacek Konieczny <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to