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

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


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

    automatic change: use py_build/py_install macros

 SPE.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/SPE.spec b/SPE.spec
index e9da551..d2c1280 100644
--- a/SPE.spec
+++ b/SPE.spec
@@ -50,15 +50,13 @@ rozszerzalne przy pomocy boa.
 %setup -q -n %{name}-%{version}-wx%{_wx}
 
 %build
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
 
-python setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/SPE.git/commitdiff/7d43468b19173a5a6f57eb0fe1490b10ac969904



More information about the pld-cvs-commit mailing list