diff --git a/python-h5py.changes b/python-h5py.changes index 125351d..1b87ec2 100644 --- a/python-h5py.changes +++ b/python-h5py.changes @@ -35,6 +35,8 @@ Fri Nov 15 19:11:37 UTC 2024 - Ben Greiner automatically to recreate this (PR 2479, PR 2480). * Various PRs modernising & cleaning up old Cython code, see the 3.12 milestone on Github for details. +- Don't %requires_eq libhdf5{%my_suffix}: not a package but a + capability of e.g. libhdf5-200 -- boo#1196682 ------------------------------------------------------------------- Mon Jul 8 06:51:52 UTC 2024 - Steve Kowalik diff --git a/python-h5py.spec b/python-h5py.spec index 17df183..00bedba 100644 --- a/python-h5py.spec +++ b/python-h5py.spec @@ -66,8 +66,8 @@ BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: hdf5%{?my_suffix}-devel >= 1.10.6 BuildRequires: python-rpm-macros -%requires_eq hdf5%{?my_suffix} -%requires_eq libhdf5%{?my_suffix} +# Work around requires_eq not finding the capability libhdf5: +%(rpm -q --requires hdf5%{?my_suffix}-devel | sed -n '/libhdf5.*=/ s/^/Requires: / p') Requires: python-numpy >= 1.19.3 %if %{with mpi} BuildRequires: %{mpi_flavor}%{mpi_vers}-devel