Fix patch usage

Related: RHEL-62405
This commit is contained in:
Marián Konček 2024-11-21 01:03:39 +01:00
parent a34fd6d55a
commit 8ddf5c2b24

View File

@ -4,7 +4,7 @@
Summary: ANother Tool for Language Recognition
Name: antlr
Version: 2.7.7
Release: 69%{?dist}
Release: 70%{?dist}
License: ANTLR-PD
URL: http://www.antlr2.org/
# ./generate-tarball.sh
@ -71,7 +71,7 @@ This package provides a static C++ library for parsers generated by ANTLR2.
# remove all binary libs
find . -name "*.jar" -exec rm -f {} \;
cp -p %{SOURCE1} build.xml
%patch 1
%patch -P 1
# CRLF->LF
sed -i 's/\r//' LICENSE.txt
@ -128,6 +128,9 @@ install -p -m 755 scripts/antlr-config $RPM_BUILD_ROOT%{_bindir}
%license LICENSE.txt
%changelog
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 2.7.7-70
- Fix patch usage
* Tue Nov 19 2024 Marián Konček <mkoncek@redhat.com> - 2.7.7-69
- Rebuild with regenerated Requires on Java