Fix patch usage

Related: RHEL-62405
This commit is contained in:
Marián Konček 2024-11-21 01:07:06 +01:00
parent c6386bb8b8
commit 449482ebb4

View File

@ -4,7 +4,7 @@
Name: hamcrest
Version: 2.2
Release: 8%{?dist}
Release: 9%{?dist}
Summary: Library of matchers for building test expressions
License: BSD
URL: https://github.com/hamcrest/JavaHamcrest
@ -40,7 +40,7 @@ Javadoc for %{name}.
%prep
%setup -q -n JavaHamcrest-%{upstream_version}
%patch 0 -p1
%patch -P 0 -p1
rm -rf docs
rm -rf *gradle*
@ -89,6 +89,9 @@ sed -i 's/\r//' LICENSE.txt
%license LICENSE.txt
%changelog
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 2.2-9
- Fix patch usage
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 2.2-8
- Rebuild with regenerated Requires on Java