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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:44:16 CET 2015


commit 42f3cb22e7098fbf497e3550f1c391929581c528
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 18:06:43 2015 +0100

    automatic change: use py_build/py_install macros

 python-sk1libs.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-sk1libs.spec b/python-sk1libs.spec
index e26bd99..dcf4e4e 100644
--- a/python-sk1libs.spec
+++ b/python-sk1libs.spec
@@ -32,15 +32,12 @@ Zbiór pythonowych rozszerzeń bez GUI dla projektu sK1.
 %setup -q -n sk1libs-%{version}
 
 %build
-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
 
 # filters/{export,import,parsing,preview}/*.py must stay (they contain plugins info as comments)
 find $RPM_BUILD_ROOT%{py_sitedir} -name '*.py' | grep -Ev 'filters/(export|import|parsing|preview)/.*\.py$' | xargs rm -f
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sk1libs.git/commitdiff/42f3cb22e7098fbf497e3550f1c391929581c528



More information about the pld-cvs-commit mailing list