revised spec to correctly do init.d for fedora<=16, rhel<=6; native
systemd for f17 and rhel7
This commit is contained in:
parent
a61c3d3795
commit
5b0b5ff729
@ -40,7 +40,7 @@ Source6: glusterfsd.logrotate
|
||||
Patch0: libglusterfs.Makefile.patch
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
%if ( 0%{?fedora} < 17 || 0%{?rhel} < 7 )
|
||||
%if ( 0%{?fedora} && 0%{?fedora} < 17 ) || ( 0%{?rhel} && 0%{?rhel} < 7 )
|
||||
Source7: glusterd.init
|
||||
Source8: glusterfsd.init
|
||||
Requires(post): /sbin/chkconfig
|
||||
@ -391,6 +391,10 @@ if [ $1 -ge 1 ]; then
|
||||
fi
|
||||
|
||||
%changelog
|
||||
* Tue Jan 3 2012 Kaleb S. KEITHLEY <kkeithle@redhat.com> - 3.2.5-5
|
||||
- revised spec for init.d for fedora<=16, rhel<=6; native systemd for
|
||||
f17 and rhel7
|
||||
|
||||
* Wed Dec 7 2011 Kaleb S. KEITHLEY <kkeithle@redhat.com> - 3.2.5-4
|
||||
- revised sysconfig and init.d scripts. (glusterfsd.{init,sysconfig,service}
|
||||
should go away, as glusterd is responsible for starting and stopping it.)
|
||||
|
Loading…
Reference in New Issue
Block a user