]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
deb/rpm: add python-six as build-time and run-time dependency 22871/head
authorKefu Chai <kchai@redhat.com>
Thu, 5 Jul 2018 10:36:10 +0000 (18:36 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 5 Jul 2018 10:42:57 +0000 (18:42 +0800)
python-six is used by dashboard's controllers. please note,
${python:Depends} is able to fill the installation dependencies for
debian package. so python-six is not added to Requires of ceph-mgr.

Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph.spec.in
debian/control

index 1891248c5c99de0628e49bcdb995c8aaa21e42c2..140652a8d5caf19be82a636416c725fcd53e7202 100644 (file)
@@ -228,6 +228,7 @@ BuildRequires:      python%{_python_buildid}-pecan
 BuildRequires: python%{_python_buildid}-werkzeug
 BuildRequires: python%{_python_buildid}-tox
 BuildRequires: python%{_python_buildid}-coverage
+BuildRequires: python%{_python_buildid}-six
 %if 0%{?fedora}
 BuildRequires: python%{_python_buildid}-bcrypt
 %endif
@@ -244,6 +245,7 @@ BuildRequires:      python%{_python_buildid}-numpy-devel
 BuildRequires: python%{_python_buildid}-bcrypt
 BuildRequires: python%{_python_buildid}-tox
 BuildRequires: python%{_python_buildid}-coverage
+BuildRequires: python%{_python_buildid}-six
 %endif
 %endif
 # lttng and babeltrace for rbd-replay-prep
@@ -370,9 +372,10 @@ Group:          System/Filesystems
 Requires:       ceph-base = %{_epoch_prefix}%{version}-%{release}
 %if 0%{?fedora} || 0%{?rhel}
 Requires:       python%{_python_buildid}-cherrypy
-Requires:       python%{_python_buildid}-routes
 Requires:       python%{_python_buildid}-jinja2
 Requires:       python%{_python_buildid}-pecan
+Requires:       python%{_python_buildid}-routes
+Requires:       python%{_python_buildid}-six
 Requires:       python%{_python_buildid}-werkzeug
 Requires:       pyOpenSSL%{_python_buildid}
 %if 0%{?fedora}
@@ -389,6 +392,7 @@ Requires:       python%{_python_buildid}-Jinja2
 Requires:       python%{_python_buildid}-Werkzeug
 Requires:       python%{_python_buildid}-pecan
 Requires:       python%{_python_buildid}-pyOpenSSL
+Requires:       python%{_python_buildid}-six
 Requires:       python%{_python_buildid}-bcrypt
 Recommends:     python%{_python_buildid}-influxdb
 %endif
index e394b6fed0fd3454f46fc816d484fa72d7f84659..b5999b9f8b06157361b96a74e8bce9d5a2813cb3 100644 (file)
@@ -57,6 +57,7 @@ Build-Depends: bc,
                python-nose,
                python-pecan,
                python-bcrypt,
+               python-six,
                python-tox,
                python-coverage,
                python-prettytable,