public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/antlr3] epel10: Specify -source and -target for antlr-ant.
@ 2026-07-22 19:37 Jerry James
0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-22 19:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/antlr3
Branch : epel10
Commit : a7e125e70630a319bdc30c0f634d23bd59ba7e52
Author : Jerry James <loganjerry@gmail.com>
Date : 2020-07-24T17:11:53-06:00
Stats : +2/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/antlr3/c/a7e125e70630a319bdc30c0f634d23bd59ba7e52?branch=epel10
Log:
Specify -source and -target for antlr-ant.
---
diff --git a/antlr3.spec b/antlr3.spec
index ef10eac..fdad4c1 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -196,7 +196,8 @@ popd
# build ant task
pushd antlr-ant/main/antlr3-task/
export CLASSPATH=$(build-classpath ant)
-javac -encoding ISO-8859-1 antlr3-src/org/apache/tools/ant/antlr/ANTLR3.java
+javac -encoding ISO-8859-1 -source 1.8 -target 1.8 \
+ antlr3-src/org/apache/tools/ant/antlr/ANTLR3.java
jar cvf ant-antlr3.jar \
-C antlr3-src org/apache/tools/ant/antlr/antlib.xml \
-C antlr3-src org/apache/tools/ant/antlr/ANTLR3.class
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-22 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-22 19:37 [rpms/antlr3] epel10: Specify -source and -target for antlr-ant Jerry James
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox