From 9caccb6596beba7ad23949c5b25a88931e1b53390bf6f1067acaedb77d374630 Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Tue, 15 May 2018 13:40:58 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/appframework?expand=0&rev=21 --- appframework-sourcetarget.patch | 4 ++-- appframework.changes | 8 ++++++++ appframework.spec | 8 ++++---- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/appframework-sourcetarget.patch b/appframework-sourcetarget.patch index 7b19b2d..fc2e683 100644 --- a/appframework-sourcetarget.patch +++ b/appframework-sourcetarget.patch @@ -6,8 +6,8 @@ javac.deprecation=false -javac.source=1.5 -javac.target=1.5 -+javac.source=1.6 -+javac.target=1.6 ++javac.source=8 ++javac.target=8 javac.test.classpath=\ ${javac.classpath}:\ ${build.classes.dir}:\ diff --git a/appframework.changes b/appframework.changes index 638a964..52e73f6 100644 --- a/appframework.changes +++ b/appframework.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 15 13:39:49 UTC 2018 - fstrba@suse.com + +- Modified patch: + * appframework-sourcetarget.patch + + Build with source and target 8 to prepare for a possible + removal of 1.6 compatibility in OpenJDK 11 + ------------------------------------------------------------------- Fri Sep 15 07:41:38 UTC 2017 - fstrba@suse.com diff --git a/appframework.spec b/appframework.spec index febf68f..3bbe9f9 100644 --- a/appframework.spec +++ b/appframework.spec @@ -1,7 +1,7 @@ # # spec file for package appframework # -# 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 @@ -20,7 +20,7 @@ Name: appframework Version: 1.03 Release: 0 Summary: Swing Application Framework -License: LGPL-2.0+ +License: LGPL-2.0-or-later Group: Development/Libraries/Java Url: https://appframework.dev.java.net/ Source0: https://appframework.dev.java.net/downloads/AppFramework-%{version}-src.tar.bz2 @@ -29,10 +29,10 @@ Patch1: %{name}-%{version}-openjdk.diff Patch2: %{name}-sourcetarget.patch BuildRequires: ant BuildRequires: fdupes -BuildRequires: java-devel >= 1.6 +BuildRequires: java-devel >= 1.8 BuildRequires: javapackages-tools BuildRequires: swing-layout >= 1.0.3 -Requires: java >= 1.6 +Requires: java >= 1.8 Requires: swing-layout >= 1.0.3 BuildArch: noarch