Fix patch usage

Related: RHEL-62398
This commit is contained in:
Marián Konček 2024-11-21 01:10:54 +01:00
parent f93aa2d972
commit 029b199ea6

View File

@ -3,7 +3,7 @@
Name: apache-commons-io
Epoch: 1
Version: 2.8.0
Release: 9%{?dist}
Release: 10%{?dist}
Summary: Utilities to assist with developing IO functionality
License: ASL 2.0
URL: https://commons.apache.org/io
@ -33,7 +33,7 @@ to assist with developing IO functionality.
%prep
%setup -q -n commons-io-%{version}-src
%patch 0 -p1
%patch -P 0 -p1
sed -i 's/\r//' *.txt
# Run tests in multiple reusable forks to improve test performance
@ -73,6 +73,9 @@ sed -i '/DefaultLocale/d' src/test/java/org/apache/commons/io/input/XmlStreamRea
%doc RELEASE-NOTES.txt
%changelog
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1:2.8.0-10
- Fix patch usage
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1:2.8.0-9
- Rebuild with regenerated Requires on Java