diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-04-26 13:34:05 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-04-26 13:34:05 -0400 |
commit | 0b4a751fa5e60e32f81b347810cfa1d6c912e114 (patch) | |
tree | 30742b9fa014b8cf30143405d281c59672a5a48f /misc/bcfg2.spec | |
parent | 9a107b0bc9d8e0fae8cbd7d8dab8a8c5033bdc70 (diff) | |
download | bcfg2-0b4a751fa5e60e32f81b347810cfa1d6c912e114.tar.gz bcfg2-0b4a751fa5e60e32f81b347810cfa1d6c912e114.tar.bz2 bcfg2-0b4a751fa5e60e32f81b347810cfa1d6c912e114.zip |
better way to divine the path to python packages
Diffstat (limited to 'misc/bcfg2.spec')
-rw-r--r-- | misc/bcfg2.spec | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec index 86c277a25..191bfaf65 100644 --- a/misc/bcfg2.spec +++ b/misc/bcfg2.spec @@ -46,7 +46,7 @@ BuildRequires: libsane1 BuildRequires: python-sphinx10 # the python-sphinx10 package doesn't set sys.path correctly, so we # have to do it for them -%define pythonpath %(find /usr/lib/python%{py_ver}/site-packages -name Sphinx*.egg) +%define pythonpath %(find %{python_sitelib} -name Sphinx*.egg) %else BuildRequires: python-sphinx >= 0.6 %endif |