From d18cbb08355073c28cae5636101fc9b209357512 Mon Sep 17 00:00:00 2001 From: laokz Date: Fri, 14 Feb 2025 06:52:38 +0000 Subject: [PATCH] let BuildRequire valgrind depend on system macro --- libdap.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libdap.spec b/libdap.spec index a29f8c9..5cb6035 100644 --- a/libdap.spec +++ b/libdap.spec @@ -1,7 +1,7 @@ %global libdap_tag 3.21.0-27 Name: libdap Version: 3.21.0.27 -Release: 1 +Release: 2 Summary: The C++ DAP2 and DAP4 library from OPeNDAP. License: LGPLv2+ URL: http://www.opendap.org/ @@ -25,7 +25,9 @@ BuildRequires: libuuid-devel BuildRequires: libxml2-devel BuildRequires: openssl-devel BuildRequires: pkgconfig +%ifarch %{valgrind_arches} BuildRequires: valgrind +%endif Provides: bundled(gnulib) %description @@ -93,6 +95,9 @@ make check || : %{_mandir}/man1/* %changelog +* Fri Feb 14 2025 laokz - 3.21.0.27-2 +- let BuildRequire valgrind depend on system %{valgrind_arches} + * Mon Mar 11 2024 Dongxing Wang - 3.21.0.27-1 - Update package to version 3.21.0.27 Added libdap::Array::rename_dim() for HK-247 -- Gitee