]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
deb/rpm: add python-six as build-time and run-time dependency
authorKefu Chai <kchai@redhat.com>
Thu, 5 Jul 2018 10:36:10 +0000 (18:36 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Jul 2018 10:00:02 +0000 (18:00 +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>
(cherry picked from commit e53bb2c5a32e9b458a55fe01b28f23bdf952b6f7)

ceph.spec.in
debian/control

index a3dc0963487c3fc1aabf57e794fa042e236f80fa..99e8589226951be203795ed72df35236b0d0efb4 100644 (file)
@@ -227,6 +227,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
@@ -243,6 +244,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
@@ -369,9 +371,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}
@@ -388,6 +391,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 d9906ef10fc2c6932b6d36327bc3c85438b476a7..0092c81d275ccb63659d928a9500416b062785e0 100644 (file)
@@ -56,6 +56,7 @@ Build-Depends: bc,
                python-nose,
                python-pecan,
                python-bcrypt,
+               python-six,
                python-tox,
                python-coverage,
                python-prettytable,