From 7030f7431865ecdc21487855cf447e1525e3c45aeb2d79ffe581ed5a15d772f7 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 20 Feb 2024 12:57:10 +0000 Subject: [PATCH] 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 --- antlr.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/antlr.spec b/antlr.spec index bbaf572..8ca731c 100644 --- a/antlr.spec +++ b/antlr.spec @@ -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 || :