Removed legacy triggers to remove rpm build errors
Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
parent
d5a7f16b51
commit
229e956ba7
@ -2,7 +2,7 @@ Summary: NFS utilities and supporting clients and daemons for the kernel NFS ser
|
||||
Name: nfs-utils
|
||||
URL: http://sourceforge.net/projects/nfs
|
||||
Version: 1.3.3
|
||||
Release: 0.0%{?dist}
|
||||
Release: 1%{?dist}
|
||||
Epoch: 1
|
||||
|
||||
# group all 32bit related archs
|
||||
@ -241,26 +241,6 @@ fi
|
||||
|
||||
/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
|
||||
%defattr(-,root,root,-)
|
||||
%config(noreplace) /etc/sysconfig/nfs
|
||||
@ -307,7 +287,10 @@ fi
|
||||
/sbin/umount.nfs4
|
||||
|
||||
%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
|
||||
|
||||
* Fri Jul 31 2015 Steve Dickson <steved@redhat.com> 1.3.2-12
|
||||
|
Loading…
Reference in New Issue
Block a user