Accepting request 963028 from Java:packages

Build with source/target levels 8

OBS-URL: https://build.opensuse.org/request/show/963028
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/servletapi4?expand=0&rev=21
This commit is contained in:
Dominique Leuenberger 2022-03-28 14:59:14 +00:00 committed by Git OBS Bridge
commit 8cad9892a7
3 changed files with 13 additions and 6 deletions

View File

@ -6,7 +6,7 @@ Index: jakarta-servletapi-4-src/build.xml
<!-- Java classes -->
<javac srcdir="src/share" destdir="${servletapi.build}/classes"
+ source="1.6" target="1.6"
+ source="1.8" target="1.8"
debug="${compile.debug}" deprecation="${compile.deprecation}"
optimize="${compile.optimize}"/>
@ -14,7 +14,7 @@ Index: jakarta-servletapi-4-src/build.xml
<target name="javadoc" depends="prepare">
<javadoc packagenames="javax.servlet.*"
+ source="1.6"
+ source="1.8"
sourcepath="${basedir}/src/share"
destdir="${servletapi.build}/docs/api"
use="true"

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Mar 19 10:33:53 UTC 2022 - Fridrich Strba <fstrba@suse.com>
- Modified patch:
* java160_build.patch
+ build with source/target levels 8
-------------------------------------------------------------------
Mon Sep 18 12:47:42 UTC 2017 - fstrba@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package servletapi4
#
# 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,12 +24,12 @@ Release: 0
Summary: Java servlet and JSP implementation classes
License: Apache-1.1
Group: Development/Libraries/Java
Url: http://jakarta.apache.org/tomcat/
URL: http://jakarta.apache.org/tomcat/
Source: %{full_name}-4-src.tar.gz
Patch160: java160_build.patch
BuildRequires: ant
BuildRequires: ant >= 1.2
BuildRequires: java-devel >= 1.7.0
BuildRequires: java-devel >= 1.8
BuildRequires: javapackages-tools
BuildRequires: xml-commons-apis
Requires(post): %{_sbindir}/update-alternatives