Fix uninstall warnings (bz 2048023)
Signed-off-by: Steve Dickson <steved@redhat.com> Resolves: bz2048023
This commit is contained in:
parent
7e333479cd
commit
3448c3274f
@ -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://linux-nfs.org/
|
URL: http://linux-nfs.org/
|
||||||
Version: 2.5.4
|
Version: 2.5.4
|
||||||
Release: 14%{?dist}
|
Release: 15%{?dist}
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
|
|
||||||
# group all 32bit related archs
|
# group all 32bit related archs
|
||||||
@ -288,9 +288,6 @@ fi
|
|||||||
if [ $1 -eq 0 ]; then
|
if [ $1 -eq 0 ]; then
|
||||||
%systemd_preun nfs-client.target
|
%systemd_preun nfs-client.target
|
||||||
%systemd_preun nfs-server.service
|
%systemd_preun nfs-server.service
|
||||||
|
|
||||||
rm -rf /var/lib/nfs/statd
|
|
||||||
rm -rf /var/lib/nfs/v4recovery
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun -n nfsv4-client-utils
|
%preun -n nfsv4-client-utils
|
||||||
@ -310,6 +307,11 @@ fi
|
|||||||
|
|
||||||
/bin/systemctl --system daemon-reload >/dev/null 2>&1 || :
|
/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
|
%triggerin -- nfs-utils > 1:2.1.1-3
|
||||||
/bin/systemctl try-restart gssproxy || :
|
/bin/systemctl try-restart gssproxy || :
|
||||||
|
|
||||||
@ -463,7 +465,10 @@ fi
|
|||||||
%{_mandir}/*/nfsiostat.8.gz
|
%{_mandir}/*/nfsiostat.8.gz
|
||||||
|
|
||||||
%changelog
|
%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)
|
- Fix the typo of dependency tag "Provides: rpcclt" (bz 2104406)
|
||||||
|
|
||||||
* Thu Jul 28 2022 Steve Dickson <steved@redhat.com> 2.5.4-13
|
* Thu Jul 28 2022 Steve Dickson <steved@redhat.com> 2.5.4-13
|
||||||
|
Loading…
Reference in New Issue
Block a user