summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--metacity.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/metacity.spec b/metacity.spec
index 13f8632..c740965 100644
--- a/metacity.spec
+++ b/metacity.spec
@@ -3,7 +3,7 @@
Summary: Unobtrusive window manager
Name: metacity
Version: 2.34.2
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://download.gnome.org/sources/metacity/
Source0: http://download.gnome.org/sources/metacity/2.34/metacity-%{version}.tar.xz
# http://bugzilla.gnome.org/show_bug.cgi?id=558723
@@ -149,7 +149,8 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%posttrans
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
-%postun -p /sbin/ldconfig
+%postun
+/sbin/ldconfig
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
@@ -182,6 +183,9 @@ fi
%{_mandir}/man1/metacity-window-demo.1.gz
%changelog
+* Sat Feb 18 2012 Michael Schwendt <mschwendt@fedoraproject.org> - 2.34.2-3
+- Execute %%postun via /bin/sh not /sbin/ldconfig.
+
* Wed Feb 15 2012 Florian Müllner <fmuellner@redhat.com> 2.34.2-2
- Explicitly require gsettings-desktop-schemas