forked from pool/glusterfs
This commit is contained in:
parent
2ecd49fd0c
commit
e8b301a593
@ -180,9 +180,11 @@ perl -i -pe 's{\x0d\x0a}{\x0a}gs' %_docdir/%name/glusterfs-mode.el;
|
|||||||
%if 0%{?_unitdir:1}
|
%if 0%{?_unitdir:1}
|
||||||
mkdir -p "$b/%_unitdir";
|
mkdir -p "$b/%_unitdir";
|
||||||
rm -Rf "$b/%_initddir"
|
rm -Rf "$b/%_initddir"
|
||||||
|
ln -s service "$b/%_sbindir/rcglusterd"
|
||||||
|
%else
|
||||||
|
ln -s "%_initddir/glusterd" "$b/%_sbindir/rcglusterd"
|
||||||
%endif
|
%endif
|
||||||
chmod u-s "$b/%_bindir/fusermount-glusterfs"
|
chmod u-s "$b/%_bindir/fusermount-glusterfs"
|
||||||
ln -s service "$b/%_sbindir/rcglusterd"
|
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1210
|
%if 0%{?suse_version} >= 1210
|
||||||
|
Loading…
Reference in New Issue
Block a user