diff --git a/v2.25.0.tar.gz b/mbedtls-2.25.0.tar.gz similarity index 100% rename from v2.25.0.tar.gz rename to mbedtls-2.25.0.tar.gz diff --git a/mbedtls.changes b/mbedtls.changes index b4ca75c..fcb19c1 100644 --- a/mbedtls.changes +++ b/mbedtls.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 19 20:25:34 UTC 2021 - Luigi Baldoni + +- Fix build for Leap targets +- Use upstream tarball name + ------------------------------------------------------------------- Tue Dec 22 10:11:45 UTC 2020 - Dirk Müller diff --git a/mbedtls.spec b/mbedtls.spec index 5a97022..f8ea58e 100644 --- a/mbedtls.spec +++ b/mbedtls.spec @@ -1,7 +1,7 @@ # # spec file for package mbedtls # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,7 +26,7 @@ Summary: Libraries for crypto and SSL/TLS protocols License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://tls.mbed.org -Source: https://github.com/ARMmbed/mbedtls/archive/v%{version}.tar.gz +Source: https://github.com/ARMmbed/mbedtls/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source99: baselibs.conf BuildRequires: cmake BuildRequires: ninja @@ -113,7 +113,8 @@ sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h # parallel execution fails # %%ctest pushd build -%{_bindir}/ctest --output-on-failure --force-new-ctest-process -j1 +LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ + %{_bindir}/ctest --output-on-failure --force-new-ctest-process -j1 %post -n %{lib_tls} -p /sbin/ldconfig %post -n %{lib_crypto} -p /sbin/ldconfig