From 8030ac8011c6859221afa37d053c978d0cd254a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Mon, 24 Jan 2011 19:47:00 +0200 Subject: [PATCH] Don't run gio-querymodules* in %postun if it no longer exists. --- glib2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/glib2.spec b/glib2.spec index b60e9bb..bc9509c 100644 --- a/glib2.spec +++ b/glib2.spec @@ -3,7 +3,7 @@ Summary: A library of handy utility functions Name: glib2 Version: 2.27.92 -Release: 1%{?dist} +Release: 2%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtk.org @@ -101,6 +101,7 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules %postun /sbin/ldconfig +[ ! -x %{_bindir}/gio-querymodules-%{__isa_bits} ] || \ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules @@ -165,6 +166,9 @@ gio-querymodules-%{__isa_bits} %{_libdir}/gio/modules %changelog +* Mon Jan 24 2011 Ville Skyttä - 2.27.92-2 +- Don't run gio-querymodules* in %%postun if it no longer exists. + * Sat Jan 22 2011 Matthias Clasen - 2.27.92-1 - Update to 2.27.92 - Drop update-gio-modules wrapper