From 2a4f45ce45fcbf3acca76dcba5c6eda227466b2b5376bd2709cd799651925ba4 Mon Sep 17 00:00:00 2001 From: Atri Bhattacharya Date: Thu, 22 Feb 2024 11:56:17 +0000 Subject: [PATCH] Accepting request 1149027 from home:dimstar:rpm4.20:h Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149027 OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=170 --- hdf5.changes | 5 +++++ hdf5.spec | 44 ++++++++++++++++++++++---------------------- 2 files changed, 27 insertions(+), 22 deletions(-) diff --git a/hdf5.changes b/hdf5.changes index 1365938..0c0ac9d 100644 --- a/hdf5.changes +++ b/hdf5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 22 07:48:45 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Fri Feb 2 18:36:08 UTC 2024 - Atri Bhattacharya diff --git a/hdf5.spec b/hdf5.spec index 7d25bca..13c9cec 100644 --- a/hdf5.spec +++ b/hdf5.spec @@ -568,30 +568,30 @@ library packages. %prep %{?with_hpc: %hpc_debug} %setup -q -n %{pname}-%{version} -%patch0 -p1 -b .LD_LIBRARY_PATH -%patch2 -p0 -b .abort_unknown_host_config +%patch -P 0 -p1 -b .LD_LIBRARY_PATH +%patch -P 2 -p0 -b .abort_unknown_host_config %ifarch %arm -%patch4 -p0 -b .tests-arm +%patch -P 4 -p0 -b .tests-arm %endif -%patch5 -p1 -%patch6 -p1 -# %%patch7 -p1 -%patch8 -p1 -%patch9 -p1 -%patch10 -p1 -%patch101 -p1 -%patch102 -p1 -%patch103 -p1 -%patch104 -p1 -%patch105 -p1 -%patch106 -p1 -%patch107 -p1 -%patch108 -p1 -%patch109 -p1 -%patch110 -p1 -%patch111 -p1 -%patch112 -p1 -%patch113 -p1 +%patch -P 5 -p1 +%patch -P 6 -p1 +# %%patch -P 7 -p1 +%patch -P 8 -p1 +%patch -P 9 -p1 +%patch -P 10 -p1 +%patch -P 101 -p1 +%patch -P 102 -p1 +%patch -P 103 -p1 +%patch -P 104 -p1 +%patch -P 105 -p1 +%patch -P 106 -p1 +%patch -P 107 -p1 +%patch -P 108 -p1 +%patch -P 109 -p1 +%patch -P 110 -p1 +%patch -P 111 -p1 +%patch -P 112 -p1 +%patch -P 113 -p1 %if %{without hpc} # baselibs looks different for different flavors - generate it on the fly