[packages/python-html5lib] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:26:00 CET 2015
commit 90ae2c8fba92747839c23fa5eca1399c567bad4c
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-html5lib.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-html5lib.spec b/python-html5lib.spec
index 1139e1c..4b36a64 100644
--- a/python-html5lib.spec
+++ b/python-html5lib.spec
@@ -27,13 +27,11 @@ Analizator i tokenizer HTML-a oparty na specyfikacji WHATWG HTML5.
%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-html5lib.git/commitdiff/90ae2c8fba92747839c23fa5eca1399c567bad4c
More information about the pld-cvs-commit
mailing list