diff --git a/felix-utils-build.xml b/felix-utils-build.xml
index 97b8125..4c27254 100644
--- a/felix-utils-build.xml
+++ b/felix-utils-build.xml
@@ -25,7 +25,8 @@
-
+
+
@@ -65,6 +66,7 @@
debug="true"
optimize="false"
deprecation="true"
+ release="${compiler.release}"
target="${compiler.target}"
verbose="false"
fork="false"
diff --git a/felix-utils.changes b/felix-utils.changes
index 399d40d..cb74f95 100644
--- a/felix-utils.changes
+++ b/felix-utils.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Wed Oct 25 15:11:28 UTC 2023 - Fridrich Strba
+
+- Build with source and target levels 8
+
-------------------------------------------------------------------
Tue Mar 31 06:19:36 UTC 2020 - Fridrich Strba
diff --git a/felix-utils.spec b/felix-utils.spec
index 7af2bad..46f0e6b 100644
--- a/felix-utils.spec
+++ b/felix-utils.spec
@@ -1,7 +1,7 @@
#
# spec file for package felix-utils
#
-# Copyright (c) 2020 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