import CS jzlib-1.1.3-23.el9

This commit is contained in:
eabdullin 2025-03-11 07:31:52 +00:00
parent ae789dd4c8
commit e7f8945b75

View File

@ -1,11 +1,12 @@
Name: jzlib
Version: 1.1.3
Release: 19%{?dist}
Release: 23%{?dist}
Summary: Re-implementation of zlib in pure Java
License: BSD
URL: http://www.jcraft.com/jzlib/
BuildArch: noarch
Source0: https://github.com/ymnk/jzlib/archive/%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: aarch64 ppc64le s390x x86_64 noarch
# This patch is sent upstream: https://github.com/ymnk/jzlib/pull/15
Patch0: jzlib-javadoc-fixes.patch
@ -35,7 +36,7 @@ Requires: %{name} = %{version}-%{release}
%prep
%setup -q
%patch0
%patch -P 0
%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
@ -57,15 +58,27 @@ install -dm 755 %{buildroot}%{_datadir}/%{name}
cp -pr example/* %{buildroot}%{_datadir}/%{name}
%files -f .mfiles
%doc LICENSE.txt
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%doc LICENSE.txt
%license LICENSE.txt
%files demo
%doc %{_datadir}/%{name}
%changelog
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 1.1.3-23
- Add noarch to ExclusiveArch
* Fri Nov 22 2024 Marián Konček <mkoncek@redhat.com> - 1.1.3-22
- Disable building on i686
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1.1.3-21
- Fix patch usage
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1.1.3-20
- Rebuild with regenerated Requires on Java
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1.3-19
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688