]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm: move python-enum34 into rhel 7 conditional 37747/head
authorNathan Cutler <ncutler@suse.com>
Thu, 22 Oct 2020 05:50:37 +0000 (07:50 +0200)
committerNathan Cutler <ncutler@suse.com>
Thu, 22 Oct 2020 05:50:37 +0000 (07:50 +0200)
There is no "python-enum34" RPM in openSUSE 15.1 (as this release
uses Python 3 exclusively), so the dependency cannot be satisfied.

This nautilus-only change fixes a nautilus-only commit which broke
nautilus on openSUSE and SUSE Linux Enterprise.

Fixes: fdfae1c00c0059a03389bdcfafa6b0ee8d95ad55
Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in

index 27ddb76f24306c908cf862c4c4e2c7f15e5b718c..8211ae7b4d86bf7627a409540d6e2395d37f11d2 100644 (file)
@@ -478,12 +478,10 @@ Recommends:       python%{_python_buildid}-influxdb
 %endif
 %if 0%{?rhel} == 7
 Requires:       pyOpenSSL
+Requires:       python-enum34
 %else
 Requires:       python%{_python_buildid}-pyOpenSSL
 %endif
-%if 0%{?rhel} < 8 || 0%{?suse_version}
-Requires:       python-enum34
-%endif
 %description mgr
 ceph-mgr enables python modules that provide services (such as the REST
 module derived from Calamari) and expose CLI hooks.  ceph-mgr gathers