1 Star 0 Fork 13

tianwei/byacc

forked from src-openEuler/byacc 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
byacc.spec 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
weiwei_tiantian 提交于 2021-12-25 10:55 . upgrade to 2.0.20210808
%define byaccdate 20210808
Name: byacc
Version: 2.0.%{byaccdate}
Release: 1
Summary: A parser generator
License: public domain
URL: https://invisible-island.net/byacc/byacc.html
Source0: https://invisible-island.net/datafiles/release/byacc-%{byaccdate}.tgz
BuildRequires: gcc
%description
Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has been made
as compatible as possible with AT&T Yacc. Berkeley Yacc can accept any input
specification that conforms to the AT&T Yacc documentation. Specifications
that take advantage of undocumented features of AT&T Yacc will probably be
rejected.
%package_help
%prep
%autosetup -n byacc-20210808 -p1
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
%doc ACKNOWLEDGEMENTS README* NO_WARRANTY
%license AUTHORS
%{_bindir}/*
%files help
%doc CHANGES NOTES
%{_mandir}/man1/*
%changelog
* Sat Dec 25 2021 tianwei<tianwei12@huawei.com> - 2.0.20210808
- DESC:upgrade to 2.0.20210808
* Mon Feb 1 2021 wangjie<wangjie294@huawei.com> - 2.0.20210109
- DESC:upgrade 2.0.20210109
* Sta Jul 25 2020 xinghe <xinghe1@huawei.com> - 1.9.20200330-1
- update version to 1.9.20200330
* Wed Jan 22 2020 gulining<gulining1@huawei.com> - 1.9.20170709-9
- Disable test
* Fri Dec 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.20170709-8
- Add help package
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.9.20170709-7
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/weiwei_150212/byacc.git
git@gitee.com:weiwei_150212/byacc.git
weiwei_150212
byacc
byacc
master

搜索帮助