Remove obsolete scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-27 15:27:35 +01:00
parent c5591ecfa9
commit 1cc809ffe8
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -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