From 00a9153900f677ad69b2c742709bb6ed81a5edb2f6447e5dc681ac3a51d3bd6e Mon Sep 17 00:00:00 2001
From: Fridrich Strba <fstrba@suse.com>
Date: Sat, 19 Mar 2022 13:03:49 +0000
Subject: [PATCH] OBS-URL:
 https://build.opensuse.org/package/show/Java:packages/aopalliance?expand=0&rev=5

---
 aopalliance.changes | 5 +++++
 aopalliance.spec    | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/aopalliance.changes b/aopalliance.changes
index 6d0b9cf..0fe5502 100644
--- a/aopalliance.changes
+++ b/aopalliance.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Sat Mar 19 13:03:25 UTC 2022 - Fridrich Strba <fstrba@suse.com>
+
+- Build with source/target levels 8
+
 -------------------------------------------------------------------
 Thu Feb  7 16:11:13 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
 
diff --git a/aopalliance.spec b/aopalliance.spec
index d72d61f..542653b 100644
--- a/aopalliance.spec
+++ b/aopalliance.spec
@@ -1,7 +1,7 @@
 #
 # spec file for package aopalliance
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -57,7 +57,7 @@ This package contains the API documentation for %{name}.
 export CLASSPATH=
 export OPT_JAR_LIST=:
 %{ant} \
-  -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 \
+  -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 \
   -Dbuild.sysclasspath=only jar javadoc
 
 # Inject OSGi manifest required by Eclipse.