From 7360c5b40ac2e3cd1fa4b86afee6f236657809d5adf2d55e1184cd99d1e581a6 Mon Sep 17 00:00:00 2001 From: Guillaume GARDET Date: Mon, 26 Feb 2024 09:09:32 +0000 Subject: [PATCH] Accepting request 1147751 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147751 OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/armnn?expand=0&rev=84 --- armnn.changes | 5 +++++ armnn.spec | 16 ++++++++-------- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/armnn.changes b/armnn.changes index 2a15eeb..953119d 100644 --- a/armnn.changes +++ b/armnn.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 10:17:12 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Thu Dec 7 09:09:13 UTC 2023 - Guillaume GARDET diff --git a/armnn.spec b/armnn.spec index 54188b9..27aa36d 100644 --- a/armnn.spec +++ b/armnn.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package armnn # -# 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 @@ -373,12 +373,12 @@ This package contains the libarmnnOnnxParser library from armnn. %prep %setup -q -n armnn-%{version} %if %{with armnn_extra_tests} -%patch200 -p1 -%patch201 -p1 -%patch202 -p1 -%patch203 -p1 -%patch204 -p1 -%patch205 -p1 +%patch -P 200 -p1 +%patch -P 201 -p1 +%patch -P 202 -p1 +%patch -P 203 -p1 +%patch -P 204 -p1 +%patch -P 205 -p1 # Add Boost log as downstream extra test requires it sed -i 's/ find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework)/find_package(Boost 1.59 REQUIRED COMPONENTS unit_test_framework filesystem system log program_options)/' ./cmake/GlobalConfig.cmake %endif