1
0
forked from pool/glusterfs
Jan Engelhardt 2014-08-06 23:21:50 +00:00 committed by Git OBS Bridge
parent 2ecd49fd0c
commit e8b301a593

View File

@ -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