Fix the usage of patch macro

Related: RHEL-62405
This commit is contained in:
Marián Konček 2024-11-21 11:19:38 +01:00
parent a117f505c1
commit beb109da49

View File

@ -34,7 +34,7 @@
Name: ant
Version: 1.10.9
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Java build tool
Summary(it): Tool per la compilazione di programmi java
Summary(fr): Outil de compilation pour java
@ -375,9 +375,9 @@ Configures Ant to run with OpenJDK 21.
%prep
%setup -q -n apache-ant-%{version}
%patch 0 -p0
%patch 1 -p1
%patch 2 -p1
%patch -P 0 -p0
%patch -P 1 -p1
%patch -P 2 -p1
# clean jar files
find . -name "*.jar" | xargs -t rm
@ -713,6 +713,9 @@ LC_ALL=C.UTF-8 %{ant} -Doffline=true test
# -----------------------------------------------------------------------------
%changelog
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1.10.9-11
- Fix the usage ot patch macro
* Fri Nov 08 2024 Marián Konček <mkoncek@redhat.com> - 1.10.9-10
- Add OpenJDK bindings in a separate configuration file
- Resolves: RHEL-62405