Drop the redhat-lsb-core dependency as it is no longer necessary on
fedora/rhel.
The other two init scripts do not use redhat-lsb-core either. The
init-ceph.in conditionally requires /lib/lsb/init-functions and does not
use any of the functions defined in that file (at least not directly).
The init-radosgw file includes /etc/rc.d/init.d/functions on non-debian
platforms instead of /lib/lsb/init-functions file so it does not require
redhat-lsb-core either.
Signed-off-by: Boris Ranto <branto@redhat.com>
%if 0%{?_with_systemd}
%{?systemd_requires}
%endif
-%if 0%{?rhel} || 0%{?fedora}
-Requires: redhat-lsb-core
-%endif
%if 0%{?suse_version}
Requires(pre): pwdutils
%endif
RBDMAPFILE="/etc/ceph/rbdmap"
-. /lib/lsb/init-functions
+if [ -e /lib/lsb/init-functions ]; then
+ . /lib/lsb/init-functions
+fi
do_map() {
if [ ! -f "$RBDMAPFILE" ]; then