Add explicit version requirement for libnfsidmap

Add explict version requirement for libnfsidmap to fix the rpminspect
rpmdeps test.

Resolves: RHEL-65828
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
This commit is contained in:
Scott Mayhew 2024-11-14 15:12:01 -05:00
parent 50a3520400
commit 7d1873a478

View File

@ -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.7.1 Version: 2.7.1
Release: 4%{?dist} Release: 5%{?dist}
Epoch: 1 Epoch: 1
# group all 32bit related archs # group all 32bit related archs
@ -52,7 +52,7 @@ Requires(pre): shadow-utils >= 4.0.3-25
Requires(pre): util-linux Requires(pre): util-linux
Requires(pre): coreutils Requires(pre): coreutils
Requires(preun): coreutils Requires(preun): coreutils
Requires: libnfsidmap libevent Requires: libnfsidmap%{?_isa} = %{epoch}:%{version}-%{release} libevent
Requires: libtirpc >= 0.2.3-1 libblkid libcap libmount Requires: libtirpc >= 0.2.3-1 libblkid libcap libmount
Requires: gssproxy => 0.7.0-3 Requires: gssproxy => 0.7.0-3
Requires: rpcbind, sed, gawk, grep Requires: rpcbind, sed, gawk, grep
@ -71,6 +71,7 @@ Provides: umount.nfs4 = %{epoch}:%{version}-%{release}
Provides: start-statd = %{epoch}:%{version}-%{release} Provides: start-statd = %{epoch}:%{version}-%{release}
Provides: nfsidmap = %{epoch}:%{version}-%{release} Provides: nfsidmap = %{epoch}:%{version}-%{release}
Provides: showmount = %{epoch}:%{version}-%{release} Provides: showmount = %{epoch}:%{version}-%{release}
Requires: libnfsidmap%{?_isa} = %{epoch}:%{version}-%{release}
Requires: rpcbind Requires: rpcbind
%{?systemd_requires} %{?systemd_requires}
@ -94,6 +95,7 @@ Provides: mount.nfs4 = %{epoch}:%{version}-%{release}
Provides: umount.nfs = %{epoch}:%{version}-%{release} Provides: umount.nfs = %{epoch}:%{version}-%{release}
Provides: umount.nfs4 = %{epoch}:%{version}-%{release} Provides: umount.nfs4 = %{epoch}:%{version}-%{release}
Provides: nfsidmap = %{epoch}:%{version}-%{release} Provides: nfsidmap = %{epoch}:%{version}-%{release}
Requires: libnfsidmap%{?_isa} = %{epoch}:%{version}-%{release}
Requires: gssproxy => 0.7.0-3 Requires: gssproxy => 0.7.0-3
%description -n nfsv4-client-utils %description -n nfsv4-client-utils
@ -427,6 +429,9 @@ rm -rf /etc/systemd/system/rpc-*.requires
%{_mandir}/*/nfsiostat.8.gz %{_mandir}/*/nfsiostat.8.gz
%changelog %changelog
* Thu Nov 14 2024 Scott Mayhew <smayhew@redhat.com> 2.7.1-5
- Add explicit version requirement for libnfsidmap (RHEL-65828)
* Thu Nov 14 2024 Scott Mayhew <smayhew@redhat.com> 2.7.1-4 * Thu Nov 14 2024 Scott Mayhew <smayhew@redhat.com> 2.7.1-4
- Fix post-uninstall cleanup of /var/lib/nfs (RHEL-65824) - Fix post-uninstall cleanup of /var/lib/nfs (RHEL-65824)