SHA256
1
0
forked from pool/ant

- Do not use gcj but java 1.8.0+ for building as gcj is gone from gcc7

- Do not use gcj but java 1.8.0+ for building as gcj is gone from gcc7

OBS-URL: https://build.opensuse.org/package/show/Java:packages/ant?expand=0&rev=72
This commit is contained in:
Tomáš Chvátal
2017-01-04 10:45:56 +00:00
committed by Git OBS Bridge
parent 1e0d7eb309
commit e5ab749979
5 changed files with 16 additions and 3 deletions

View File

@@ -52,7 +52,6 @@ Patch1: apache-ant-class-path-in-manifest.patch
Patch2: apache-ant-old-gcj-build.patch
#!BuildIgnore: java-1_6_0-openjdk java-1_6_0-openjdk-devel
#!BuildIgnore: java-1_7_0-openjdk java-1_7_0-openjdk-devel
BuildRequires: antlr-bootstrap
BuildRequires: java-devel >= 1.5.0
BuildRequires: javapackages-tools
BuildRequires: unzip
@@ -78,6 +77,8 @@ Obsoletes: ant-nodeps < %{version}
Provides: ant-nodeps = %{version}
Obsoletes: ant-trax < %{version}
Provides: ant-trax = %{version}
%else
BuildRequires: antlr-bootstrap
%endif
%if %{with antlr}
Requires: antlr