Upgrade to version 2.0.20230219

This commit is contained in:
chen-jan 2023-06-16 11:14:21 +08:00
parent 14b38251e6
commit 7013798c65
3 changed files with 10 additions and 7 deletions

Binary file not shown.

BIN
byacc-20230219.tgz Normal file

Binary file not shown.

View File

@ -1,8 +1,8 @@
%define byaccdate 20210808
%define byaccdate 20230219
Name: byacc
Version: 2.0.%{byaccdate}
Release: 5
Release: 1
Summary: A parser generator
License: public domain
URL: https://invisible-island.net/byacc/byacc.html
@ -23,7 +23,7 @@ rejected.
%package_help
%prep
%autosetup -n byacc-20210808 -p1
%autosetup -n byacc-%{byaccdate} -p1
find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
%build
@ -36,10 +36,10 @@ ln -s yacc %{buildroot}%{_bindir}/byacc
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
%check
make check
%make_build check
%files
%doc ACKNOWLEDGEMENTS README* NO_WARRANTY
%doc ACKNOWLEDGEMENTS NEW_FEATURES NO_WARRANTY README
%license AUTHORS
%{_bindir}/*
@ -48,6 +48,9 @@ make check
%{_mandir}/man1/*
%changelog
* Fri Jun 16 2023 chenchen <chen_aka_jan@163.com> - 2.0.20230219-1
- Upgrade to version 2.0.20230219
* Mon Dec 26 2022 zhoupengcheng <zhoupengcheng11@huawei.com> - 2.0.20210808-5
- fix CVE-2021-33641 and CVE-2021-33642