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

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


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

    automatic change: use py_build/py_install macros

 Webilder.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/Webilder.spec b/Webilder.spec
index 32bc511..1dd07da 100644
--- a/Webilder.spec
+++ b/Webilder.spec
@@ -23,14 +23,11 @@ wallpaper every few minutes.
 %setup -q
 
 %build
-export CFLAGS="%{rpmcflags}"
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/Webilder.git/commitdiff/22e4ea36de89c32b7dbf7d20bc695a538289289a



More information about the pld-cvs-commit mailing list