Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libtomcrypt for openSUSE:Factory checked in at 2023-04-12 12:51:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libtomcrypt (Old) and /work/SRC/openSUSE:Factory/.libtomcrypt.new.19717 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libtomcrypt" Wed Apr 12 12:51:15 2023 rev:8 rq:1078478 version:1.18.2 Changes: -------- --- /work/SRC/openSUSE:Factory/libtomcrypt/libtomcrypt.changes 2019-10-07 13:40:29.552431208 +0200 +++ /work/SRC/openSUSE:Factory/.libtomcrypt.new.19717/libtomcrypt.changes 2023-04-12 12:51:17.680824793 +0200 @@ -1,0 +2,6 @@ +Sat Mar 18 11:29:17 UTC 2023 - Martin Pluskal <[email protected]> + +- Modernise spec file +- Run tests during build + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libtomcrypt.spec ++++++ --- /var/tmp/diff_new_pack.9ndhrF/_old 2023-04-12 12:51:18.160827598 +0200 +++ /var/tmp/diff_new_pack.9ndhrF/_new 2023-04-12 12:51:18.164827622 +0200 @@ -1,7 +1,7 @@ # # spec file for package libtomcrypt # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # Copyright (c) 2009 Exata T.I., Maringa, PR, Brasil. # # All modifications and additions to the file contributed by third parties @@ -13,7 +13,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ Summary: Cryptographic Toolkit Written in Portable C License: SUSE-Public-Domain Group: Development/Libraries/C and C++ -Url: http://libtom.org +URL: http://libtom.org Source0: https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz Source1: https://github.com/libtom/libtomcrypt/releases/download/v%{version}/crypt-%{version}.tar.xz.asc Source2: %{name}.keyring @@ -78,11 +78,11 @@ This package contains example *.c files showing how to use TomCrypt library. %prep -%setup -q -n %{name}-%{version} +%autosetup %build export CFLAGS="%{optflags} -DLTM_DESC -DUSE_LTM" -make %{?_smp_mflags} LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared +%make_build LIBPATH=%{_libdir} EXTRALIBS="-ltommath" -f makefile.shared %install %make_install -f makefile.shared DESTDIR=%{buildroot} LIBPATH=%{_libdir} NODOCS=0 PREFIX=%{_prefix} @@ -91,6 +91,8 @@ find %{buildroot} -type f -name "*.la" -delete -print %check +%make_build test CFLAGS="%{optflags}" +./test %post -n %{soname} -p /sbin/ldconfig %postun -n %{soname} -p /sbin/ldconfig
