From 61d01ac2729d571c8c33a907255049388cfdaebb Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 15:30:36 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- flex.spec | 14 -------------- 1 file changed, 14 deletions(-) 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