|
|
|
@ -1,8 +1,4 @@
|
|
|
|
|
# Not working with mock anymore as python is not installed at the time
|
|
|
|
|
# we build a new .src.rpm:
|
|
|
|
|
#%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
|
# Hardcode for now, probably belongs into a collection of standard defines:
|
|
|
|
|
%{!?python_sitelib: %define python_sitelib /usr/lib/python2.4/site-packages}
|
|
|
|
|
%{!?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
|
|
|
|
@ -16,6 +12,7 @@ Group: Development/Libraries
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: python
|
|
|
|
|
Url: http://linux.duke.edu/projects/urlgrabber/
|
|
|
|
|
Provides: urlgrabber = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|