[metacity] Execute %postun via /bin/sh not /sbin/ldconfig.
Michael Schwendt
mschwendt at fedoraproject.org
Sat Feb 18 11:05:01 UTC 2012
commit 46bd293e75b4ed98e679baf7f0b7329c1b7b71c1
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date: Sat Feb 18 12:04:59 2012 +0100
Execute %postun via /bin/sh not /sbin/ldconfig.
metacity.spec | 8 ++++++--
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 at fedoraproject.org> - 2.34.2-3
+- Execute %%postun via /bin/sh not /sbin/ldconfig.
+
* Wed Feb 15 2012 Florian Müllner <fmuellner at redhat.com> 2.34.2-2
- Explicitly require gsettings-desktop-schemas
More information about the scm-commits
mailing list