6
0
forked from pool/cpptasks
2018-05-16 10:45:16 +00:00
committed by Git OBS Bridge
parent 9128d82113
commit 885faa0f45
2 changed files with 10 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 16 10:44:34 UTC 2018 - fstrba@suse.com
- Build with source and target 8 to prepare for a possible removal
of 1.6 compatibility in OpenJDK 11
-------------------------------------------------------------------
Thu Sep 21 14:41:05 UTC 2017 - kkaempf@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package cpptasks
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -27,10 +27,11 @@ Source0: http://downloads.sourceforge.net/ant-contrib/%{name}-%{version}.
BuildRequires: ant
BuildRequires: ant-junit
BuildRequires: fdupes
BuildRequires: java-devel >= 1.8
BuildRequires: jpackage-utils
BuildRequires: junit
Requires: ant
Requires: java
Requires: java >= 1.8
BuildArch: noarch
%description
@@ -54,7 +55,7 @@ find . -name '*.jar' -type f -delete -print
export OPT_JAR_LIST="ant/ant-junit junit"
export CLASSPATH=""
%{ant} \
-Djavac.source=1.6 -Djavac.target=1.6 \
-Djavac.source=8 -Djavac.target=8 \
jars javadocs
%install