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