From c893a4763ee7fea0d348481ee2711f4c78879d490324a51b68231526d8d8f950 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Mon, 26 Feb 2024 12:55:11 +0000 Subject: [PATCH] Accepting request 1149354 from home:pgajdos:m - Use %patch -P N instead of deprecated %patchN. OBS-URL: https://build.opensuse.org/request/show/1149354 OBS-URL: https://build.opensuse.org/package/show/science:HPC/mvapich2?expand=0&rev=99 --- mvapich2.changes | 5 +++++ mvapich2.spec | 22 +++++++++++----------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/mvapich2.changes b/mvapich2.changes index c52c9ba..5e1a6c9 100644 --- a/mvapich2.changes +++ b/mvapich2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 11:49:03 UTC 2024 - pgajdos@suse.com + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Oct 26 10:42:07 UTC 2023 - Nicolas Morey diff --git a/mvapich2.spec b/mvapich2.spec index e09d9c3..325c6cb 100644 --- a/mvapich2.spec +++ b/mvapich2.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package mvapich2 # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -347,18 +347,18 @@ is based on MPICH2 and MVICH. This package contains the static libraries %{?with_hpc:%hpc_debug} %setup -q -n mvapich2-%{version}%{?rc_ver} -%patch0 -%patch2 -%patch3 -%patch4 -%patch5 -p1 -%patch6 -%patch7 +%patch -P 0 +%patch -P 2 +%patch -P 3 +%patch -P 4 +%patch -P 5 -p1 +%patch -P 6 +%patch -P 7 # Only apply these patches on Armv7 %ifarch armv7hl -%patch50 -p1 -%patch51 +%patch -P 50 -p1 +%patch -P 51 %endif cp /usr/share/automake*/config.* .