auto-import changelog data from nfs-utils-1.0.6-31.src.rpm

Tue Aug 10 2004 Bill Nottingham <notting@redhat.com>
- move if..fi condrestart stanza to %postun (#127914, #128601)
This commit is contained in:
cvsdist 2004-09-09 09:26:46 +00:00
parent 49993659fb
commit 3e42301dae

View File

@ -15,7 +15,7 @@
Summary: NFS utlilities and supporting daemons for the kernel NFS server. Summary: NFS utlilities and supporting daemons for the kernel NFS server.
Name: nfs-utils Name: nfs-utils
Version: 1.0.6 Version: 1.0.6
%define release 30 %define release 31
%define Release %{release} %define Release %{release}
%if %{rhel3build} %if %{rhel3build}
@ -175,22 +175,13 @@ if [ "$?" -eq 1 ]; then
fi fi
%post %post
if [ "$1" -ge 1 ]; then /sbin/chkconfig --add nfs
/sbin/chkconfig --add nfslock
%if %{nfsv4_support} %if %{nfsv4_support}
/etc/rc.d/init.d/rpcidmapd condrestart > /dev/null /sbin/chkconfig --add rpcidmapd
/etc/rc.d/init.d/rpcgssd condrestart > /dev/null /sbin/chkconfig --add rpcgssd
/etc/rc.d/init.d/rpcsvcgssd condrestart > /dev/null /sbin/chkconfig --add rpcsvcgssd
%endif %endif
/etc/rc.d/init.d/nfs condrestart > /dev/null
else
/sbin/chkconfig --add nfs
/sbin/chkconfig --add nfslock
%if %{nfsv4_support}
/sbin/chkconfig --add rpcidmapd
/sbin/chkconfig --add rpcgssd
/sbin/chkconfig --add rpcsvcgssd
%endif
fi
%preun %preun
if [ "$1" = "0" ]; then if [ "$1" = "0" ]; then
@ -212,6 +203,15 @@ if [ "$1" = "0" ]; then
%endif %endif
fi fi
%postun
if [ "$1" -ge 1 ]; then
%if %{nfsv4_support}
/etc/rc.d/init.d/rpcidmapd condrestart > /dev/null
/etc/rc.d/init.d/rpcgssd condrestart > /dev/null
/etc/rc.d/init.d/rpcsvcgssd condrestart > /dev/null
%endif
/etc/rc.d/init.d/nfs condrestart > /dev/null
fi
%triggerpostun -- nfs-server %triggerpostun -- nfs-server
/sbin/chkconfig --add nfs /sbin/chkconfig --add nfs
@ -258,6 +258,9 @@ fi
%config /etc/rc.d/init.d/nfslock %config /etc/rc.d/init.d/nfslock
%changelog %changelog
* Tue Aug 10 2004 Bill Nottingham <notting@redhat.com>
- move if..fi condrestart stanza to %%postun (#127914, #128601)
* Wed Jun 16 2004 <SteveD@RedHat.com> * Wed Jun 16 2004 <SteveD@RedHat.com>
- nfslock stop is now done on package removals - nfslock stop is now done on package removals
- Eliminate 3 syslog messages that are logged for - Eliminate 3 syslog messages that are logged for