diff --git a/flex.spec b/flex.spec index 56148c4..bf23350 100644 --- a/flex.spec +++ b/flex.spec @@ -17,8 +17,6 @@ Patch0: flex-rh1389575.patch Requires: m4 BuildRequires: gettext gettext-devel bison m4 help2man gcc gcc-c++ automake libtool -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info %description The flex program generates scanners. Scanners are programs which can @@ -91,18 +89,6 @@ find %{buildroot} -name '*.so.2.0.0' -delete %find_lang flex -%post -if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs - /sbin/install-info %{_infodir}/flex.info.gz --dir-file=%{_infodir}/dir ||: -fi - -%preun -if [ $1 = 0 ]; then - if [ -f %{_infodir}/flex.info.gz ]; then # for --excludedocs - /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir ||: - fi -fi - %check echo ============TESTING=============== make check