[antlr3] Add back requires on stringtemplate for java subpackage

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Jul 24 14:37:45 UTC 2012


commit d36f212de9d889c9f7660f56d745e2e97fe4a8f3
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Jul 24 16:35:04 2012 +0200

    Add back requires on stringtemplate for java subpackage
    
    This is needed because tree/DOTTreeGenerator class uses stringtemplate
    3.x classes. However this class is not used in other parts and could
    likely be removed. This would produce jar incompatible with upstream
    so we should probably avoid doing that.

 antlr3.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/antlr3.spec b/antlr3.spec
index 092a68f..697de31 100644
--- a/antlr3.spec
+++ b/antlr3.spec
@@ -9,7 +9,7 @@
 Summary:            ANother Tool for Language Recognition
 Name:               antlr3
 Version:            %{antlr_version}
-Release:            7%{?dist}
+Release:            8%{?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
@@ -36,6 +36,7 @@ BuildRequires:      junit4
 BuildRequires:      tomcat6-servlet-2.5-api
 BuildRequires:      tomcat6
 BuildRequires:      stringtemplate4
+BuildRequires:      stringtemplate
 BuildRequires:      felix-parent
 %if ! %{with_bootstrap}
 BuildRequires:      antlr3-tool >= 3.2
@@ -72,6 +73,7 @@ Group:       Development/Libraries
 Summary:     Java run-time support for ANTLR-generated parsers
 BuildArch:   noarch
 Requires:    stringtemplate4
+Requires:    stringtemplate
 Requires:    jpackage-utils
 Requires:    java >= 1:1.6.0
 
@@ -304,6 +306,9 @@ popd
 %{_datadir}/antlr/
 
 %changelog
+* Tue Jul 24 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3.4-8
+- Add back requires on stringtemplate for java subpackage
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.4-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list