From 76268de7af39ff34a6828924c311ad4a124e50d3 Mon Sep 17 00:00:00 2001 From: markeryang Date: Sat, 27 May 2023 06:36:39 +0000 Subject: [PATCH] enable check (cherry picked from commit 8a38caae98817c8fbbc587dd297680c1cd80830b) --- libidn.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libidn.spec b/libidn.spec index d2b244a..2088152 100644 --- a/libidn.spec +++ b/libidn.spec @@ -4,9 +4,9 @@ Name: libidn Version: 1.36 -Release: 2 +Release: 3 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 @@ -86,6 +86,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 @@ -139,6 +144,9 @@ rm -rf $RPM_BUILD_ROOT%{_javadir}/libidn*.jar %{_infodir}/%{name}.info.gz %changelog +* Sat May 27 2023 yanglongkang - 1.36-3 +- enable check and correct the license + * Tue Feb 15 2022 fuanan - 1.36-2 - Add build-conditions disabling Emacs -- Gitee