summaryrefslogtreecommitdiffstats
path: root/misc/bcfg2.spec
diff options
context:
space:
mode:
Diffstat (limited to 'misc/bcfg2.spec')
-rw-r--r--misc/bcfg2.spec2
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