From 474d97d4b1c4cc08b85e00812044247e4e815bdd Mon Sep 17 00:00:00 2001 From: Jacek Konieczny Date: Sat, 28 Nov 2015 19:20:07 +0100 Subject: [PATCH] automatic change: use py_build/py_install macros --- circus.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/circus.spec b/circus.spec index ad5b89d..98f7d94 100644 --- a/circus.spec +++ b/circus.spec @@ -43,16 +43,13 @@ Circus can be used as a library or through the command line. %patch0 -p1 %build -%{__python} setup.py build +%py_build %{?with_tests:%{__python} setup.py test} %install rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install \ - --skip-build \ - --optimize=2 \ - --root=$RPM_BUILD_ROOT +%py_install %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/tests -- 2.43.0