commit 353a9b3d4b7983d5fbaa6c94b28cf2fbff17f1d2
Author: Jacek Konieczny <[email protected]>
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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to