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

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


commit 81ef428583daefa1a1140168a38d17cd6e9a4dc5
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-PyLTXML.spec | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-PyLTXML.spec b/python-PyLTXML.spec
index 807b3c3..6113349 100644
--- a/python-PyLTXML.spec
+++ b/python-PyLTXML.spec
@@ -29,14 +29,13 @@ poprawność XML-a do Pythona.
 
 %build
 CFLAGS="%{rpmcflags} -I/usr/include/ltxml12"; export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-	--root=$RPM_BUILD_ROOT
+%py_install
 
 cp -a example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-PyLTXML.git/commitdiff/81ef428583daefa1a1140168a38d17cd6e9a4dc5



More information about the pld-cvs-commit mailing list