]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
ceph.spec.in: fix mgr-cephadm CherryPy requirement for SUSE builds
authorTim Serong <tserong@suse.com>
Fri, 10 Dec 2021 07:43:25 +0000 (18:43 +1100)
committerTim Serong <tserong@suse.com>
Mon, 13 Dec 2021 04:50:45 +0000 (15:50 +1100)
Commit 78983ad0d0c added cherrypy to ceph-mgr-cephadm's Requires,
but this needs to be split out into distro-specific sections due
to subtle/irritating naming differences.

Fixes: 78983ad0d0cce422da32dc4876ac186f6d32c3f5
Signed-off-by: Tim Serong <tserong@suse.com>
ceph.spec.in

index 3579d7e628eaf8f78bbcacc160fde0c9e30cff1f..c02aa54fca42eeee49e3f358006484da2a0a92a6 100644 (file)
@@ -662,14 +662,15 @@ Group:          System/Filesystems
 %endif
 Requires:       ceph-mgr = %{_epoch_prefix}%{version}-%{release}
 Requires:       python%{python3_pkgversion}-asyncssh
-Requires:       python%{python3_pkgversion}-cherrypy
 Requires:       cephadm = %{_epoch_prefix}%{version}-%{release}
 %if 0%{?suse_version}
 Requires:       openssh
+Requires:       python%{python3_pkgversion}-CherryPy
 Requires:       python%{python3_pkgversion}-Jinja2
 %endif
 %if 0%{?rhel} || 0%{?fedora}
 Requires:       openssh-clients
+Requires:       python%{python3_pkgversion}-cherrypy
 Requires:       python%{python3_pkgversion}-jinja2
 %endif
 %description mgr-cephadm