enable check test suite and delete duplicate package files
This commit is contained in:
parent
29a39b411f
commit
e004aa2739
13
flex.spec
13
flex.spec
@ -1,6 +1,6 @@
|
|||||||
Name: flex
|
Name: flex
|
||||||
Version: 2.6.4
|
Version: 2.6.4
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: A fast lexical analyzer generator
|
Summary: A fast lexical analyzer generator
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/westes/flex
|
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
|
Patch0009: 0001-scanner-fix-default-of-yy_top_state.patch
|
||||||
Patch0010: 0002-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: m4
|
||||||
Requires(post): info
|
Requires(post): info
|
||||||
Requires(preun): 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 flex.1 .%{_mandir}/man1/flex++.1
|
||||||
ln -s libfl.a .%{_libdir}/libl.a
|
ln -s libfl.a .%{_libdir}/libl.a
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
|
if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs
|
||||||
/sbin/install-info %{_infodir}/flex.info.gz --dir-file=%{_infodir}/dir ||:
|
/sbin/install-info %{_infodir}/flex.info.gz --dir-file=%{_infodir}/dir ||:
|
||||||
@ -97,9 +100,15 @@ fi
|
|||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_pkgdocdir}
|
%{_pkgdocdir}
|
||||||
|
%exclude %{_pkgdocdir}/NEWS
|
||||||
|
%exclude %{_pkgdocdir}/README.md
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jun 13 2022 panxiaohe <panxh.life@foxmail.com> - 2.6.4-4
|
||||||
- modify license
|
- modify license
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user