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

jajcus jajcus at pld-linux.org
Sat Nov 28 18:13:59 CET 2015


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

    automatic change: use py_build/py_install macros

 python-XPyLIB.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-XPyLIB.spec b/python-XPyLIB.spec
index 543dff0..4f6941c 100644
--- a/python-XPyLIB.spec
+++ b/python-XPyLIB.spec
@@ -27,12 +27,11 @@ Biblioteka Pythona, wtyczki konstruktora Boa.
 %setup -q -n %{module}-%{version}
 
 %build
-%{__python} setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
-	--optimize=2 \
+%py_install \
 	--root $RPM_BUILD_ROOT
 
 %py_postclean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-XPyLIB.git/commitdiff/c92f5bbeb4432fe0c1f9c8d8f6c887dbd3186e7f



More information about the pld-cvs-commit mailing list