[antlr3/f17] Cleanup of Requires and BuildRequires on antlr2

Miloš Jakubíček mjakubicek at fedoraproject.org
Tue Jun 26 11:43:01 UTC 2012


commit 8f52576566be6eea404b5c8870a6e81aee31ec14
Author: Milos Jakubicek <xjakub at fi.muni.cz>
Date:   Tue Jun 26 13:41:18 2012 +0200

    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

 antlr3      |    2 +-
 antlr3.spec |   11 +++++------
 2 files changed, 6 insertions(+), 7 deletions(-)
---
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 <xjakub at fi.muni.cz> - 3.4-6
+- Fixed missing stringtemplate4 in antlr3 generator classpath
+- Cleanup of Requires and BuildRequires on antlr2
+
 * Thu Feb 23 2012 Miloš Jakubíček <xjakub at fi.muni.cz> - 3.4-5
 - Disable python runtime (incompatible with current antlr version)
 


More information about the scm-commits mailing list