From 8aa336bc0a69644339c32888d61c7d972fd09222 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Mon, 13 Nov 2006 14:21:21 +0000 Subject: [PATCH] - BuildReq: python was missing --- python-urlgrabber.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec index 8ede75b..37e4263 100644 --- a/python-urlgrabber.spec +++ b/python-urlgrabber.spec @@ -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}