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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:44:08 CET 2015


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

    automatic change: use py_build/py_install macros

 python-simpletal.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-simpletal.spec b/python-simpletal.spec
index d31560a..fb82075 100644
--- a/python-simpletal.spec
+++ b/python-simpletal.spec
@@ -44,15 +44,13 @@ Pliki przykładów dla SimpleTAL.
 %setup -q -n %{fname}-%{version}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
-	--optimize=2
+%py_install
 
 find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module}/ -name \*.py | xargs rm -f
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-simpletal.git/commitdiff/e88c71be2c834dbac3c6c7c94bd5d0d936481c37



More information about the pld-cvs-commit mailing list