]> git.pld-linux.org Git - packages/anitya.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)
anitya.spec

index b5f7f2603d471eaa7f432d3141d7293a917a5526..8b08e377d6e7dc4b6bcbe4907744855aed58ae31 100644 (file)
@@ -53,7 +53,7 @@ FEDerated MeSsaGe (fedmsg) bus.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 ./runtests.sh
@@ -61,10 +61,7 @@ FEDerated MeSsaGe (fedmsg) bus.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 %py_postclean
 
This page took 0.065181 seconds and 4 git commands to generate.