From 439fadafb5c1cadffd068002f2e7434277179586 Mon Sep 17 00:00:00 2001 From: Yinsist Date: Sun, 28 Apr 2024 14:04:54 +0000 Subject: [PATCH] first check if Valgrind supports the build architecture --- vdo.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vdo.spec b/vdo.spec index f1b1644..7a2978d 100644 --- a/vdo.spec +++ b/vdo.spec @@ -1,6 +1,6 @@ Name: vdo Version: 8.2.2.2 -Release: 1 +Release: 2 Summary: Management tools for Virtual Data Optimizer License: GPLv2 URL: http://github.com/dm-vdo/vdo @@ -10,7 +10,10 @@ Patch0002: 0002-fix_dmeventd_linking.patch Patch0003: 0003-RISC-V-support.patch BuildRequires: gcc libuuid-devel device-mapper-devel device-mapper-event-devel -BuildRequires: valgrind-devel zlib-devel libblkid-devel +BuildRequires: zlib-devel libblkid-devel +%ifarch "%{valgrind_arches}" +BuildRequires: valgrind-devel +%endif %{?systemd_requires} Requires: libuuid >= 2.23 kmod-kvdo >= 6.2 util-linux >= 2.32.1 Provides: kvdo-kmod-common = %{version} @@ -51,6 +54,9 @@ This package provides the user-space management tools for VDO. %{_mandir}/man8/* %changelog +* Sun Apr 28 2024 yinsist - 8.2.2.2-2 +- Valgrind does not support certain architectures like RISC-V, Before depending on Valgrind, first check if Valgrind supports the architecture + * Tue Feb 27 2024 liyanan - 8.2.2.2-1 - Upgrade to 8.2.2.2 -- Gitee