From 14a8d72b8eb72c9dd7d5e627a454cf26bc0b1307 Mon Sep 17 00:00:00 2001 From: panxiaohe Date: Tue, 12 Jul 2022 17:33:02 +0800 Subject: [PATCH] enable check test suite and delete duplicate package files --- flex.spec | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/flex.spec b/flex.spec index 53251ec..82c1c07 100644 --- a/flex.spec +++ b/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 - 2.6.4-5 +- enable check test suite +- delete duplicate package files: NEWS,README.md + * Mon Jun 13 2022 panxiaohe - 2.6.4-4 - modify license -- Gitee