From 7c31e9544d325bfc869cba1d15cbc57f1d6a9aff Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 19 Jul 2012 17:18:57 -0400 Subject: added CherryPy-based server core --- misc/bcfg2.spec | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'misc/bcfg2.spec') 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. -- cgit v1.2.3-1-g7c22