[packages/python-uTidyLib] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:47:14 CET 2015
commit 70e61b9a0da0a9b760332db95ae5fed0ce0f75f8
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-uTidyLib.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-uTidyLib.spec b/python-uTidyLib.spec
index bc058aa..685f4a0 100644
--- a/python-uTidyLib.spec
+++ b/python-uTidyLib.spec
@@ -28,14 +28,12 @@ sprawdzać poprawność i czyścić HTML z poziomu Pythona.
%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
rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/tidy/{test_tidy.*,*.py}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-uTidyLib.git/commitdiff/70e61b9a0da0a9b760332db95ae5fed0ce0f75f8
More information about the pld-cvs-commit
mailing list