代码拉取完成,页面将自动刷新
%define byaccdate %(echo %version | cut -d. -f3)
Summary: Berkeley Yacc, a parser generator
Name: byacc
Version: 2.0.20230521
Release: 5%{?dist}
License: Public Domain
URL: http://invisible-island.net/byacc/byacc.html
Source: https://invisible-island.net/archives/byacc/byacc-%{byaccdate}.tgz
BuildRequires: make gcc
%description
This package provides a parser generator utility which consists of a set of LALR(1) parsing tables
and a driver routine written in the C programming language.It reads a grammar specification from a
file and generates an LR(1) parser for it, which you will want to install this package.
%prep
%autosetup -n byacc-%{byaccdate}
# Revert default stack size to 10000 # https://bugzilla.redhat.com/show_bug.cgi?id=743343
find . -type f -name \*.c -print0 | xargs -0 sed -i 's/YYSTACKSIZE 500/YYSTACKSIZE 10000/g'
%build
%configure --disable-dependency-tracking
%make_build
%install
%make_install
ln -s yacc %{buildroot}%{_bindir}/byacc
ln -s yacc.1 %{buildroot}%{_mandir}/man1/byacc.1
%check
make check
%files
%license LICENSE
%doc ACKNOWLEDGEMENTS CHANGES NEW_FEATURES NOTES NO_WARRANTY README
%{_bindir}/yacc
%{_bindir}/byacc
%{_mandir}/man1/yacc.1*
%{_mandir}/man1/byacc.1*
%changelog
* Thu Sep 26 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.0.20230521-5
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Mon Aug 19 2024 rockerzhu <rockerzhu@tencent.com> - 2.0.20230521-4
- Get version in source url from variable version for auto upgrade.
* Fri Aug 16 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.0.20230521-3
- Rebuilt for loongarch release
* Fri Sep 08 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.0.20230521-2
- Rebuilt for OpenCloudOS Stream 23.09
* Thu Aug 17 2023 Shuo Wang <abushwang@tencent.com> - 2.0.20230521-1
- update to 2.0.20230521
* Fri Apr 28 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.0.20210808-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 2.0.20210808-2
- Rebuilt for OpenCloudOS Stream 23
* Mon Nov 21 2022 Wang Guodong <gordonwwang@tencent.com> - 2.0.20210808-1
- package init.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。