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