From c2c24e86ad1fa92b8f5c731ba1b5e824f99420d055eccb480136c5d143289bcb Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 12:58:35 +0000 Subject: [PATCH] Accepting request 1147812 from home:dimstar:rpm4.20:a Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1147812 OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr3?expand=0&rev=44 --- antlr3.changes | 5 +++++ antlr3.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/antlr3.changes b/antlr3.changes index 496ac9c..1dbc8ce 100644 --- a/antlr3.changes +++ b/antlr3.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 20 10:54:40 UTC 2024 - Dominique Leuenberger + +- Use %patch -P N instead of deprecated %patchN. + ------------------------------------------------------------------- Mon Sep 25 09:21:59 UTC 2023 - Fridrich Strba diff --git a/antlr3.spec b/antlr3.spec index 9ea064f..7f85fcf 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -125,15 +125,15 @@ BuildArch: noarch %prep %setup -q -n antlr3-%{antlr_version} %if %{with bootstrap} -%patch100 +%patch -P 100 %pom_remove_plugin :antlr3-maven-plugin tool %endif sed -i "s,\${buildNumber},`date -u -d@${SOURCE_DATE_EPOCH:-$(date +%%s)}`," tool/src/main/resources/org/antlr/antlr.properties -%patch0 -p1 -%patch1 -%patch2 -p1 -%patch3 -p1 +%patch -P 0 -p1 +%patch -P 1 +%patch -P 2 -p1 +%patch -P 3 -p1 # remove pre-built artifacts find -type f -a -name *.jar -delete