!17 enable check test suite and delete duplicate package files
From: @panxh_purple Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
ced3249396
13
flex.spec
13
flex.spec
@ -1,6 +1,6 @@
|
||||
Name: flex
|
||||
Version: 2.6.4
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: A fast lexical analyzer generator
|
||||
License: BSD
|
||||
URL: https://github.com/westes/flex
|
||||
@ -18,7 +18,7 @@ Patch0008: scanner-prevent-overflow-in-add_action.patch
|
||||
Patch0009: 0001-scanner-fix-default-of-yy_top_state.patch
|
||||
Patch0010: 0002-scanner-fix-default-of-yy_top_state.patch
|
||||
|
||||
BuildRequires: gcc gettext help2man m4 bison texinfo automake autoconf
|
||||
BuildRequires: gcc gcc-c++ gettext help2man m4 bison texinfo automake autoconf
|
||||
Requires: m4
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
@ -68,6 +68,9 @@ ln -s flex.1 .%{_mandir}/man1/lex.1
|
||||
ln -s flex.1 .%{_mandir}/man1/flex++.1
|
||||
ln -s libfl.a .%{_libdir}/libl.a
|
||||
|
||||
%check
|
||||
make check
|
||||
|
||||
%post
|
||||
if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
|
||||
/sbin/install-info %{_infodir}/flex.info.gz --dir-file=%{_infodir}/dir ||:
|
||||
@ -97,9 +100,15 @@ fi
|
||||
|
||||
%files help
|
||||
%{_pkgdocdir}
|
||||
%exclude %{_pkgdocdir}/NEWS
|
||||
%exclude %{_pkgdocdir}/README.md
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Jul 12 2022 panxiaohe <panxh.life@foxmail.com> - 2.6.4-5
|
||||
- enable check test suite
|
||||
- delete duplicate package files: NEWS,README.md
|
||||
|
||||
* Mon Jun 13 2022 panxiaohe <panxh.life@foxmail.com> - 2.6.4-4
|
||||
- modify license
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user