From 86aa3f2481a4dae404fafc49c4d8cbc0b0f5a77eaa895ae5dc51b47d7f064b4f Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:45:41 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/javacc-maven-plugin?expand=0&rev=10 --- javacc-maven-plugin.changes | 5 +++++ javacc-maven-plugin.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/javacc-maven-plugin.changes b/javacc-maven-plugin.changes index 6d1df18..55201e2 100644 --- a/javacc-maven-plugin.changes +++ b/javacc-maven-plugin.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:45:39 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Sep 25 09:36:52 UTC 2023 - Fridrich Strba diff --git a/javacc-maven-plugin.spec b/javacc-maven-plugin.spec index 9c17578..2e7da12 100644 --- a/javacc-maven-plugin.spec +++ b/javacc-maven-plugin.spec @@ -1,7 +1,7 @@ # # spec file for package javacc-maven-plugin # -# 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 @@ -56,7 +56,7 @@ API documentation for %{name}. %prep %setup -q -%patch0 -b .sav +%patch -P 0 -b .sav cp -p %{SOURCE1} . # migrate to maven 3