Fix uninstall warnings (bz 2048023)

Signed-off-by: Steve Dickson <steved@redhat.com>
Resolves: bz2048023
This commit is contained in:
Steve Dickson 2022-08-17 12:55:57 -04:00
parent 7e333479cd
commit 3448c3274f
1 changed files with 10 additions and 5 deletions

View File

@ -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 <steved@redhat.com> 2.5.4-14
* Wed Aug 17 2022 Steve Dickson <steved@redhat.com> 2.5.4-15
- Fix uninstall warnings (bz 2048023)
* Mon Aug 1 2022 Steve Dickson <steved@redhat.com> 2.5.4-14
- Fix the typo of dependency tag "Provides: rpcclt" (bz 2104406)
* Thu Jul 28 2022 Steve Dickson <steved@redhat.com> 2.5.4-13