Accepting request 1147808 from home:dimstar:rpm4.20:a

Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1147808
OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=82
This commit is contained in:
Fridrich Strba 2024-02-20 12:57:10 +00:00 committed by Git OBS Bridge
parent 516416f833
commit 7030f74318

View File

@ -115,12 +115,12 @@ find . -name "*.jar" -exec rm -f {} \;
find . -name "*.exe" -exec rm -f {} \;
find . -name "*.dll" -exec rm -f {} \;
find . -name Makefile.in | xargs chmod 0644
%patch0
%patch -P 0
cp -p %{SOURCE1} build.xml
#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
%patch2
%patch -P 2
# check for license problematic files:
find | grep "\(ShowString.java$\|StreamConverter.java$\)" && exit 42 || :