rpmlint
rpmlint copied to clipboard
missing-dependency-on in devel package not considering %release
I get the following warning:
dpdk-devel.x86_64: W: missing-dependency-on dpdk*/dpdk-libs/libdpdk* = 0:21.11.1
But dpdk-devel
has:
$ rpm -q --requires -p dpdk-devel-21.11.1-1.el8.x86_64.rpm
dpdk(x86-64) = 0:21.11.1-1.el8
which you can see includes %release
in it's version. Should rpmlint allow for this or is it wrong to include the %release
?
Please upload me the RPM file (as zip
directly here to this Issue).
May I please remind you this?
RPMs are available in the repository, you can simply use dnf download. Here is a different example:
$ dnf download xrootd-devel.x86_64 Senaste kontroll av utgång av metadata: för 0:03:01 sedan den lör 25 mar 2023 09:23:45. xrootd-devel-5.5.3-1.fc37.x86_64.rpm 1.1 MB/s | 130 kB 00:00
$ rpmlint xrootd-devel-5.5.3-1.fc37.x86_64.rpm | grep missing-dep xrootd-devel.x86_64: W: missing-dependency-on xrootd*/xrootd-libs/libxrootd* = 1:5.5.3
$ rpm -q --requires -p ./xrootd-devel-5.5.3-1.fc37.x86_64.rpm | grep xrootd-libs xrootd-libs(x86-64) = 1:5.5.3-1.fc37
$ dnf download xrootd-devel.x86_64 Senaste kontroll av utgång av metadata: för 0:03:01 sedan den lör 25 mar 2023 09:23:45. xrootd-devel-5.5.3-1.fc37.x86_64.rpm 1.1 MB/s | 130 kB 00:00
$ dnf download xrootd-devel.x86_64
allow_vendor_change is disabled. This option is currently not supported for downgrade and distro-sync commands
No package xrootd-devel.x86_64 available.
Exiting due to strict setting.
Error: No package xrootd-devel.x86_64 available.
Note I'm not a Fedora guy, so please provide a HTTP URL or so. Thanks.
Download directly from koji.
https://kojipkgs.fedoraproject.org//packages/xrootd/5.5.4/1.fc37/x86_64/xrootd-devel-5.5.4-1.fc37.x86_64.rpm