- Compute FIPS hmac for libgmp.so.10 [bsc#1184555]
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gmp?expand=0&rev=89
This commit is contained in:
parent
708cdb2927
commit
5d9088ca84
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 20 12:59:35 UTC 2021 - Richard Biener <rguenther@suse.com>
|
||||
|
||||
- Compute FIPS hmac for libgmp.so.10 [bsc#1184555]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 10 12:05:09 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
3
gmp.spec
3
gmp.spec
@ -30,6 +30,7 @@ Source2: %{name}.keyring
|
||||
Source3: baselibs.conf
|
||||
# revert change causing bsc#1179751
|
||||
Patch1: gmp-6.2.1-arm64-invert_limb.patch
|
||||
BuildRequires: fipscheck
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: m4
|
||||
BuildRequires: pkgconfig
|
||||
@ -94,6 +95,7 @@ export CFLAGS="%{optflags} -fexceptions"
|
||||
%make_install
|
||||
rm %{buildroot}%{_libdir}/libgmp.la
|
||||
rm %{buildroot}%{_libdir}/libgmpxx.la
|
||||
export BRP_FIPSHMAC_FILES=%{buildroot}%{_libdir}/libgmp.so.10
|
||||
|
||||
%post -n libgmp10 -p /sbin/ldconfig
|
||||
%post -n libgmpxx4 -p /sbin/ldconfig
|
||||
@ -109,6 +111,7 @@ rm %{buildroot}%{_libdir}/libgmpxx.la
|
||||
%files -n libgmp10
|
||||
%license COPYING*
|
||||
%{_libdir}/libgmp.so.10*
|
||||
%{_libdir}/.libgmp.so.10.hmac
|
||||
|
||||
%files -n libgmpxx4
|
||||
%{_libdir}/libgmpxx.so.4*
|
||||
|
Loading…
Reference in New Issue
Block a user