|
|
|
@ -2,10 +2,6 @@
|
|
|
|
|
%global _docdir_fmt %{name}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel}
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: mbedtls
|
|
|
|
|
Version: 2.28.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
@ -75,6 +71,12 @@ make apidoc
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
|
|
# Library files aren't supposed to be executable, but RPM requires this historically
|
|
|
|
|
# for automatic per-file level automatic dependency generation at ELF binaries; see:
|
|
|
|
|
# - https://github.com/ARMmbed/mbedtls/commit/280165c9b39091c7c7ffe031430c7cf93ebc4dec
|
|
|
|
|
# - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PDD6RNQMII472HXM4XAUUWWZKKBGHPTO/
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%ctest --output-on-failure --force-new-ctest-process --parallel 1
|
|
|
|
|
|
|
|
|
|