Accepting request 1116695 from science:HPC

OBS-URL: https://build.opensuse.org/request/show/1116695
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mpiP?expand=0&rev=16
This commit is contained in:
Ana Guerrero 2023-10-10 19:01:22 +00:00 committed by Git OBS Bridge
commit 1499bb4f1c
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 10 09:40:37 UTC 2023 - Nicolas Morey <nicolas.morey@suse.com>
- Drop %vers macro so that the Version tag can be parsed more easily
-------------------------------------------------------------------
Mon Oct 24 06:45:37 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -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
@ -19,7 +19,6 @@
%global flavor @BUILD_FLAVOR@%{nil}
%define pname mpiP
%define vers 3.5
%define _vers 3_5
%if 0%{?sle_version} >= 150200
@ -259,7 +258,7 @@ Name: %{?hpc_package_name:%{hpc_package_name %_vers}}%{!?hpc_package_n
Summary: A profiling library for MPI applications
License: BSD-3-Clause
Group: Development/Tools/Debuggers
Version: %vers
Version: 3.5
Release: 0
URL: https://github.com/LLNL/mpiP
Source0: https://github.com/LLNL/mpiP/releases/download/%{version}/mpip-%{version}.tgz#/%{pname}-%{version}.tgz
@ -320,6 +319,10 @@ This contains the documentation.
%{hpc_master_package doc}
%if "%(echo %version | tr '.' '_')" != "%_vers"
%{error: Fix _vers variable to match package version!}
%endif
%prep
%setup -q -n %{pname}-%{version}
%autopatch -p1