]> git.pld-linux.org Git - packages/python-urlgrabber.git/blobdiff - python-urlgrabber.spec
BR: rpmbuild(macros) >= 1.710
[packages/python-urlgrabber.git] / python-urlgrabber.spec
index 7ac51437b4beee7ab68d126dc02b7420355f9bc3..1132292509aef98bd8510871f0b6880521268471 100644 (file)
@@ -2,7 +2,7 @@ Summary:        A high-level cross-protocol url-grabber
 Summary(pl.UTF-8):     Wysokopoziomowa biblioteka do wychwytywania URL-i do wielu protokołów
 Name:          python-urlgrabber
 Version:       3.9.1
-Release:       5
+Release:       7
 Epoch:         1
 License:       LGPL v2.1+
 Group:         Libraries/Python
@@ -10,13 +10,13 @@ Source0:    http://urlgrabber.baseurl.org/download/urlgrabber-%{version}.tar.gz
 # Source0-md5: 00c8359bf71062d0946bacea521f80b4
 Patch1:                urlgrabber-HEAD.patch
 URL:           http://urlgrabber.baseurl.org/
+BuildRequires: rpmbuild(macros) >= 1.710
 BuildRequires: python >= 1:2.5
 BuildRequires: python-devel
 BuildRequires: python-pycurl >= 7.19
 BuildRequires: rpm-pythonprov
 %pyrequires_eq python-libs
 Requires:      python-pycurl >= 7.19
-Provides:      urlgrabber
 Conflicts:     c-ares < 1.6.0-2
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -37,12 +37,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
This page took 0.074988 seconds and 4 git commands to generate.