Accepting request 1148020 from Java:packages

rpm 4.20 compat

OBS-URL: https://build.opensuse.org/request/show/1148020
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/antlr?expand=0&rev=53
This commit is contained in:
Ana Guerrero 2024-02-21 16:52:15 +00:00 committed by Git OBS Bridge
commit 44355af724
3 changed files with 10 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# #
# spec file for package antlr-bootstrap # spec file for package antlr-bootstrap
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Feb 20 13:27:59 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Use %patch -P N instead of deprecated %patchN.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 17 11:07:22 UTC 2023 - Fridrich Strba <fstrba@suse.com> Tue Oct 17 11:07:22 UTC 2023 - Fridrich Strba <fstrba@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package antlr # spec file for package antlr
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -115,12 +115,12 @@ find . -name "*.jar" -exec rm -f {} \;
find . -name "*.exe" -exec rm -f {} \; find . -name "*.exe" -exec rm -f {} \;
find . -name "*.dll" -exec rm -f {} \; find . -name "*.dll" -exec rm -f {} \;
find . -name Makefile.in | xargs chmod 0644 find . -name Makefile.in | xargs chmod 0644
%patch0 %patch -P 0
cp -p %{SOURCE1} build.xml cp -p %{SOURCE1} build.xml
#Fix the source so that it compiles with GCC 4.5 #Fix the source so that it compiles with GCC 4.5
%patch1 -p1 %patch -P 1 -p1
#Ensure that the manuals are installed in the correct openSUSE docpath #Ensure that the manuals are installed in the correct openSUSE docpath
%patch2 %patch -P 2
# check for license problematic files: # check for license problematic files:
find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || : find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || :