From 657807ebc287b5ba20b74a94371ca286c8ded667 Mon Sep 17 00:00:00 2001 From: Jindrich Novy Date: Jan 05 2007 13:34:33 +0000 Subject: - fix post/preun scriptlets so that they won't fail with docs disabled --- diff --git a/texi2html.spec b/texi2html.spec index c86785c..510e02b 100644 --- a/texi2html.spec +++ b/texi2html.spec @@ -1,6 +1,6 @@ Name: texi2html Version: 1.76 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL Group: Applications/Text Summary: A highly customizable texinfo to HTML and other formats translator @@ -56,12 +56,11 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -rf $RPM_BUILD_ROOT %post -/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir +/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir || : %preun if [ $1 = 0 ]; then - /sbin/install-info --delete %{_infodir}/%{name}.info.gz \ - %{_infodir}/dir + /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir || : fi %files @@ -79,6 +78,10 @@ fi %{_datadir}/%{name}/images/* %changelog +* Fri Jan 5 2007 Jindrich Novy 1.76-6 +- fix post/preun scriptlets so that they won't fail with docs disabled + (thanks to Ville Skyttä) + * Wed Nov 29 2006 Jindrich Novy 1.76-5 - replace PreReq, fix BuildRoot