- add directory to file list (#168261)

epel9
Jeremy Katz 20 years ago
parent bddafa8b8e
commit dce019175f

@ -1,10 +1,10 @@
%define realname urlgrabber
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
Summary: A high-level cross-protocol url-grabber
Name: python-urlgrabber
Version: 2.9.6
Release: 2
Source0: %{realname}-%{version}.tar.gz
Release: 3
Source0: urlgrabber-%{version}.tar.gz
Patch0: python-urlgrabber-2.9.6-reget.patch
License: LGPL
Group: Development/Libraries
@ -20,22 +20,26 @@ and file locations. Features include keepalive, byte ranges, throttling,
authentication, proxies and more.
%prep
%setup -n %{realname}-%{version}
%setup -n urlgrabber-%{version}
%patch0 -p1 -b .reget
%build
python setup.py build
%install
python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
%clean
rm -rf $RPM_BUILD_ROOT
%files -f INSTALLED_FILES
%defattr(-,root,root)
%dir %{python_sitelib}/urlgrabber
%changelog
* Wed Sep 14 2005 Jeremy Katz <katzj@redhat.com> - 2.9.6-3
- add directory to file list (#168261)
* Fri Jun 03 2005 Phil Knirsch <pknirsch@redhat.com> 2.9.6-2
- Fixed the reget method to actually work correctly (skip completely transfered
files, etc)

Loading…
Cancel
Save