From 9a0d1891040048d615da821f9c1ff86c19f34bb5c80a974505c4d09505316aad Mon Sep 17 00:00:00 2001 From: Gus Kenion Date: Wed, 21 Feb 2024 10:40:56 +0000 Subject: [PATCH] rpm 4.20 compat OBS-URL: https://build.opensuse.org/package/show/Java:packages/ecj?expand=0&rev=70 --- ecj.changes | 5 +++++ ecj.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ecj.changes b/ecj.changes index 2f575c9..d492f59 100644 --- a/ecj.changes +++ b/ecj.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 21 10:40:52 UTC 2024 - Gus Kenion + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Tue Feb 13 01:50:04 UTC 2024 - Fridrich Strba diff --git a/ecj.spec b/ecj.spec index fab1cdb..ea5c8b0 100644 --- a/ecj.spec +++ b/ecj.spec @@ -45,8 +45,8 @@ the JDT Core batch compiler. %prep %setup -q -c -%patch0 -p1 -%patch1 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 # Specify encoding sed -i -e '/compilerarg/s/Xlint:none/Xlint:none -encoding cp1252/' build.xml