[gnome-power-manager] Fix an error in the postun scriptlet Require gnome-settings-daemon as we use its schema.
Richard Hughes
rhughes at fedoraproject.org
Wed Sep 14 08:28:50 UTC 2011
commit 7e353a1198e3d8ab71dd4897eacde11668620b63
Author: Richard Hughes <richard at hughsie.com>
Date: Wed Sep 14 09:28:21 2011 +0100
Fix an error in the postun scriptlet
Require gnome-settings-daemon as we use its schema.
gnome-power-manager.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gnome-power-manager.spec b/gnome-power-manager.spec
index 5bdd3bf..9472c2f 100644
--- a/gnome-power-manager.spec
+++ b/gnome-power-manager.spec
@@ -1,7 +1,7 @@
Summary: GNOME power management service
Name: gnome-power-manager
Version: 3.1.90
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+ and GFDL
Group: Applications/System
Source: http://download.gnome.org/sources/gnome-power-manager/3.1/gnome-power-manager-%{version}.tar.xz
@@ -50,7 +50,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
%postun
update-desktop-database %{_datadir}/applications &> /dev/null || :
-if [ $1 -eq 0]; then
+if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor
gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
@@ -76,6 +76,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_mandir}/man1/*.1.gz
%changelog
+* Wed Sep 14 2011 Richard Hughes <rhughes at redhat.com> - 3.1.90-2
+- Fix an error in the postun scriptlet
+- Require gnome-settings-daemon as we use its schema.
+
* Tue Aug 30 2011 Richard Hughes <rhughes at redhat.com> - 3.1.90-1
- New upstream version.
More information about the scm-commits
mailing list