rpms/openvrml/devel openvrml.spec,1.5,1.6

Braden McDaniel (braden) fedora-extras-commits at redhat.com
Sat Dec 16 04:23:44 UTC 2006


Author: braden

Update of /cvs/extras/rpms/openvrml/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22545/devel

Modified Files:
	openvrml.spec 
Log Message:
Made openvrml-gtkplug's install-info invocations failsafe.


Index: openvrml.spec
===================================================================
RCS file: /cvs/extras/rpms/openvrml/devel/openvrml.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- openvrml.spec	30 Nov 2006 07:33:40 -0000	1.5
+++ openvrml.spec	16 Dec 2006 04:23:14 -0000	1.6
@@ -1,7 +1,7 @@
 # -*- rpm-spec -*-
 Name:           openvrml
 Version:        0.16.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        VRML/X3D runtime library
 License:        LGPL
 Group:          System Environment/Libraries
@@ -65,6 +65,8 @@
 Group:          Applications/Internet
 License:        GPL
 Requires:       %{name}-gl = %{version}-%{release}
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
 %description gtkplug
 VRML browser GtkPlug component for embedding in GTK+ applications.
 
@@ -129,11 +131,11 @@
 
 
 %post gtkplug
-/sbin/install-info %{_infodir}/openvrml-gtkplug.info.gz %{_infodir}/dir
+/sbin/install-info %{_infodir}/openvrml-gtkplug.info %{_infodir}/dir || :
 
 %preun gtkplug
 if [ $1 = 0 ]; then
-  /sbin/install-info --delete %{_infodir}/openvrml-gtkplug.info.gz %{_infodir}/dir
+  /sbin/install-info --delete %{_infodir}/openvrml-gtkplug.info %{_infodir}/dir || :
 fi
 
 %files gtkplug
@@ -147,6 +149,11 @@
 
 
 %changelog
+* Fri Dec 15 2006  Braden McDaniel  <braden at endoframe.com> - 0.16.2-2
+- openvrml-gtkplug: Appended "|| :" to install-info invocations.
+- openvrml-gtkplug: Requires(post): /sbin/install-info and
+  Requires(preun): /sbin/install-info.
+
 * Thu Nov 30 2006  Braden McDaniel  <braden at endoframe.com> - 0.16.2-1
 - Updated to 0.16.2; openvrml-gtkplug-info.patch is no longer
   necessary.




More information about the fedora-extras-commits mailing list