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