[packages/python-Pylons] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 18:11:29 CET 2015


commit 56a2f6722b96e2065e276be2b3255c2efb1c42dd
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:42 2015 +0100

    automatic change: use py_build/py_install macros

 python-Pylons.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-Pylons.spec b/python-Pylons.spec
index 1957cf9..a54821b 100644
--- a/python-Pylons.spec
+++ b/python-Pylons.spec
@@ -39,14 +39,12 @@ interaktywnych stron WWW.
 %setup -qn %{fname}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-Pylons.git/commitdiff/56a2f6722b96e2065e276be2b3255c2efb1c42dd



More information about the pld-cvs-commit mailing list