%if 0%{without python2}
%global _defined_if_python2_absent 1
%endif
-
+%if 0%{?fedora} || 0%{?suse_version}
+%global weak_deps 1
+%endif
%if %{with selinux}
# get selinux policy version
%{!?_selinux_policy_version: %global _selinux_policy_version 0.0.0}
Requires: gperftools-libs >= 2.6.1
%endif
%endif
-%if 0%{?suse_version}
+%if 0%{?weak_deps}
Recommends: chrony
%endif
%description base
%if 0%{?suse_version}
Requires: python%{_python_buildid}-CherryPy
Requires: python%{_python_buildid}-Werkzeug
-Recommends: python%{_python_buildid}-influxdb
+%endif
+%if 0%{?weak_deps}
Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-diskprediction-cloud = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release}
Recommends: ceph-mgr-ssh = %{_epoch_prefix}%{version}-%{release}
+Recommends: python%{_python_buildid}-influxdb
%endif
%if 0%{?rhel} == 7
Requires: pyOpenSSL