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

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


commit dab279b747c5c3453e2b358a1507b73903e005a5
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-sk1sdk.spec | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/python-sk1sdk.spec b/python-sk1sdk.spec
index b639c9e..e46342c 100644
--- a/python-sk1sdk.spec
+++ b/python-sk1sdk.spec
@@ -32,14 +32,11 @@ Zbiór pythonowych rozszerzeń GUI dla projektu sK1.
 %setup -q -n sk1sdk-%{version}%{subver}
 
 %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
 
 %py_postclean
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-sk1sdk.git/commitdiff/dab279b747c5c3453e2b358a1507b73903e005a5



More information about the pld-cvs-commit mailing list