[packages/python-pullparser] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:35:21 CET 2015
commit e5040e584e1b0a7e65e77338ed18aa2bdaa1a23c
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-pullparser.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-pullparser.spec b/python-pullparser.spec
index 06630ce..56aa782 100644
--- a/python-pullparser.spec
+++ b/python-pullparser.spec
@@ -32,14 +32,12 @@ podklasą HTMLParser.HTMLParser.
%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 $RPM_BUILD_ROOT%{py_sitescriptdir}/*.py
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pullparser.git/commitdiff/e5040e584e1b0a7e65e77338ed18aa2bdaa1a23c
More information about the pld-cvs-commit
mailing list