]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in, debian/control: build/runtime dependency for cherrypy
authorDan Mick <dan.mick@redhat.com>
Thu, 18 May 2017 01:35:15 +0000 (18:35 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 19 May 2017 05:09:08 +0000 (22:09 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
ceph.spec.in
debian/control

index 0b02efabe3577068dfa43bf21b58078d8af78df9..30831c11c30f1106cb10e8a49a99de0da6e655a1 100644 (file)
@@ -152,6 +152,7 @@ BuildRequires:      keyutils-devel
 BuildRequires:  libopenssl-devel
 BuildRequires:  lsb-release
 BuildRequires:  openldap2-devel
+BuildRequires: python-CherryPy
 BuildRequires: python-Cython
 BuildRequires: python-Sphinx
 %endif
@@ -165,6 +166,7 @@ BuildRequires:  openldap-devel
 BuildRequires:  openssl-devel
 BuildRequires:  redhat-lsb-core
 BuildRequires: Cython
+BuildRequires: python-cherrypy
 BuildRequires: python-sphinx
 %endif
 # python34-... for RHEL, python3-... for all other supported distros
@@ -309,6 +311,12 @@ License:        LGPL-2.1 and CC-BY-SA-1.0 and GPL-2.0 and BSL-1.0 and GPL-2.0-wi
 Group:          System/Filesystems
 %endif
 Requires:       ceph-base = %{epoch}:%{version}-%{release}
+%if 0%{?fedora} || 0%{?rhel}
+Requires:      python-cherrypy
+%endif
+%if 0%{?suse_version}
+Requires:      python-CherryPy
+%endif
 
 %description mgr
 ceph-mgr enables python modules that provide services (such as the REST
index 43b582b4e0dcb6a525ef6132f08f5cb3fe0255a0..ae6c6a73501d1c6812b5aacb95607c10289e1cbe 100644 (file)
@@ -51,6 +51,7 @@ Build-Depends: bc,
                pkg-config,
                python (>= 2.7),
                python-all-dev,
+               python-cherrypy3,
                python-nose,
               python-prettytable,
               python-setuptools,
@@ -162,6 +163,7 @@ Architecture: linux-any
 Depends: ceph-base (= ${binary:Version}),
          ${misc:Depends},
          ${python:Depends},
+        python-cherrypy3,
          ${shlibs:Depends}
 Replaces: ceph (<< 0.93-417)
 Breaks: ceph (<< 0.93-417)