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

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


commit 2097722b54f79523e65130b6dd565c0a6842e487
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-PyXB.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-PyXB.spec b/python-PyXB.spec
index 16d101b..d4d2f52 100644
--- a/python-PyXB.spec
+++ b/python-PyXB.spec
@@ -62,13 +62,11 @@ Trochę przykładów dla pakietu PyXB.
 %patch0 -p1
 
 %build
-%{__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_sitescriptdir}
 %py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyXB.git/commitdiff/2097722b54f79523e65130b6dd565c0a6842e487



More information about the pld-cvs-commit mailing list