]> git.pld-linux.org Git - packages/circus.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
circus.spec

index ad5b89d9ccf54ac5e265ea78ee2ebfe07de2bee4..98f7d9423305c510b817b350d4d72b2074771b72 100644 (file)
@@ -43,16 +43,13 @@ Circus can be used as a library or through the command line.
 %patch0 -p1
 
 %build
 %patch0 -p1
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?with_tests:%{__python} setup.py test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %{?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
 
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/%{name}/tests
 
This page took 0.054324 seconds and 4 git commands to generate.