|
|
@ -4,7 +4,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: mbedtls
|
|
|
|
Name: mbedtls
|
|
|
|
Version: 2.16.7
|
|
|
|
Version: 2.16.7
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Summary: Light-weight cryptographic and SSL/TLS library
|
|
|
|
Summary: Light-weight cryptographic and SSL/TLS library
|
|
|
|
License: ASL 2.0
|
|
|
|
License: ASL 2.0
|
|
|
|
URL: https://tls.mbed.org/
|
|
|
|
URL: https://tls.mbed.org/
|
|
|
@ -89,16 +89,17 @@ sed -i 's|//\(#define MBEDTLS_ZLIB_SUPPORT\)|\1|' include/mbedtls/config.h
|
|
|
|
-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
|
|
|
|
-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
|
|
|
|
-DUSE_STATIC_MBEDTLS_LIBRARY=ON
|
|
|
|
-DUSE_STATIC_MBEDTLS_LIBRARY=ON
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} all apidoc
|
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
make apidoc
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
|
|
|
|
mv $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libexecdir}/mbedtls
|
|
|
|
mv $RPM_BUILD_ROOT%{_bindir} $RPM_BUILD_ROOT%{_libexecdir}/mbedtls
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
LD_LIBRARY_PATH=$PWD/library ctest --output-on-failure -V
|
|
|
|
%ctest
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
|
@ -122,6 +123,10 @@ LD_LIBRARY_PATH=$PWD/library ctest --output-on-failure -V
|
|
|
|
%doc apidoc/*
|
|
|
|
%doc apidoc/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Aug 20 2020 Morten Stevens <mstevens@fedoraproject.org> - 2.16.7-4
|
|
|
|
|
|
|
|
- Switch to cmake_build, cmake_install and ctest
|
|
|
|
|
|
|
|
- FTBFS in Fedora rawhide/f33 (#1864124)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.7-3
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.7-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|