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

index ff48d09915cd903ba947f6d32e8491f723a1f929..03e041c4c818822372b2b1afac4493843a31295e 100644 (file)
@@ -38,7 +38,7 @@ fashion.
 mv stomper-%{commit}*/* .
 
 %build
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 PYTHONPATH=. nosetests-%{py_ver} -q
@@ -46,11 +46,7 @@ PYTHONPATH=. nosetests-%{py_ver} -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py \
-       build install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/stomper/tests
 
This page took 0.192347 seconds and 4 git commands to generate.