Execute %postun via /bin/sh not /sbin/ldconfig.
This commit is contained in:
parent
a2fb1ab9f8
commit
46bd293e75
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user