[packages/PySolFC] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:21:16 CET 2015


commit 353a9b3d4b7983d5fbaa6c94b28cf2fbff17f1d2
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 PySolFC.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/PySolFC.spec b/PySolFC.spec
index 6470598..d7a9048 100644
--- a/PySolFC.spec
+++ b/PySolFC.spec
@@ -36,14 +36,12 @@ plug-ins, an integrated HTML help browser, and lots of documentation.
 %patch0 -p0
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/PySolFC.git/commitdiff/353a9b3d4b7983d5fbaa6c94b28cf2fbff17f1d2



More information about the pld-cvs-commit mailing list