forked from pool/openmpi4
Accepting request 1116699 from science:HPC
OBS-URL: https://build.opensuse.org/request/show/1116699 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openmpi4?expand=0&rev=12
This commit is contained in:
commit
b77693939b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 10 09:44:40 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>
|
||||
|
||||
- Drop %vers macro so that the Version tag can be parsed more easily
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 2 07:35:01 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>
|
||||
|
||||
|
@ -42,7 +42,6 @@
|
||||
# % define build_static_devel 1
|
||||
|
||||
%global pname openmpi
|
||||
%global vers 4.1.6
|
||||
%define _vers 4_1_6
|
||||
%define m_f_ver 4
|
||||
%bcond_with ringdisabled
|
||||
@ -133,7 +132,7 @@ ExclusiveArch: do_not_build
|
||||
#############################################################################
|
||||
|
||||
Name: %{package_name}%{?testsuite:-testsuite}
|
||||
Version: %{vers}
|
||||
Version: 4.1.6
|
||||
Release: 0
|
||||
Summary: An implementation of MPI/SHMEM (Version %{m_f_ver})
|
||||
License: BSD-3-Clause
|
||||
@ -396,6 +395,10 @@ This RPM contains the configuration files for OpenMPI runtime (Version 3).
|
||||
%endif # ?with_hpc
|
||||
%endif # !testsuite
|
||||
|
||||
%if "%(echo %version | tr '.' '_')" != "%_vers"
|
||||
%{error: Fix _vers variable to match package version!}
|
||||
%endif
|
||||
|
||||
#############################################################################
|
||||
#
|
||||
# Prepatory Section
|
||||
|
Loading…
Reference in New Issue
Block a user