- work around python not being present

epel9
Florian La Roche 18 years ago
parent 4f2e9c9cab
commit eac4a7fc44

@ -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

Loading…
Cancel
Save