]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: refrain from duplicating %{_sbindir}/rcceph 5832/head
authorNathan Cutler <ncutler@suse.com>
Mon, 7 Sep 2015 11:39:43 +0000 (13:39 +0200)
committerNathan Cutler <ncutler@suse.com>
Mon, 7 Sep 2015 11:45:35 +0000 (13:45 +0200)
On systemd, systemd/ceph is installed to /usr/sbin/rcceph.

On non-systemd, src/init-ceph is installed to /etc/init.d/ceph and
/usr/sbin/rcceph is created as a symlink to the latter.

In the %files section, we mention %{_sbindir}/rcceph twice: once
in a non-systemd conditional and once outside of any conditional.
Drop the former.

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

index 3420461c09653f2a6172d026ce644d6bbc04056d..387329294014b7f25aca1c9e5ee7e9552578f836 100644 (file)
@@ -750,7 +750,6 @@ mkdir -p %{_localstatedir}/run/ceph/
 %{_unitdir}/ceph.target
 %else
 %{_initrddir}/ceph
-%{_sbindir}/rcceph
 %endif
 %{_sbindir}/ceph-disk
 %{_sbindir}/ceph-disk-udev