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

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


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

    automatic change: use py_build/py_install macros

 python-xmltools.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-xmltools.spec b/python-xmltools.spec
index 0682697..4574730 100644
--- a/python-xmltools.spec
+++ b/python-xmltools.spec
@@ -28,12 +28,11 @@ zasobów XML.
 %setup -q -n %{short_name}-%{version}
 
 %build
-CFLAGS="%{rpmcflags}" python setup.py build
+CFLAGS="%{rpmcflags}" %py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-python setup.py install \
-	--root=$RPM_BUILD_ROOT \
+%py_install \
 	--record=INSTALLED_FILES
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-xmltools.git/commitdiff/60e96bc44bcd3a2833aeb401693ebbb29b3f2bf5



More information about the pld-cvs-commit mailing list