Removed legacy triggers to remove rpm build errors

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2015-11-04 07:13:52 -05:00
parent d5a7f16b51
commit 229e956ba7

View File

@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
Name: nfs-utils Name: nfs-utils
URL: http://sourceforge.net/projects/nfs URL: http://sourceforge.net/projects/nfs
Version: 1.3.3 Version: 1.3.3
Release: 0.0%{?dist} Release: 1%{?dist}
Epoch: 1 Epoch: 1
# group all 32bit related archs # group all 32bit related archs
@ -241,26 +241,6 @@ fi
/bin/systemctl --system daemon-reload >/dev/null 2>&1 || : /bin/systemctl --system daemon-reload >/dev/null 2>&1 || :
%triggerun -- nfs-utils < 1:1.2.4-2
/bin/systemctl enable nfs-lock.service >/dev/null 2>&1 || :
if /sbin/chkconfig --level 3 nfs ; then
/bin/systemctl enable nfs-server.service >/dev/null 2>&1 || :
fi
%triggerin -- nfs-utils < 1:1.3.0-0.2
/bin/systemctl restart nfs-config >/dev/null 2>&1 || :
%triggerin -- nfs-utils < 1:1.3.0-7.1
/bin/systemctl stop rpc-svcgssd >/dev/null 2>&1 || :
%triggerin -- nfs-utils < 1:1.3.1-4.0
# reset configuration files and running daemons
if [ $1 -eq 2 ] ; then
/bin/systemctl enable nfs-client.target >/dev/null 2>&1 || :
/bin/systemctl restart nfs-config >/dev/null 2>&1 || :
/bin/systemctl restart nfs-client.target >/dev/null 2>&1 || :
fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%config(noreplace) /etc/sysconfig/nfs %config(noreplace) /etc/sysconfig/nfs
@ -307,7 +287,10 @@ fi
/sbin/umount.nfs4 /sbin/umount.nfs4
%changelog %changelog
* Mon Nov 2 2015 Steve Dickson <steved@redhat.com> 1.3.3-0.0 * Wed Nov 4 2015 Steve Dickson <steved@redhat.com> 1.3.3-1
- Removed legacy triggers to remove rpm build errors
* Mon Nov 2 2015 Steve Dickson <steved@redhat.com> 1.3.3-0
- Updated to latest upstream version 1.3.3 - Updated to latest upstream version 1.3.3
* Fri Jul 31 2015 Steve Dickson <steved@redhat.com> 1.3.2-12 * Fri Jul 31 2015 Steve Dickson <steved@redhat.com> 1.3.2-12