From 1cc809ffe8655caaa7a9e29be59bedbae42938b7 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 27 Jan 2019 15:27:35 +0100 Subject: [PATCH] Remove obsolete scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- docbook2X.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/docbook2X.spec b/docbook2X.spec index 933fce3..80c978d 100644 --- a/docbook2X.spec +++ b/docbook2X.spec @@ -24,9 +24,6 @@ Requires: perl(Text::Wrap) Requires: perl(vars) Requires: perl(XML::SAX::ParserFactory) -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info - %description docbook2X converts DocBook documents into man pages and Texinfo documents. @@ -51,14 +48,6 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/ rm -f $RPM_BUILD_ROOT%{_infodir}/dir -%post -/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : - -%preun -if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : -fi - %files %doc COPYING README THANKS AUTHORS __dist_html/html/ %{_bindir}/db2x_manxml