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
This commit is contained in:
Fridrich Strba 2024-02-20 12:58:35 +00:00 committed by Git OBS Bridge
parent 3cc3262f05
commit c2c24e86ad
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 10:54:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %patch -P N instead of deprecated %patchN.
-------------------------------------------------------------------
Mon Sep 25 09:21:59 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -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