From eac4a7fc44f98ac8f79862c74ad19f5f479d1350 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Mon, 13 Nov 2006 14:13:32 +0000 Subject: [PATCH] - work around python not being present --- python-urlgrabber.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-urlgrabber.spec b/python-urlgrabber.spec index 00c4938..8ede75b 100644 --- a/python-urlgrabber.spec +++ b/python-urlgrabber.spec @@ -1,4 +1,8 @@ -%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +# 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} Summary: A high-level cross-protocol url-grabber Name: python-urlgrabber