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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:12:23 CET 2015


commit c3a98985f86b6ed98fd2cfa5d112f377a9b18f48
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-SVNPlot.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-SVNPlot.spec b/python-SVNPlot.spec
index bfd5c9d..7ca28a1 100644
--- a/python-SVNPlot.spec
+++ b/python-SVNPlot.spec
@@ -28,14 +28,12 @@ repository data.
 %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
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-SVNPlot.git/commitdiff/c3a98985f86b6ed98fd2cfa5d112f377a9b18f48



More information about the pld-cvs-commit mailing list