From 3f3ad6192c772619bcec8773699cfe2797cf1948 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 28 Oct 2019 13:34:05 +0100 Subject: [PATCH] Switch compiler sourte/target to 1.6 --- atinject-target-1.5.patch => atinject-target-1.6.patch | 4 ++-- atinject.spec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename atinject-target-1.5.patch => atinject-target-1.6.patch (78%) diff --git a/atinject-target-1.5.patch b/atinject-target-1.6.patch similarity index 78% rename from atinject-target-1.5.patch rename to atinject-target-1.6.patch index 69f07f0..097412a 100644 --- a/atinject-target-1.5.patch +++ b/atinject-target-1.6.patch @@ -6,8 +6,8 @@ # Compile classes. -javac -g -d build/classes `find src -name *.java` -javac -g -classpath build/classes:lib/junit.jar -d build/tck/classes \ -+javac -source 1.5 -target 1.5 -g -d build/classes `find src -name *.java` -+javac -source 1.5 -target 1.5 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \ ++javac -source 1.6 -target 1.6 -g -d build/classes `find src -name *.java` ++javac -source 1.6 -target 1.6 -g -classpath build/classes:lib/junit.jar -d build/tck/classes \ `find tck -name *.java` FOOTER="Copyright (C) 2009 \ diff --git a/atinject.spec b/atinject.spec index 8f3734a..b61316b 100644 --- a/atinject.spec +++ b/atinject.spec @@ -18,8 +18,8 @@ Source1: MANIFEST.MF Source2: MANIFEST-TCK.MF Source3: http://www.apache.org/licenses/LICENSE-2.0.txt -# Compile with source/target 1.5 -Patch0: %{name}-target-1.5.patch +# Compile with source/target 1.6 +Patch0: %{name}-target-1.6.patch BuildRequires: javapackages-local BuildRequires: java-devel