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