From 9e83b1a3ef6513dacbddf4bf5d0ff2bef6cf280c Mon Sep 17 00:00:00 2001 From: markeryang Date: Sat, 27 May 2023 06:46:44 +0000 Subject: [PATCH] enable check (cherry picked from commit 38f242ac0d107d0dc781a565c9b10cabfc1d38cf) --- libidn.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libidn.spec b/libidn.spec index 21b0557..81d73c9 100644 --- a/libidn.spec +++ b/libidn.spec @@ -4,9 +4,9 @@ Name: libidn Version: 1.38 -Release: 4 +Release: 5 Summary: GNU IDN Library - Libidn -License: LGPLv2+ and GPLv3+ and GFDL +License: LGPLv2+ and GPLv3+ and GFDL-1.3-or-later URL: http://www.gnu.org/software/libidn/ Source0: http://ftp.gnu.org/gnu/libidn/libidn-%{version}.tar.gz @@ -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 and correct the license + * Thu Oct 27 2022 dongyuzhen - 1.38-4 - Rebuild for next release -- Gitee