rpms/texi2html/devel texi2html.spec,1.10,1.11

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Fri Jan 5 13:34:35 UTC 2007


Author: jnovy

Update of /cvs/dist/rpms/texi2html/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22847

Modified Files:
	texi2html.spec 
Log Message:
- fix post/preun scriptlets so that they won't fail with docs disabled



Index: texi2html.spec
===================================================================
RCS file: /cvs/dist/rpms/texi2html/devel/texi2html.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- texi2html.spec	29 Nov 2006 12:39:13 -0000	1.10
+++ texi2html.spec	5 Jan 2007 13:34:33 -0000	1.11
@@ -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 -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 @@
 %{_datadir}/%{name}/images/*
 
 %changelog
+* Fri Jan  5 2007 Jindrich Novy <jnovy at redhat.com> 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 <jnovy at redhat.com> 1.76-5
 - replace PreReq, fix BuildRoot
 




More information about the fedora-cvs-commits mailing list