diff --git a/.gitignore b/.gitignore index 25152e5..61f9fdc 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ /rdma-core-45.0.tar.gz /rdma-core-46.0.tar.gz /rdma-core-48.0.tar.gz +/rdma-core-50.0.tar.gz diff --git a/rdma-core.spec b/rdma-core.spec index 81b3b04..7e8b204 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,5 +1,5 @@ Name: rdma-core -Version: 48.0 +Version: 50.0 Release: %autorelease Summary: RDMA core userspace libraries and daemons @@ -29,17 +29,14 @@ BuildRequires: /usr/bin/rst2man BuildRequires: valgrind-devel BuildRequires: systemd BuildRequires: systemd-devel -# https://github.com/linux-rdma/rdma-core/pull/1405 -%if (0%{?fedora} < 40 && 0%{?fedora} >= 32) || (0%{?rhel} >= 8 && 0%{?rhel} < 10) +%if 0%{?fedora} >= 32 || 0%{?rhel} >= 8 %define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: %{?!_without_pyverbs: 1} %{?_without_pyverbs: 0}} %else %define with_pyverbs %{?_with_pyverbs: 1} %{?!_with_pyverbs: 0} %endif %if %{with_pyverbs} BuildRequires: python3-devel -# FTBFS with Cython 3 -# pyverbs/device.c: error: redefinition of '__Pyx_Enum_ibv_event_type_to_py' -BuildRequires: python3dist(cython) < 3 +BuildRequires: python3-Cython %else %if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 BuildRequires: python3 diff --git a/sources b/sources index 2763652..a70afc8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rdma-core-48.0.tar.gz) = 48303d830e83d4fb6a88e23764380872dadc4579e8a1a62275447fe4a6613aea9ac08876e4a58f5799af9455e6dabbced8bc8e1663812fe68a2d642a1152b195 +SHA512 (rdma-core-50.0.tar.gz) = 0d341300dde2a8756ab0e80bf8d316627c997e85661d50b51897aa03e1b7326f4ca7a6f24e370354779482a2d9455e58dbb07e6292ed8b511e7f195e4e2d1850