Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package imb for openSUSE:Factory checked in 
at 2023-10-10 21:01:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/imb (Old)
 and      /work/SRC/openSUSE:Factory/.imb.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "imb"

Tue Oct 10 21:01:22 2023 rev:14 rq:1116694 version:2021.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/imb/imb.changes  2022-09-30 17:59:11.205427189 
+0200
+++ /work/SRC/openSUSE:Factory/.imb.new.28202/imb.changes       2023-10-10 
21:02:55.891807442 +0200
@@ -1,0 +2,5 @@
+Tue Oct 10 09:39:24 UTC 2023 - Nicolas Morey <[email protected]>
+
+- Drop %ver macro so that the Version tag can be parsed more easily
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ imb.spec ++++++
--- /var/tmp/diff_new_pack.vZGdM0/_old  2023-10-10 21:02:57.079850524 +0200
+++ /var/tmp/diff_new_pack.vZGdM0/_new  2023-10-10 21:02:57.079850524 +0200
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -21,7 +21,6 @@
 # Base package name
 %define pname imb
 %define PNAME IMB
-%define ver 2021.3
 %define _ver 2021_3
 
 %if 0%{?sle_version} >= 150200
@@ -405,7 +404,7 @@
 %endif
 
 Name:           %{package_name}
-Version:        %{ver}
+Version:        2021.3
 Release:        0
 Summary:        Intel MPI Benchmarks (IMB)
 License:        BSD-3-Clause
@@ -416,7 +415,7 @@
 BuildRequires:  %{flavor}-devel
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
-Obsoletes:      imb
+Obsoletes:      imb < %{version}
 %else
 BuildRequires:  %{compiler_family}%{?c_f_ver}-compilers-hpc-macros-devel
 BuildRequires:  
%{mpi_flavor}%{?mpi_vers}-%{compiler_family}%{?c_f_ver}-hpc-macros-devel
@@ -431,6 +430,10 @@
 
 %{?with_hpc:%{hpc_master_package -L}}
 
+%if "%(echo %version | tr '.' '_')" != "%_ver"
+%{error: Fix _ver variable to match package version!}
+%endif
+
 %prep
 %setup -n mpi-benchmarks-IMB-v%{version}
 

Reply via email to