From dce019175f024b95f5e92522e95287351a6bd974 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 14 Sep 2005 23:34:36 +0000 Subject: [PATCH] - add directory to file list (#168261) --- python-urlgrabber.spec | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec index e157679..23b0609 100644 --- a/python-urlgrabber.spec +++ b/python-urlgrabber.spec @@ -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 - 2.9.6-3 +- add directory to file list (#168261) + * Fri Jun 03 2005 Phil Knirsch 2.9.6-2 - Fixed the reget method to actually work correctly (skip completely transfered files, etc)