Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
c5591ecfa9
commit
1cc809ffe8
@ -24,9 +24,6 @@ Requires: perl(Text::Wrap)
|
|||||||
Requires: perl(vars)
|
Requires: perl(vars)
|
||||||
Requires: perl(XML::SAX::ParserFactory)
|
Requires: perl(XML::SAX::ParserFactory)
|
||||||
|
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
docbook2X converts DocBook documents into man pages and Texinfo
|
docbook2X converts DocBook documents into man pages and Texinfo
|
||||||
documents.
|
documents.
|
||||||
@ -51,14 +48,6 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
|||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
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
|
%files
|
||||||
%doc COPYING README THANKS AUTHORS __dist_html/html/
|
%doc COPYING README THANKS AUTHORS __dist_html/html/
|
||||||
%{_bindir}/db2x_manxml
|
%{_bindir}/db2x_manxml
|
||||||
|
Loading…
Reference in New Issue
Block a user