Re: How to determine which packages have a specific version requirement?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 8, 2025 at 10:00 PM Orion Poplawski <orion@xxxxxxxx> wrote:
>
> Many hdf5 dependencies have the following:
>
> Requires: hdf5%{?_isa} = %{_hdf5_version}
>
> resulting in rpm -q --requires listing:
>
> hdf5(x86-64) = 1.14.5
>
> I would like to know what packages have this requires, but this does not
> appear to work:
>
> dnf5 repoquery --whatrequires 'hdf5(x86_64) = 1.14.5'
>
> Is what I want to do possible?

It's x86-64, not x86_64, and since I'm on F41, using 1.12.1 seems to work:

$ sudo dnf5 repoquery --whatrequires 'hdf5(x86-64) = 1.12.1'
cgnslib-0:4.4.0-5.fc41.x86_64
hdf5-devel-0:1.12.1-20.fc41.x86_64
hdf5-devel-0:1.12.1-21.fc41.x86_64
netcdf-0:4.9.2-6.fc41.x86_64
python3-h5py-0:3.11.0-3.fc41.x86_64
python3-h5py-0:3.11.0-4.fc41.x86_64
python3-h5py-mpich-0:3.11.0-3.fc41.x86_64
python3-h5py-mpich-0:3.11.0-4.fc41.x86_64
python3-h5py-openmpi-0:3.11.0-3.fc41.x86_64
python3-h5py-openmpi-0:3.11.0-4.fc41.x86_64

>
> This is what I've ended up with:
>
> fedrq whatrequires 'hdf5' -F multiline:name,requires | grep -F 1.14.5
>
> which I guess is fine.  Still seems like you should be able to specify
> the version in the requirement.
>

-- 
Elliott
-- 
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux