From 2b5439770a9d7d61b102c6aa789cc17398e75841 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 19:03:25 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- help2man.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/help2man.spec b/help2man.spec index cab309d..683673f 100644 --- a/help2man.spec +++ b/help2man.spec @@ -25,9 +25,6 @@ BuildRequires: perl(strict) %{?with_nls:BuildRequires: perl(Encode)} %{?with_nls:BuildRequires: perl(I18N::Langinfo)} -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info - %description help2man is a script to create simple man pages from the --help and --version output of programs. @@ -48,15 +45,6 @@ make install_l10n DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %find_lang %name --with-man -%post -/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || : - -%preun -if [ $1 -eq 0 ]; then - /sbin/install-info --delete %{_infodir}/help2man.info \ - %{_infodir}/dir 2>/dev/null || : -fi - %files -f %name.lang %doc README NEWS THANKS %license COPYING