Fix build with jdk9
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=110
This commit is contained in:
parent
a5568d2be1
commit
b2af519e1c
42
tomcat-8.0.44-javadoc.patch
Normal file
42
tomcat-8.0.44-javadoc.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
--- apache-tomcat-8.0.44-src/build.xml 2017-05-10 19:27:41.000000000 +0200
|
||||||
|
+++ apache-tomcat-8.0.44-src/build.xml 2017-09-19 11:04:39.650918739 +0200
|
||||||
|
@@ -1952,6 +1952,7 @@
|
||||||
|
encoding="UTF-8"
|
||||||
|
docencoding="UTF-8"
|
||||||
|
charset="UTF-8"
|
||||||
|
+ source="${compile.source}"
|
||||||
|
additionalparam="-breakiterator -notimestamp"
|
||||||
|
maxmemory="512m"
|
||||||
|
failonerror="true">
|
||||||
|
@@ -1972,6 +1973,7 @@
|
||||||
|
encoding="UTF-8"
|
||||||
|
docencoding="UTF-8"
|
||||||
|
charset="UTF-8"
|
||||||
|
+ source="${compile.source}"
|
||||||
|
additionalparam="-breakiterator -notimestamp"
|
||||||
|
maxmemory="512m"
|
||||||
|
failonerror="true">
|
||||||
|
@@ -1992,6 +1994,7 @@
|
||||||
|
encoding="UTF-8"
|
||||||
|
docencoding="UTF-8"
|
||||||
|
charset="UTF-8"
|
||||||
|
+ source="${compile.source}"
|
||||||
|
additionalparam="-breakiterator -notimestamp"
|
||||||
|
maxmemory="512m"
|
||||||
|
failonerror="true">
|
||||||
|
@@ -2012,6 +2015,7 @@
|
||||||
|
encoding="UTF-8"
|
||||||
|
docencoding="UTF-8"
|
||||||
|
charset="UTF-8"
|
||||||
|
+ source="${compile.source}"
|
||||||
|
additionalparam="-breakiterator -notimestamp"
|
||||||
|
maxmemory="512m"
|
||||||
|
failonerror="true">
|
||||||
|
@@ -2031,6 +2035,7 @@
|
||||||
|
encoding="UTF-8"
|
||||||
|
docencoding="UTF-8"
|
||||||
|
charset="UTF-8"
|
||||||
|
+ source="${compile.source}"
|
||||||
|
additionalparam="-breakiterator -notimestamp"
|
||||||
|
maxmemory="512m"
|
||||||
|
failonerror="true">
|
@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 19 09:07:39 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Added patch:
|
||||||
|
* tomcat-8.0.44-javadoc.patch
|
||||||
|
- generate documentation with the same source level as class
|
||||||
|
files
|
||||||
|
- fixes build with jdk9
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jun 9 05:44:53 UTC 2017 - ecsos@opensuse.org
|
Fri Jun 9 05:44:53 UTC 2017 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
15
tomcat.spec
15
tomcat.spec
@ -77,7 +77,8 @@ Patch2: tomcat-8.0.9-property-build.windows.patch
|
|||||||
Patch3: tomcat-8.0.33-JDTCompiler-java.patch
|
Patch3: tomcat-8.0.33-JDTCompiler-java.patch
|
||||||
# PATCH-FIX-SLE: Change security manager default policies bnc#891264
|
# PATCH-FIX-SLE: Change security manager default policies bnc#891264
|
||||||
Patch4: tomcat-8.0-sle.catalina.policy.patch
|
Patch4: tomcat-8.0-sle.catalina.policy.patch
|
||||||
|
# PATCH-FIX-OPENSUSE: build javadoc with the same java source level as the class files
|
||||||
|
Patch5: tomcat-8.0.44-javadoc.patch
|
||||||
BuildRequires: ant >= 1.8.1
|
BuildRequires: ant >= 1.8.1
|
||||||
BuildRequires: ant-antlr
|
BuildRequires: ant-antlr
|
||||||
BuildRequires: apache-commons-collections
|
BuildRequires: apache-commons-collections
|
||||||
@ -114,7 +115,6 @@ Requires(pre): %{_sbindir}/groupadd
|
|||||||
Requires(pre): %{_sbindir}/useradd
|
Requires(pre): %{_sbindir}/useradd
|
||||||
Recommends: libtcnative-1-0 >= 1.1.24
|
Recommends: libtcnative-1-0 >= 1.1.24
|
||||||
Recommends: logrotate
|
Recommends: logrotate
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%systemd_requires
|
%systemd_requires
|
||||||
|
|
||||||
@ -247,6 +247,7 @@ find . -type f \( -name "*.bat" -o -name "*.class" -o -name Thumbs.db -o -name "
|
|||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3
|
%patch3
|
||||||
%patch4
|
%patch4
|
||||||
|
%patch5 -p1
|
||||||
|
|
||||||
# remove date from docs
|
# remove date from docs
|
||||||
sed -i -e '/build-date/ d' webapps/docs/tomcat-docs.xsl
|
sed -i -e '/build-date/ d' webapps/docs/tomcat-docs.xsl
|
||||||
@ -699,16 +700,13 @@ rm -f \
|
|||||||
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}
|
||||||
|
|
||||||
%files admin-webapps
|
%files admin-webapps
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{appdir}/host-manager
|
%{appdir}/host-manager
|
||||||
%{appdir}/manager
|
%{appdir}/manager
|
||||||
|
|
||||||
%files docs-webapp
|
%files docs-webapp
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{appdir}/docs
|
%doc %{appdir}/docs
|
||||||
|
|
||||||
%files el-3_0-api
|
%files el-3_0-api
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_javadir}/%{name}-el-%{elspec}-api.jar
|
%{_javadir}/%{name}-el-%{elspec}-api.jar
|
||||||
%{_javadir}/%{name}-el-api.jar
|
%{_javadir}/%{name}-el-api.jar
|
||||||
%{libdir}/%{name}-el-%{elspec}-api.jar
|
%{libdir}/%{name}-el-%{elspec}-api.jar
|
||||||
@ -724,11 +722,9 @@ rm -f \
|
|||||||
%ghost %{_sysconfdir}/alternatives/el_api.jar
|
%ghost %{_sysconfdir}/alternatives/el_api.jar
|
||||||
|
|
||||||
%files javadoc
|
%files javadoc
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %{_javadocdir}/%{name}
|
%doc %{_javadocdir}/%{name}
|
||||||
|
|
||||||
%files jsp-2_3-api
|
%files jsp-2_3-api
|
||||||
%defattr(0644,root,root,0755)
|
|
||||||
%{_javadir}/%{name}-jsp-%{jspspec}-api.jar
|
%{_javadir}/%{name}-jsp-%{jspspec}-api.jar
|
||||||
%{_javadir}/%{name}-jsp-api.jar
|
%{_javadir}/%{name}-jsp-api.jar
|
||||||
%{_javadir}/jsp.jar
|
%{_javadir}/jsp.jar
|
||||||
@ -739,8 +735,8 @@ rm -f \
|
|||||||
%else
|
%else
|
||||||
%{_datadir}/maven-metadata/%{name}-tomcat-jsp-api.xml
|
%{_datadir}/maven-metadata/%{name}-tomcat-jsp-api.xml
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files lib
|
%files lib
|
||||||
%defattr(-,root,root)
|
|
||||||
%{libdir}
|
%{libdir}
|
||||||
%dir %{bindir}
|
%dir %{bindir}
|
||||||
%{bindir}/tomcat-juli.jar
|
%{bindir}/tomcat-juli.jar
|
||||||
@ -768,7 +764,6 @@ rm -f \
|
|||||||
%config(noreplace) %{_sysconfdir}/ant.d/catalina-ant
|
%config(noreplace) %{_sysconfdir}/ant.d/catalina-ant
|
||||||
|
|
||||||
%files embed
|
%files embed
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{libdir}
|
%dir %{libdir}
|
||||||
%{libdir}/%{name}*-embed-*.jar
|
%{libdir}/%{name}*-embed-*.jar
|
||||||
%{_mavenpomdir}/JPP.%{name}-tomcat-embed-websocket.pom
|
%{_mavenpomdir}/JPP.%{name}-tomcat-embed-websocket.pom
|
||||||
@ -778,7 +773,6 @@ rm -f \
|
|||||||
%{_mavenpomdir}/JPP.%{name}-tomcat-embed-logging-juli.pom
|
%{_mavenpomdir}/JPP.%{name}-tomcat-embed-logging-juli.pom
|
||||||
|
|
||||||
%files servlet-3_1-api
|
%files servlet-3_1-api
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_javadir}/%{name}-servlet-%{servletspec}-api.jar
|
%{_javadir}/%{name}-servlet-%{servletspec}-api.jar
|
||||||
%{_javadir}/%{name}-servlet-api.jar
|
%{_javadir}/%{name}-servlet-api.jar
|
||||||
@ -792,7 +786,6 @@ rm -f \
|
|||||||
%{_mavenpomdir}/JPP-%{name}-servlet-api.pom
|
%{_mavenpomdir}/JPP-%{name}-servlet-api.pom
|
||||||
|
|
||||||
%files webapps
|
%files webapps
|
||||||
%defattr(-,root,root)
|
|
||||||
#bnc#520532
|
#bnc#520532
|
||||||
%config(noreplace) %{appdir}/ROOT
|
%config(noreplace) %{appdir}/ROOT
|
||||||
%{appdir}/examples
|
%{appdir}/examples
|
||||||
|
Loading…
x
Reference in New Issue
Block a user