From 1a77d66e5a982ff3d279ca7cb1b3a5498f14689acf98d71fc363a3abbc5a5fdd Mon Sep 17 00:00:00 2001 From: Fridrich Strba Date: Sat, 19 Mar 2022 10:32:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Java:packages/servletapi5?expand=0&rev=17 --- servletapi5.changes | 5 +++++ servletapi5.spec | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/servletapi5.changes b/servletapi5.changes index ead3967..6973e1a 100644 --- a/servletapi5.changes +++ b/servletapi5.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Mar 19 10:31:58 UTC 2022 - Fridrich Strba + +- Build with java source/target levels 8 + ------------------------------------------------------------------- Wed Aug 4 14:29:48 UTC 2021 - Stefan Bluhm diff --git a/servletapi5.spec b/servletapi5.spec index 64d3d83..9d4a1f0 100644 --- a/servletapi5.spec +++ b/servletapi5.spec @@ -1,7 +1,7 @@ # # spec file for package servletapi5 # -# Copyright (c) 2017 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 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,7 +24,7 @@ Release: 0 Summary: Java servlet and JSP implementation classes License: Apache-2.0 Group: Development/Libraries/Java -Url: http://jakarta.apache.org/tomcat/ +URL: http://jakarta.apache.org/tomcat/ Source: %{full_name}-5-src.tar.gz #!BuildIgnore: xml-commons xml-commons-resolver xerces-j2 xml-commons-apis #!BuildIgnore: xml-commons-jaxp-1.3-apis @@ -53,11 +53,11 @@ cd jakarta-tomcat-%{version}-src/jakarta-servletapi-5 find . -type f -name "*.jar" -exec rm -f {} \; pushd . cd jsr154 -ant jar examples -Dservletapi.build=build -Dservletapi.dist=dist -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 +ant jar examples -Dservletapi.build=build -Dservletapi.dist=dist -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 popd pushd . cd jsr152 -ant jar examples -Dservletapi.build=build -Dservletapi.dist=dist -Dant.build.javac.source=1.6 -Dant.build.javac.target=1.6 +ant jar examples -Dservletapi.build=build -Dservletapi.dist=dist -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8 popd %install