diff --git a/jzlib.spec b/jzlib.spec
index 09a51a0..5a00180 100644
--- a/jzlib.spec
+++ b/jzlib.spec
@@ -1,7 +1,6 @@
Name: jzlib
Version: 1.1.3
-Release: 17%{?dist}
-Epoch: 0
+Release: 18%{?dist}
Summary: Re-implementation of zlib in pure Java
License: BSD
URL: http://www.jcraft.com/jzlib/
@@ -29,7 +28,7 @@ Summary: API documentation for %{name}
%package demo
Summary: Examples for %{name}
-Requires: %{name} = %{epoch}:%{version}-%{release}
+Requires: %{name} = %{version}-%{release}
%description demo
%{summary}.
@@ -38,17 +37,14 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
%setup -q
%patch0
+%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:source" 1.6
+%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
+
# Make into OSGi bundle
%pom_xpath_inject "pom:project" "bundle"
%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
@@ -70,6 +66,9 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
%doc %{_datadir}/%{name}
%changelog
+* Mon Jun 28 2021 Mikolaj Izdebski - 1.1.3-18
+- Convert sources to SHA512
+
* Fri Apr 16 2021 Mohan Boddu - 0:1.1.3-17
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
@@ -88,9 +87,15 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
* Wed Jan 29 2020 Fedora Release Engineering - 0:1.1.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+* Tue Nov 05 2019 Mikolaj Izdebski - 1.1.3-10
+- Mass rebuild for javapackages-tools 201902
+
* Thu Jul 25 2019 Fedora Release Engineering - 0:1.1.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+* Fri May 24 2019 Mikolaj Izdebski - 1.1.3-9
+- Mass rebuild for javapackages-tools 201901
+
* Fri Feb 01 2019 Fedora Release Engineering - 0:1.1.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
diff --git a/sources b/sources
index ea02bc4..17cd169 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f7cea898d9c0834f457f39e3a425a2cf 1.1.3.tar.gz
+SHA512 (1.1.3.tar.gz) = d78ed3feaded0bde62b3e2c6fb17b5051a6637bcf12e7fe0f5b1855922358b54b440b05bdba7328c5d2cb9f972bc68195f8f0570ce5d49de9251d7060018d88d