From e8b301a5936d6ddb853a9f505654a77196fa695d02471edfe5fa938abffdac4b Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 6 Aug 2014 23:21:50 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/filesystems/glusterfs?expand=0&rev=28 --- glusterfs.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/glusterfs.spec b/glusterfs.spec index 7e03d35..852765a 100644 --- a/glusterfs.spec +++ b/glusterfs.spec @@ -180,9 +180,11 @@ perl -i -pe 's{\x0d\x0a}{\x0a}gs' %_docdir/%name/glusterfs-mode.el; %if 0%{?_unitdir:1} mkdir -p "$b/%_unitdir"; rm -Rf "$b/%_initddir" +ln -s service "$b/%_sbindir/rcglusterd" +%else +ln -s "%_initddir/glusterd" "$b/%_sbindir/rcglusterd" %endif chmod u-s "$b/%_bindir/fusermount-glusterfs" -ln -s service "$b/%_sbindir/rcglusterd" %fdupes %buildroot/%_prefix %if 0%{?suse_version} >= 1210