Convert sources to SHA512

This commit is contained in:
Mikolaj Izdebski 2021-07-10 13:50:44 +02:00
commit d1f4dfdc41
2 changed files with 15 additions and 10 deletions

View File

@ -1,7 +1,6 @@
Name: jzlib
Version: 1.1.3
Release: 16%{?dist}
Epoch: 0
Release: 17%{?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" "<packaging>bundle</packaging>"
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "<extensions>true</extensions>"
%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 "<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration><source>1.8</source></configuration>
</plugin>"
%build
%mvn_build
@ -70,6 +66,9 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
%doc %{_datadir}/%{name}
%changelog
* Mon Jun 28 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-17
- Convert sources to SHA512
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@ -85,9 +84,15 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-10
- Mass rebuild for javapackages-tools 201902
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-9
- Mass rebuild for javapackages-tools 201901
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
f7cea898d9c0834f457f39e3a425a2cf 1.1.3.tar.gz
SHA512 (1.1.3.tar.gz) = d78ed3feaded0bde62b3e2c6fb17b5051a6637bcf12e7fe0f5b1855922358b54b440b05bdba7328c5d2cb9f972bc68195f8f0570ce5d49de9251d7060018d88d