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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:17:45 CET 2015


commit 0a49adeb55d4e0cb8b960e931d84fc5779293766
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-chameleon.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-chameleon.spec b/python-chameleon.spec
index dce6000..0522da8 100644
--- a/python-chameleon.spec
+++ b/python-chameleon.spec
@@ -27,16 +27,13 @@ templates language.
 %setup -q -n Chameleon-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %{?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}/%{module}/tests
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-chameleon.git/commitdiff/0a49adeb55d4e0cb8b960e931d84fc5779293766



More information about the pld-cvs-commit mailing list