diff --git a/SPECS/jzlib.spec b/SPECS/jzlib.spec
index 38470ee..bb1ba03 100644
--- a/SPECS/jzlib.spec
+++ b/SPECS/jzlib.spec
@@ -1,6 +1,6 @@
Name: jzlib
Version: 1.1.3
-Release: 12%{?dist}
+Release: 14%{?dist}
Epoch: 0
Summary: Re-implementation of zlib in pure Java
License: BSD
@@ -43,6 +43,12 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "true"
%mvn_file : %{name}
+sed -i -e "s|1.5|1.6|" pom.xml
+# Fix javadoc generation on java 11
+%pom_xpath_inject pom:build/pom:plugins "
+maven-javadoc-plugin
+
+"
%build
%mvn_build
@@ -64,6 +70,12 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
%doc %{_datadir}/%{name}
%changelog
+* Fri Jul 10 2020 Jiri Vanek - 0:1.1.3-14
+- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
+
+* Thu Jun 25 2020 Alexander Kurtakov 0:1.1.3-13
+- Fix build with Java 11.
+
* Wed Jan 29 2020 Fedora Release Engineering - 0:1.1.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild