- Reduce dependencies a bit
OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr?expand=0&rev=28
This commit is contained in:
parent
841b510e5c
commit
4d074dd9d5
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
16
antlr.spec
16
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
|
||||
|
Loading…
Reference in New Issue
Block a user