[packages/anitya] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:22:22 CET 2015


commit 95e59f6d9179a225f5ab6669f1b5ce9c737f3a13
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 anitya.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/anitya.spec b/anitya.spec
index b5f7f26..8b08e37 100644
--- a/anitya.spec
+++ b/anitya.spec
@@ -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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/anitya.git/commitdiff/95e59f6d9179a225f5ab6669f1b5ce9c737f3a13



More information about the pld-cvs-commit mailing list