diff --git a/byacc-20210808.tgz b/byacc-20210808.tgz deleted file mode 100644 index 168a837..0000000 Binary files a/byacc-20210808.tgz and /dev/null differ diff --git a/byacc-20230219.tgz b/byacc-20230219.tgz new file mode 100644 index 0000000..cecce95 Binary files /dev/null and b/byacc-20230219.tgz differ diff --git a/byacc.spec b/byacc.spec index 271f506..f0b5f6b 100644 --- a/byacc.spec +++ b/byacc.spec @@ -1,15 +1,15 @@ -%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 Source0: https://invisible-mirror.net/archives/byacc/byacc-%{byaccdate}.tgz -Patch9000: CVE-2021-33641.patch -Patch9001: CVE-2021-33642.patch +Patch9000: CVE-2021-33641.patch +Patch9001: CVE-2021-33642.patch BuildRequires: gcc @@ -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 - 2.0.20230219-1 +- Upgrade to version 2.0.20230219 + * Mon Dec 26 2022 zhoupengcheng - 2.0.20210808-5 - fix CVE-2021-33641 and CVE-2021-33642