From 8f52576566be6eea404b5c8870a6e81aee31ec14 Mon Sep 17 00:00:00 2001 From: Milos Jakubicek Date: Jun 26 2012 11:41:18 +0000 Subject: Cleanup of Requires and BuildRequires on antlr2 antlr3.4 does not require antlr2 anymore, nor stringtemplate3, unfortunately these are stilled pulled in via a dependency chain of maven-shared -> dom4j -> ws-jaxme -> antlr-tool --- diff --git a/antlr3 b/antlr3 index 6a24b8d..76145de 100755 --- a/antlr3 +++ b/antlr3 @@ -14,7 +14,7 @@ fi # Configuration MAIN_CLASS="org.antlr.Tool" BASE_FLAGS="" -BASE_JARS="antlr.jar stringtemplate.jar stringtemplate4.jar antlr3.jar antlr3-runtime.jar" +BASE_JARS="stringtemplate4.jar antlr3.jar antlr3-runtime.jar" # Set parameters set_jvm diff --git a/antlr3.spec b/antlr3.spec index a15cdd8..62b4012 100644 --- a/antlr3.spec +++ b/antlr3.spec @@ -9,7 +9,7 @@ Summary: ANother Tool for Language Recognition Name: antlr3 Version: %{antlr_version} -Release: 5%{?dist} +Release: 6%{?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 @@ -25,7 +25,6 @@ License: BSD Group: Development/Libraries BuildRequires: java-devel >= 1:1.6.0 BuildRequires: jpackage-utils -BuildRequires: antlr-maven-plugin BuildRequires: maven BuildRequires: maven-enforcer-plugin BuildRequires: maven-plugin-bundle @@ -36,7 +35,6 @@ BuildRequires: buildnumber-maven-plugin BuildRequires: junit4 BuildRequires: tomcat6-servlet-2.5-api BuildRequires: tomcat6 -BuildRequires: stringtemplate >= 3.2 BuildRequires: stringtemplate4 BuildRequires: felix-parent %if ! %{with_bootstrap} @@ -61,8 +59,6 @@ Requires: java >= 1:1.6.0 Provides: %{name} = %{antlr_version}-%{release} Obsoletes: %{name} < %{antlr_version}-%{release} Requires: %{name}-java = %{antlr_version}-%{release} -Requires: antlr -Requires: stringtemplate >= 3.2 Requires: stringtemplate4 %description tool @@ -75,7 +71,6 @@ descriptions containing actions in a variety of target languages. Group: Development/Libraries Summary: Java run-time support for ANTLR-generated parsers BuildArch: noarch -Requires: stringtemplate Requires: stringtemplate4 Requires: jpackage-utils Requires: java >= 1:1.6.0 @@ -309,6 +304,10 @@ popd %{_datadir}/antlr/ %changelog +* Tue Jun 26 2012 Miloš Jakubíček - 3.4-6 +- Fixed missing stringtemplate4 in antlr3 generator classpath +- Cleanup of Requires and BuildRequires on antlr2 + * Thu Feb 23 2012 Miloš Jakubíček - 3.4-5 - Disable python runtime (incompatible with current antlr version)