[packages/python-jaxml] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:27:26 CET 2015
commit 2c0021fe578fd5b8af34e3f98537b4116a66f33f
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-jaxml.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-jaxml.spec b/python-jaxml.spec
index 76a1855..cf3c59b 100644
--- a/python-jaxml.spec
+++ b/python-jaxml.spec
@@ -30,13 +30,11 @@ generowanie dokumentów XML, XHTML or HTML.
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --root=$RPM_BUILD_ROOT \
- --optimize=2
+%py_install
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-jaxml.git/commitdiff/2c0021fe578fd5b8af34e3f98537b4116a66f33f
More information about the pld-cvs-commit
mailing list