diff --git a/antlr-bootstrap.spec b/antlr-bootstrap.spec index 7eea14a..bb3728a 100644 --- a/antlr-bootstrap.spec +++ b/antlr-bootstrap.spec @@ -1,7 +1,7 @@ # # spec file for package antlr-bootstrap # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/antlr.changes b/antlr.changes index 6a1df3d..df48dcf 100644 --- a/antlr.changes +++ b/antlr.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri May 19 13:28:56 UTC 2017 - tchvatal@suse.com + +- Reduce dependencies a bit + ------------------------------------------------------------------- Thu Dec 4 18:06:26 UTC 2014 - p.drouand@gmail.com diff --git a/antlr.spec b/antlr.spec index 9a6c29a..a4dd701 100644 --- a/antlr.spec +++ b/antlr.spec @@ -1,7 +1,7 @@ # # spec file for package antlr # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -35,12 +35,9 @@ Patch2: fix-docpath.diff BuildRequires: ant BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: libstdc++-devel -BuildRequires: python-devel -BuildRequires: unzip +BuildRequires: javapackages-tools BuildRequires: xml-commons-apis Requires: %{name}-java -Requires: javapackages-tools Provides: %{name}-bootstrap = %{version} Obsoletes: %{name}-bootstrap < %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -51,16 +48,11 @@ language tool that provides a framework for constructing recognizers, compilers, and translators from grammatical descriptions containing C++ or Java actions (you can use PCCTS 1.xx to generate C-based parsers). -# To not introduce arch dependent java package, lets have this in separate subpackage - %package java Summary: ANother Tool for Language Recognition (Manual) Group: Development/Tools/Other Requires: java >= 1.6.0 -Provides: file:/%{_javadir}/%{name}.jar -%if 0%{?suse_version} > 1200 BuildArch: noarch -%endif %description java ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a @@ -73,9 +65,7 @@ This package provides the Java runtime for antlr %package manual Summary: ANother Tool for Language Recognition (Manual) Group: Development/Tools/Other -%if 0%{?suse_version} > 1200 BuildArch: noarch -%endif %description manual ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a @@ -88,9 +78,7 @@ This package provides the manual and examples for antlr. %package javadoc Summary: ANother Tool for Language Recognition (Java Documentation) Group: Development/Tools/Other -%if 0%{?suse_version} > 1200 BuildArch: noarch -%endif %description javadoc ANTLR, Another Tool for Language Recognition, (formerly PCCTS) is a