From 029e7393068add4a6afc3ecc5fdb5ec545d3b428 Mon Sep 17 00:00:00 2001 From: wangjiang Date: Wed, 29 Jun 2022 11:46:51 +0800 Subject: [PATCH] enable check and disable valgrind test --- drpm.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drpm.spec b/drpm.spec index 0165d98..39b2392 100644 --- a/drpm.spec +++ b/drpm.spec @@ -3,7 +3,7 @@ Name: drpm Version: 0.5.0 -Release: 3 +Release: 4 Summary: A library for making, reading and applying deltarpm packages # the entire source code is LGPLv2+, except src/drpm_diff.c and src/drpm_search.c which are BSD License: LGPLv2+ and BSD @@ -15,9 +15,12 @@ BuildRequires: libcmocka-devel >= 1.0 gdb-headless doxygen pkgconfig %if %{with zstd} BuildRequires: zstd-devel %endif + +%if %{with valgrind} %ifarch %{ix86} x86_64 aarch64 BuildRequires: valgrind %endif +%endif %description The drpm package provides a library for making, reading and applying deltarpms, @@ -55,7 +58,7 @@ popd %check pushd build -#ctest -VV +ctest -VV popd %files @@ -71,6 +74,9 @@ popd %doc build/doc/html/ %changelog +* Wed Jun 29 2022 wangjiang - 0.5.0-4 +- enable check and disable valgrind test + * Fri May 13 2022 mylee - 0.5.0-3 - fix spec changelog date -- Gitee