summaryrefslogtreecommitdiffstats
path: root/metacity.spec
diff options
context:
space:
mode:
authorMichael Schwendt <mschwendt@fedoraproject.org>2012-02-18 12:04:59 +0100
committerMichael Schwendt <mschwendt@fedoraproject.org>2012-02-18 12:04:59 +0100
commit46bd293e75b4ed98e679baf7f0b7329c1b7b71c1 (patch)
tree4a520dc1d5f3b99b40dff7773173114ad22eeac0 /metacity.spec
parenta2fb1ab9f806eae8a104a0d5b92a5529646e604a (diff)
downloadmetacity-46bd293e75b4ed98e679baf7f0b7329c1b7b71c1.tar.gz
metacity-46bd293e75b4ed98e679baf7f0b7329c1b7b71c1.tar.xz
metacity-46bd293e75b4ed98e679baf7f0b7329c1b7b71c1.zip
Execute %postun via /bin/sh not /sbin/ldconfig.
Diffstat (limited to 'metacity.spec')
-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