diff --git a/nfs-utils.spec b/nfs-utils.spec index fff677f..1c2bcc7 100644 --- a/nfs-utils.spec +++ b/nfs-utils.spec @@ -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 1.3.3-0.0 +* Wed Nov 4 2015 Steve Dickson 1.3.3-1 +- Removed legacy triggers to remove rpm build errors + +* Mon Nov 2 2015 Steve Dickson 1.3.3-0 - Updated to latest upstream version 1.3.3 * Fri Jul 31 2015 Steve Dickson 1.3.2-12