public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milos Jakubicek <xjakub@fi.muni.cz>
To: git-commits@fedoraproject.org
Subject: [rpms/antlr3] epel10: - Now really compile for Java 1.6 everything
Date: Wed, 22 Jul 2026 19:37:21 GMT	[thread overview]
Message-ID: <178474904105.1.7965995400827991059.rpms-antlr3-16513c441724@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/antlr3
Branch : epel10
Commit : 16513c441724f40fb1470b80f674f755330791f1
Author : Milos Jakubicek <xjakub@fi.muni.cz>
Date   : 2012-08-22T01:48:31+02:00
Stats  : +17/-6 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/antlr3/c/16513c441724f40fb1470b80f674f755330791f1?branch=epel10

Log:
- Now really compile for Java 1.6 everything

---
diff --git a/antlr3.spec b/antlr3.spec
index f4f3606..c9d4683 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -9,7 +9,7 @@
 Summary:            ANother Tool for Language Recognition
 Name:               antlr3
 Version:            %{antlr_version}
-Release:            10%{?dist}
+Release:            11%{?dist}
 URL:                http://www.antlr.org/
 Source0:            http://www.antlr.org/download/antlr-%{antlr_version}.tar.gz
 Source1:            http://www.antlr.org/download/C/libantlr3c-%{antlr_version}.tar.gz
@@ -140,6 +140,15 @@ sed -i 's:<module>antlr3-maven-archetype</module>::' pom.xml
 sed -i 's:<module>gunit</module>::' pom.xml
 sed -i 's:<module>gunit-maven-plugin</module>::' pom.xml
 
+# compile for target 1.6, see BZ#842572
+sed -i 's/jsr14/1.6/' antlr3-maven-archetype/src/main/resources/archetype-resources/pom.xml \
+                      antlr3-maven-plugin/pom.xml \
+					  gunit/pom.xml \
+					  gunit-maven-plugin/pom.xml \
+					  pom.xml \
+					  runtime/Java/pom.xml \
+					  tool/pom.xml
+
 # remove corrupted files:
 rm antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/._*
 rm gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/._GUnitExecuteMojo.java
@@ -176,15 +185,14 @@ cp %{SOURCE8} $MAVEN_REPO_LOCAL/org.antlr/antlr3-maven-plugin.jar
 
 # Build antlr
 %if %{with_bootstrap}
-mvn-rpmbuild -s $(pwd)/settings.xml -Dmaven.repo.local=$MAVEN_REPO_LOCAL -Dmaven.test.skip=true -Dmaven.compile.target=1.5 install
+mvn-rpmbuild -s $(pwd)/settings.xml -Dmaven.repo.local=$MAVEN_REPO_LOCAL -Dmaven.test.skip=true -Dmaven.compile.target=1.6 install
 %else
-mvn-rpmbuild -Dmaven.repo.local=$MAVEN_REPO_LOCAL -Dmaven.test.skip=true -Dmaven.compile.target=1.5 install
+mvn-rpmbuild -Dmaven.repo.local=$MAVEN_REPO_LOCAL -Dmaven.test.skip=true -Dmaven.compile.target=1.6 install
 %endif
 
 # Build the plugin
 pushd antlr3-maven-plugin
-mvn-rpmbuild -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-             install javadoc:javadoc
+mvn-rpmbuild -Dmaven.repo.local=$MAVEN_REPO_LOCAL -Dmaven.compile.target=1.6 install javadoc:javadoc
 popd
 
 ## Build the python runtime
@@ -313,7 +321,10 @@ popd
 %{_datadir}/antlr/
 
 %changelog
-* Sat Aug 18 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.4-10
+* Tue Aug 21 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.4-11
+- Now really compile for Java 1.6 everything
+
+ *Sat Aug 18 2012 Miloš Jakubíček <xjakub@fi.muni.cz> - 3.4-10
 - Explicitly compile for Java 1.5, to (maybe?) fix BZ#842572
 
 * Mon Aug 6 2012 Alexander Kurtakov <akurtako@redhat.com> 3.4-9

                 reply	other threads:[~2026-07-22 19:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178474904105.1.7965995400827991059.rpms-antlr3-16513c441724@fedoraproject.org \
    --to=xjakub@fi.muni.cz \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox