[packages/python-urlgrabber] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:47:33 CET 2015
commit 858229cdea35077cf20f6a28a1575caa78990106
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-urlgrabber.spec | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec
index c04467a..c199f64 100644
--- a/python-urlgrabber.spec
+++ b/python-urlgrabber.spec
@@ -36,12 +36,11 @@ uwierzytelnianie, proxy itp.
%patch1 -p1
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --root=$RPM_BUILD_ROOT
+%py_install
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/urlgrabber-%{version}
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-urlgrabber.git/commitdiff/858229cdea35077cf20f6a28a1575caa78990106
More information about the pld-cvs-commit
mailing list