From d37cb38afb4c20a801954c126f9bf00f0206777e Mon Sep 17 00:00:00 2001 From: markeryang Date: Sat, 27 May 2023 06:52:21 +0000 Subject: [PATCH] enable check --- libidn.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libidn.spec b/libidn.spec index d8a2013..c11978f 100644 --- a/libidn.spec +++ b/libidn.spec @@ -4,7 +4,7 @@ Name: libidn Version: 1.38 -Release: 4 +Release: 5 Summary: GNU IDN Library - Libidn License: LGPLv2+ and GPLv3+ and GFDL-1.3-or-later URL: http://www.gnu.org/software/libidn/ @@ -87,6 +87,11 @@ export LD_LIBRARY_PATH=$(pwd)/lib/.libs %make_build +%check +# without RPATH this needs to be set to test the compiled library +export LD_LIBRARY_PATH=$(pwd)/lib/.libs +%make_build -C tests check VALGRIND=env + %install %make_install @@ -140,6 +145,9 @@ rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar %{_infodir}/%{name}.info.gz %changelog +* Sat May 27 2023 yanglongkang - 1.38-5 +- enable check + * Sat Oct 29 2022 dongyuzhen - 1.38-4 - Rebuild for next release -- Gitee