diff --git a/apache-commons-cli-build.xml b/apache-commons-cli-build.xml
index f00bf4f..76b91c7 100644
--- a/apache-commons-cli-build.xml
+++ b/apache-commons-cli-build.xml
@@ -43,10 +43,10 @@
debug="true"
optimize="false"
deprecation="true"
- target="7"
+ target="8"
verbose="false"
fork="false"
- source="7">
+ source="8">
@@ -85,7 +85,7 @@
nonavbar="false"
serialwarn="false"
charset="ISO-8859-1"
- source="7"
+ source="8"
linksource="true"
breakiterator="false">
diff --git a/apache-commons-cli.changes b/apache-commons-cli.changes
index 89bd15b..7297428 100644
--- a/apache-commons-cli.changes
+++ b/apache-commons-cli.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Sep 21 05:39:25 UTC 2023 - Fridrich Strba
+
+- Build with java source/target levels 8
+
-------------------------------------------------------------------
Thu Dec 16 16:26:28 UTC 2021 - David Anes
diff --git a/apache-commons-cli.spec b/apache-commons-cli.spec
index dd2323f..9c993c1 100644
--- a/apache-commons-cli.spec
+++ b/apache-commons-cli.spec
@@ -1,7 +1,7 @@
#
# spec file for package apache-commons-cli
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed