From 5bb516049d226347b962736ec79dce7378a34323a6564ad32da93ea61cd895ff Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:48:49 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/logback?expand=0&rev=18 --- logback.changes | 5 +++++ logback.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/logback.changes b/logback.changes index 1d2ccdf..0b237a3 100644 --- a/logback.changes +++ b/logback.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:48:45 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Sat Sep 9 14:35:55 UTC 2023 - Fridrich Strba diff --git a/logback.spec b/logback.spec index c5bbf23..d050f43 100644 --- a/logback.spec +++ b/logback.spec @@ -1,7 +1,7 @@ # # spec file for package logback # -# 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 @@ -86,8 +86,8 @@ chmod -x README.md LICENSE.txt find . -type f -exec chmod -x {} \; chmod +x %{name}-examples/src/main/resources/setClasspath.sh -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 %pom_remove_plugin :maven-source-plugin %pom_remove_plugin :findbugs-maven-plugin