From 05446f2ad6aa1af55ce13d6dc125f0780e2b2ef7 Mon Sep 17 00:00:00 2001 From: Guost123 Date: Sun, 27 Apr 2025 16:18:33 +0800 Subject: [PATCH] adapt for riscv64 --- rdma-core.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/rdma-core.spec b/rdma-core.spec index 948219a..88ae94f 100644 --- a/rdma-core.spec +++ b/rdma-core.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_with pandoc %bcond_with static %bcond_without pyverbs @@ -13,7 +13,10 @@ Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz BuildRequires: binutils cmake >= 2.8.11 gcc ninja-build BuildRequires: /usr/bin/rst2man perl-generators python3-docutils -BuildRequires: libudev-devel valgrind-devel systemd systemd-devel +BuildRequires: libudev-devel systemd systemd-devel +%ifarch %{valgrind_arches} +BuildRequires: valgrind-devel +%endif BuildRequires: pkgconfig(libnl-3.0) pkgconfig(libnl-route-3.0) %if %{with pandoc} BuildRequires: pandoc @@ -624,6 +627,9 @@ fi %endif %changelog +* Sun Apr 27 2025 Shangtong Guo - 54.0-2 +- add support for riscv64 build + * Fri Mar 21 2025 Zhao Hang - 54.0-1 - Update to 54.0-1 from 44.0-4 - Remove patches which already exist in code -- Gitee