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-05-04 11:11:33 -0400 |
commit | 771df2ac489131411a987f3e7e686cfc34c39bc1 (patch) | |
tree | aafca5bbecc53cadb1fae3226f4a7a143cb1d16c | |
parent | 16fbc634f19a03f33dcb9b07b962a5e4c62445e4 (diff) | |
download | bcfg2-771df2ac489131411a987f3e7e686cfc34c39bc1.tar.gz bcfg2-771df2ac489131411a987f3e7e686cfc34c39bc1.tar.bz2 bcfg2-771df2ac489131411a987f3e7e686cfc34c39bc1.zip |
better way to divine the path to python packages
-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 c727de948..8fbc0c7e6 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 |