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