On Sat, Feb 8, 2025 at 10:00 PM Orion Poplawski <or...@nwra.com> 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@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to