diff --git a/libidn.spec b/libidn.spec index d2b244abfd69d0c2cd6f5420a1244fd7e5ad1bea..20881528a2ed088a22014f545d4e00f619f39f17 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