diff --git a/nfs-utils.spec b/nfs-utils.spec index 69e2ee4..52ac063 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://linux-nfs.org/ Version: 2.5.4 -Release: 14%{?dist} +Release: 15%{?dist} Epoch: 1 # group all 32bit related archs @@ -288,9 +288,6 @@ fi if [ $1 -eq 0 ]; then %systemd_preun nfs-client.target %systemd_preun nfs-server.service - - rm -rf /var/lib/nfs/statd - rm -rf /var/lib/nfs/v4recovery fi %preun -n nfsv4-client-utils @@ -310,6 +307,11 @@ fi /bin/systemctl --system daemon-reload >/dev/null 2>&1 || : +if [ $1 -eq 0 ] ; then + rm -rf /var/lib/nfs/statd + rm -rf /var/lib/nfs/v4recovery +fi + %triggerin -- nfs-utils > 1:2.1.1-3 /bin/systemctl try-restart gssproxy || : @@ -463,7 +465,10 @@ fi %{_mandir}/*/nfsiostat.8.gz %changelog -* Mon Aug 1 Steve Dickson 2.5.4-14 +* Wed Aug 17 2022 Steve Dickson 2.5.4-15 +- Fix uninstall warnings (bz 2048023) + +* Mon Aug 1 2022 Steve Dickson 2.5.4-14 - Fix the typo of dependency tag "Provides: rpcclt" (bz 2104406) * Thu Jul 28 2022 Steve Dickson 2.5.4-13