From 945b48832fbdefd1cd024172730bae292d1b17601f9ddba3408a3d26d20cd8ea Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Fri, 15 Nov 2024 19:46:46 +0000 Subject: [PATCH] - Don't %requires_eq libhdf5{%my_suffix}: not a package but a capability of e.g. libhdf5-200 -- boo#1196682 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-h5py?expand=0&rev=57 --- python-h5py.changes | 2 ++ python-h5py.spec | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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