Fridrich Strba 2018-05-16 09:08:01 +00:00 committed by Git OBS Bridge
parent 8285d9c461
commit 007782d4c7
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed May 16 09:07:44 UTC 2018 - fstrba@suse.com
- Build with source and target 8 to prepare for a possible removal
of 1.6 compatibility in OpenJDK 11
-------------------------------------------------------------------
Mon Sep 18 06:30:45 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cglib
#
# 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
@ -29,7 +29,7 @@ Source1: /%{name}-%{version}.pom
Patch0: %{name}-build_xml.patch
BuildRequires: ant >= 1.6
BuildRequires: fdupes
BuildRequires: java-devel >= 1.6.0
BuildRequires: java-devel >= 1.8
# Needed for maven conversions
BuildRequires: javapackages-local
BuildRequires: javapackages-tools
@ -62,7 +62,7 @@ build-jar-repository -s -p lib objectweb-asm ant
%build
ant \
-Dcompile.target=1.6 -Dcompile.source=1.6 \
-Dcompile.target=8 -Dcompile.source=8 \
jar javadoc
%install