summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/bcfg2.spec15
1 files changed, 11 insertions, 4 deletions
diff --git a/misc/bcfg2.spec b/misc/bcfg2.spec
index 832f6b569..a86765398 100644
--- a/misc/bcfg2.spec
+++ b/misc/bcfg2.spec
@@ -30,13 +30,14 @@ BuildArch: noarch
BuildRequires: python-devel
BuildRequires: python-lxml
%if 0%{?mandriva_version}
-# mandriva seems to behave differently than other distros and needs this explicitly.
+# mandriva seems to behave differently than other distros and needs
+# this explicitly.
BuildRequires: python-setuptools
%endif
%if 0%{?mandriva_version} == 201100
-# mandriva 2011 has multiple providers for libsane, so (at least when building on OBS)
-# one must be chosen explicitly:
-# "have choice for libsane.so.1 needed by python-imaging: libsane1 sane-backends-iscan"
+# mandriva 2011 has multiple providers for libsane, so (at least when
+# building on OBS) one must be chosen explicitly: "have choice for
+# libsane.so.1 needed by python-imaging: libsane1 sane-backends-iscan"
BuildRequires: libsane1
%endif
@@ -51,6 +52,12 @@ BuildRequires: python-sphinx10
BuildRequires: python-sphinx >= 0.6
%endif
+%if 0%{?fedora} >= 16
+# we require a sufficiently new cherrypy that it's really only
+# available in Fedora for now
+Requires: python-cherrypy >= 3.2.2
+%endif
+
Requires: python-lxml >= 0.9
%if 0%{?rhel_version}
# the debian init script needs redhat-lsb.