Fix patch usage

Related: RHEL-62405
This commit is contained in:
Marián Konček 2024-11-21 01:09:24 +01:00
parent ea272d571e
commit b31a656715

View File

@ -1,6 +1,6 @@
Name: jzlib Name: jzlib
Version: 1.1.3 Version: 1.1.3
Release: 20%{?dist} Release: 21%{?dist}
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/
@ -35,7 +35,7 @@ Requires: %{name} = %{version}-%{release}
%prep %prep
%setup -q %setup -q
%patch 0 %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:source" 1.6
%pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6 %pom_xpath_set "pom:plugin[pom:artifactId='maven-compiler-plugin']/pom:configuration/pom:target" 1.6
@ -66,6 +66,9 @@ cp -pr example/* %{buildroot}%{_datadir}/%{name}
%doc %{_datadir}/%{name} %doc %{_datadir}/%{name}
%changelog %changelog
* 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 * Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1.1.3-20
- Rebuild with regenerated Requires on Java - Rebuild with regenerated Requires on Java