From 0b4a751fa5e60e32f81b347810cfa1d6c912e114 Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 26 Apr 2012 13:34:05 -0400 Subject: better way to divine the path to python packages --- misc/bcfg2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/bcfg2.spec') 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 -- cgit v1.2.3-1-g7c22