Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gmp for openSUSE:Factory checked in 
at 2021-04-23 17:49:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gmp (Old)
 and      /work/SRC/openSUSE:Factory/.gmp.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gmp"

Fri Apr 23 17:49:35 2021 rev:58 rq:887008 version:6.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/gmp/gmp.changes  2020-12-21 10:21:56.299902514 
+0100
+++ /work/SRC/openSUSE:Factory/.gmp.new.12324/gmp.changes       2021-04-23 
17:49:36.130688593 +0200
@@ -1,0 +2,10 @@
+Tue Apr 20 12:59:35 UTC 2021 - Richard Biener <[email protected]>
+
+- Compute FIPS hmac for libgmp.so.10 [bsc#1184555]
+
+-------------------------------------------------------------------
+Sat Apr 10 12:05:09 UTC 2021 - Andreas Stieger <[email protected]>
+
+- do not break SLE 12 build when applying spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gmp.spec ++++++
--- /var/tmp/diff_new_pack.EHDVRG/_old  2021-04-23 17:49:36.526689274 +0200
+++ /var/tmp/diff_new_pack.EHDVRG/_new  2021-04-23 17:49:36.530689281 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package gmp
 #
-# 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
@@ -16,11 +16,12 @@
 #
 
 
+%{!?make_build: %define make_build make %{?_smp_mflags}}
 Name:           gmp
 Version:        6.2.1
 Release:        0
 Summary:        A library for calculating huge numbers
-License:        GPL-3.0-or-later AND (LGPL-3.0-or-later OR GPL-2.0-or-later)
+License:        (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
 Group:          Development/Libraries/C and C++
 URL:            https://gmplib.org/
 Source0:        https://gmplib.org/download/%{name}/%{name}-%{version}.tar.xz
@@ -29,6 +30,7 @@
 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
@@ -41,7 +43,7 @@
 
 %package -n libgmp10
 Summary:        A library for calculating huge numbers
-License:        LGPL-3.0-or-later OR GPL-2.0-or-later
+License:        GPL-2.0-or-later OR LGPL-3.0-or-later
 Group:          System/Libraries
 
 %description -n libgmp10
@@ -50,7 +52,7 @@
 
 %package -n libgmpxx4
 Summary:        C++ bindings for the GNU MP Library
-License:        LGPL-3.0-or-later OR GPL-2.0-or-later
+License:        GPL-2.0-or-later OR LGPL-3.0-or-later
 Group:          System/Libraries
 Requires:       libgmp10 >= %{version}
 
@@ -62,12 +64,12 @@
 
 %package devel
 Summary:        Include Files and Libraries for Development with the GNU MP 
Library
-License:        GPL-3.0-or-later AND (LGPL-3.0-or-later OR GPL-2.0-or-later)
+License:        (GPL-2.0-or-later OR LGPL-3.0-or-later) AND GPL-3.0-or-later
 Group:          Development/Languages/C and C++
 Requires:       libgmp10 = %{version}
 Requires:       libgmpxx4 = %{version}
 Requires(pre):  %{install_info_prereq}
-Requires(preun): %{install_info_prereq}
+Requires(preun):%{install_info_prereq}
 
 %description devel
 These libraries are needed to develop programs which calculate with
@@ -75,7 +77,7 @@
 
 %prep
 %setup -q
-%patch1 -p0
+%patch1
 
 %build
 export CFLAGS="%{optflags} -fexceptions"
@@ -83,21 +85,23 @@
   --disable-static \
   --enable-cxx \
   --enable-fat
-make %{?_smp_mflags}
+%make_build
 
 %check
 # do not disable "make check", FIX THE BUGS!
-make %{?_smp_mflags} check
+%make_build check
 
 %install
 %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
 %postun -n libgmp10 -p /sbin/ldconfig
 %postun -n libgmpxx4 -p /sbin/ldconfig
+
 %post devel
 %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}
 
@@ -107,6 +111,7 @@
 %files -n libgmp10
 %license COPYING*
 %{_libdir}/libgmp.so.10*
+%{_libdir}/.libgmp.so.10.hmac
 
 %files -n libgmpxx4
 %{_libdir}/libgmpxx.so.4*

Reply via email to