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.* .