Compare commits

...

No commits in common. "c8-stream-201902" and "c8-stream-rhel8" have entirely different histories.

View File

@ -1,6 +1,7 @@
Name: jzlib Name: jzlib
Version: 1.1.3 Version: 1.1.3
Release: 10%{?dist} Release: 14%{?dist}
Epoch: 0
Summary: Re-implementation of zlib in pure Java Summary: Re-implementation of zlib in pure Java
License: BSD License: BSD
URL: http://www.jcraft.com/jzlib/ URL: http://www.jcraft.com/jzlib/
@ -28,7 +29,7 @@ Summary: API documentation for %{name}
%package demo %package demo
Summary: Examples for %{name} Summary: Examples for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{epoch}:%{version}-%{release}
%description demo %description demo
%{summary}. %{summary}.
@ -37,14 +38,17 @@ Requires: %{name} = %{version}-%{release}
%setup -q %setup -q
%patch0 %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 # Make into OSGi bundle
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>" %pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
%pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "<extensions>true</extensions>" %pom_add_plugin "org.apache.felix:maven-bundle-plugin" . "<extensions>true</extensions>"
%mvn_file : %{name} %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 %build
%mvn_build %mvn_build
@ -66,11 +70,23 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
%doc %{_datadir}/%{name} %doc %{_datadir}/%{name}
%changelog %changelog
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-10 * Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 0:1.1.3-14
- Mass rebuild for javapackages-tools 201902 - Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 1.1.3-9 * Thu Jun 25 2020 Alexander Kurtakov <akurtako@redhat.com> 0:1.1.3-13
- Mass rebuild for javapackages-tools 201901 - Fix build with Java 11.
* 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
* 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 Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0:1.1.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Wed Mar 21 2018 Mat Booth <mat.booth@redhat.com> - 0:1.1.3-8 * Wed Mar 21 2018 Mat Booth <mat.booth@redhat.com> - 0:1.1.3-8
- Add OSGi metadata - Add OSGi metadata
@ -192,4 +208,4 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
- Rebuild with ant-1.6.2 - Rebuild with ant-1.6.2
* Wed Jan 14 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.0.3-1jpp * Wed Jan 14 2004 Ralph Apel <r.apel@r-apel.de> - 0:1.0.3-1jpp
- First build. - First build.