]> git.pld-linux.org Git - packages/python-html5lib.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:42 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:42 +0000 (18:06 +0100)
python-html5lib.spec

index 1139e1c4ac467a9969888bc91785a3ce8f4be25d..4b36a64ddb9e97fa355d6666fdaf9cc04cc1bf1d 100644 (file)
@@ -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
 
This page took 0.155495 seconds and 4 git commands to generate.