Fix build with jdk10
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=119
This commit is contained in:
parent
095f7b2bdb
commit
469edaa9ad
@ -61,8 +61,9 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|||||||
encoding="UTF-8"
|
encoding="UTF-8"
|
||||||
docencoding="UTF-8"
|
docencoding="UTF-8"
|
||||||
charset="UTF-8"
|
charset="UTF-8"
|
||||||
|
- additionalparam="-breakiterator -notimestamp ${java9.add.modules}"
|
||||||
+ source="${compile.source}"
|
+ source="${compile.source}"
|
||||||
additionalparam="-breakiterator -notimestamp ${java9.add.modules}"
|
+ additionalparam="-breakiterator -notimestamp"
|
||||||
maxmemory="512m"
|
maxmemory="512m"
|
||||||
failonerror="true"
|
failonerror="true"
|
||||||
- failonwarning="true">
|
- failonwarning="true">
|
||||||
@ -70,3 +71,13 @@ Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|||||||
<classpath>
|
<classpath>
|
||||||
<path refid="compile.classpath"/>
|
<path refid="compile.classpath"/>
|
||||||
<path refid="tomcat.webservices.classpath"/>
|
<path refid="tomcat.webservices.classpath"/>
|
||||||
|
@@ -1868,9 +1873,6 @@
|
||||||
|
<link href="../jspapi"/>
|
||||||
|
<link href="../elapi"/>
|
||||||
|
<link href="../websocketapi"/>
|
||||||
|
- <link href="http://docs.oracle.com/javase/8/docs/api/"/>
|
||||||
|
- <link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
|
||||||
|
- <link href="https://javaee.github.io/javaee-spec/javadocs/"/>
|
||||||
|
<packageset dir="${tomcat.dist}/src/java/">
|
||||||
|
<include name="org/**"/>
|
||||||
|
<exclude name="org/apache/el/parser/**"/>
|
||||||
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 17 09:34:14 UTC 2018 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Modified patch:
|
||||||
|
* tomcat-9.0-javadoc.patch
|
||||||
|
+ Don't append to javadoc --add-modules since we are building
|
||||||
|
with source=8
|
||||||
|
+ Avoid accessing Internet URLs from build environment
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 1 21:46:18 UTC 2017 - malbu@suse.com
|
Fri Dec 1 21:46:18 UTC 2017 - malbu@suse.com
|
||||||
|
|
||||||
|
15
tomcat.spec
15
tomcat.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package tomcat
|
# spec file for package tomcat
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
# Copyright (c) 2000-2009, JPackage Project
|
# Copyright (c) 2000-2009, JPackage Project
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@ -17,11 +17,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
|
||||||
%if ! %{defined _fillupdir}
|
|
||||||
%define _fillupdir /var/adm/fillup-templates
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define jspspec 2.3
|
%define jspspec 2.3
|
||||||
%define servletspec 4.0
|
%define servletspec 4.0
|
||||||
%define elspec 3.0
|
%define elspec 3.0
|
||||||
@ -40,6 +35,10 @@
|
|||||||
%define cachedir %{_localstatedir}/cache/%{name}
|
%define cachedir %{_localstatedir}/cache/%{name}
|
||||||
%define tempdir %{cachedir}/temp
|
%define tempdir %{cachedir}/temp
|
||||||
%define workdir %{cachedir}/work
|
%define workdir %{cachedir}/work
|
||||||
|
#Compat macro for new _fillupdir macro introduced in Nov 2017
|
||||||
|
%if ! %{defined _fillupdir}
|
||||||
|
%define _fillupdir %{_localstatedir}/adm/fillup-templates
|
||||||
|
%endif
|
||||||
Name: tomcat
|
Name: tomcat
|
||||||
Version: %{major_version}.%{minor_version}.%{micro_version}
|
Version: %{major_version}.%{minor_version}.%{micro_version}
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -98,7 +97,7 @@ BuildRequires: geronimo-jaxrpc-1_1-api
|
|||||||
BuildRequires: geronimo-qname-1_1-api
|
BuildRequires: geronimo-qname-1_1-api
|
||||||
BuildRequires: geronimo-saaj-1_1-api
|
BuildRequires: geronimo-saaj-1_1-api
|
||||||
BuildRequires: jakarta-taglibs-standard >= 1.1
|
BuildRequires: jakarta-taglibs-standard >= 1.1
|
||||||
BuildRequires: java-devel = 1.8.0
|
BuildRequires: java-devel >= 1.8
|
||||||
BuildRequires: javapackages-local
|
BuildRequires: javapackages-local
|
||||||
BuildRequires: javapackages-tools
|
BuildRequires: javapackages-tools
|
||||||
BuildRequires: junit
|
BuildRequires: junit
|
||||||
@ -339,7 +338,7 @@ export NO_BRP_CHECK_BYTECODE_VERSION=true
|
|||||||
install -d -m 0755 %{buildroot}%{_bindir}
|
install -d -m 0755 %{buildroot}%{_bindir}
|
||||||
install -d -m 0755 %{buildroot}%{_sbindir}
|
install -d -m 0755 %{buildroot}%{_sbindir}
|
||||||
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
install -d -m 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
install -d -m 0755 %{buildroot}%{_initrddir}
|
install -d -m 0755 %{buildroot}%{_initddir}
|
||||||
install -d -m 0755 %{buildroot}%{_systemddir}
|
install -d -m 0755 %{buildroot}%{_systemddir}
|
||||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
|
||||||
install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
|
install -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user