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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:34:31 CET 2015


commit 46b1b0dd19b17a7347eae9b4e99da070f3c863e4
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-pisa.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pisa.spec b/python-pisa.spec
index d641843..36f24fc 100644
--- a/python-pisa.spec
+++ b/python-pisa.spec
@@ -32,13 +32,11 @@ ReportLab.
 %setup -q -n %{module}-%{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
 
 install -d $RPM_BUILD_ROOT%{_bindir}
 install pisa.py $RPM_BUILD_ROOT%{_bindir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pisa.git/commitdiff/46b1b0dd19b17a7347eae9b4e99da070f3c863e4



More information about the pld-cvs-commit mailing list