diff --git a/glassfish-servlet-api-build.xml b/glassfish-servlet-api-build.xml
index 97ec2aa..a9946e6 100644
--- a/glassfish-servlet-api-build.xml
+++ b/glassfish-servlet-api-build.xml
@@ -49,10 +49,10 @@
optimize="false"
deprecation="true"
encoding="${project.build.sourceEncoding}"
- target="1.7"
+ target="1.8"
verbose="false"
fork="false"
- source="1.7">
+ source="1.8">
@@ -83,7 +83,7 @@
version="true"
use="true"
encoding="${project.build.sourceEncoding}"
- source="1.7"
+ source="1.8"
author="true"
splitindex="false"
windowtitle="Java Servlet 3.1"
diff --git a/glassfish-servlet-api.changes b/glassfish-servlet-api.changes
index fe9244c..bc3746b 100644
--- a/glassfish-servlet-api.changes
+++ b/glassfish-servlet-api.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Sep 21 05:43:44 UTC 2023 - Fridrich Strba
+
+- Build with java source/target levels 8
+
-------------------------------------------------------------------
Mon Apr 8 11:08:15 UTC 2019 - Fridrich Strba
diff --git a/glassfish-servlet-api.spec b/glassfish-servlet-api.spec
index 115fbca..a8aa959 100644
--- a/glassfish-servlet-api.spec
+++ b/glassfish-servlet-api.spec
@@ -1,7 +1,7 @@
#
# spec file for package glassfish-servlet-api
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -21,7 +21,7 @@ Name: glassfish-servlet-api
Version: 3.1.0
Release: 0
Summary: Java Servlet API
-License: (CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0) AND Apache-2.0
+License: Apache-2.0 AND (CDDL-1.0 OR GPL-2.0-only WITH Classpath-exception-2.0)
Group: Development/Libraries/Java
URL: http://servlet-spec.java.net
Source0: https://github.com/javaee/servlet-spec/archive/%{version}.tar.gz