!19 first check if Valgrind supports the build architecture

From: @yinist 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2024-07-10 13:21:57 +00:00 committed by Gitee
commit bf36719254
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <jianhui.oerv@isrc.iscas.ac.cn> - 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 <liyanan61@h-partners.com> - 8.2.2.2-1
- Upgrade to 8.2.2.2