Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package form for openSUSE:Factory checked in 
at 2021-10-04 18:39:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/form (Old)
 and      /work/SRC/openSUSE:Factory/.form.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "form"

Mon Oct  4 18:39:43 2021 rev:7 rq:922667 version:4.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/form/form.changes        2019-11-06 
14:05:53.516772590 +0100
+++ /work/SRC/openSUSE:Factory/.form.new.2443/form.changes      2021-10-04 
18:40:53.126147236 +0200
@@ -1,0 +2,5 @@
+Thu Sep 30 21:04:04 UTC 2021 - Nicolas Morey-Chaisemartin 
<[email protected]>
+
+- Use openmpi macros to always build with the default openmpi version. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ form.spec ++++++
--- /var/tmp/diff_new_pack.gTcn8i/_old  2021-10-04 18:40:53.618148036 +0200
+++ /var/tmp/diff_new_pack.gTcn8i/_new  2021-10-04 18:40:53.618148036 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package form
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -19,8 +19,6 @@
 # Documentation building fails due to LaTeX errors; disable for now
 %define with_doc 0
 
-%define omp_ver openmpi2
-
 %define reldate 20190212
 Name:           form
 Version:        4.2.1
@@ -28,10 +26,9 @@
 Summary:        A Symbolic Manipulation System
 License:        GPL-3.0-or-later
 Group:          Productivity/Scientific/Math
-Url:            https://github.com/vermaseren/form/
+URL:            https://github.com/vermaseren/form/
 Source0:        https://github.com/vermaseren/form/archive/v%{version}.tar.gz
 Source1:        %{name}-rpmlintrc
-BuildRequires:  %{omp_ver}-devel
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  doxygen
@@ -40,6 +37,7 @@
 BuildRequires:  git
 BuildRequires:  gmp-devel
 BuildRequires:  libtool
+BuildRequires:  openmpi-macros-devel
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(zlib)
 %if %{with_doc}
@@ -70,6 +68,7 @@
 %endif
 Recommends:     %{name}-doc = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+%openmpi_requires
 
 %description
 FORM is a Symbolic Manipulation System. It reads symbolic expressions from 
files
@@ -99,9 +98,7 @@
 sed -i "s/PRODUCTIONDATE __DATE__/PRODUCTIONDATE %{reldate}/" configure.ac
 
 %build
-if [ -f %{_libdir}/mpi/gcc/%{omp_ver}/bin/mpivars.sh ]; then
-  source %{_libdir}/mpi/gcc/%{omp_ver}/bin/mpivars.sh
-fi
+%setup_openmpi
 
 sed -i "s|-march=native||g" configure.ac
 autoreconf -fvi

Reply via email to