From 006b73209800e27962ed9b4eebc1af636ca8a969 Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Tue, 23 Sep 2025 11:06:52 +0800 Subject: [PATCH] Enable more testcases --- libtomcrypt.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libtomcrypt.spec b/libtomcrypt.spec index a6f6f94..930ddb8 100644 --- a/libtomcrypt.spec +++ b/libtomcrypt.spec @@ -1,6 +1,6 @@ Name: libtomcrypt Version: 1.18.2 -Release: 8 +Release: 9 Summary: A comprehensive, portable cryptographic toolkit License: Public Domain or WTFPL URL: http://www.libtom.net/ @@ -33,6 +33,8 @@ using libtomcrypt. export CFLAGS="%{build_cflags} -DLTM_DESC -DUSE_LTM" export LDFLAGS="%{build_ldflags}" make %{?_smp_mflags} LIBPATH=%{_libdir} INCPATH="%{_includedir}" PREFIX="%{_prefix}" EXTRALIBS="-ltommath" -f makefile.shared +# compile for make check +make %{?_smp_mflags} LIBPATH=%{_libdir} INCPATH="%{_includedir}" PREFIX="%{_prefix}" EXTRALIBS="-ltommath" -f makefile.shared test %install %make_install INSTALL_OPTS="-m 755" INCPATH="%{_includedir}" LIBPATH="%{_libdir}" -f makefile.shared @@ -40,7 +42,6 @@ make %{?_smp_mflags} LIBPATH=%{_libdir} INCPATH="%{_includedir}" PREFIX="%{_pref %delete_la_and_a %check -make test ./test %post -n %{name} -p /sbin/ldconfig @@ -58,6 +59,9 @@ make test %{_libdir}/pkgconfig/*.pc %changelog +* Tue Sep 23 2025 yixiangzhike - 1.18.2-9 +- enable more testcases + * Fri Sep 5 2025 yixiangzhike - 1.18.2-8 - define LDFLAGS to provide required link options for compiling -- Gitee