From 29869964317f34f7f04a2a595c63392495a46d4c Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 18:06:42 +0100 Subject: [PATCH] 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 -- 2.44.0