[yum-updatesd/f16] - enable yum-updatesd by default on upgrades (#807006)
brummbq
brummbq at fedoraproject.org
Mon Mar 26 19:51:44 UTC 2012
commit 16a2005fca91d2a982187eef394d15ea241f0a3e
Author: Gregor Tätzner <gregor at freenet.de>
Date: Mon Mar 26 21:49:45 2012 +0200
- enable yum-updatesd by default on upgrades (#807006)
yum-updatesd.spec | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/yum-updatesd.spec b/yum-updatesd.spec
index 83a9f78..f310432 100644
--- a/yum-updatesd.spec
+++ b/yum-updatesd.spec
@@ -2,7 +2,7 @@ Summary: Update notification daemon
Name: yum-updatesd
Epoch: 1
Version: 0.9
-Release: 10%{?dist}
+Release: 11%{?dist}
License: GPLv2
Group: System Environment/Base
Source0: %{name}-%{version}.tar.bz2
@@ -66,11 +66,18 @@ if [ $1 -ge 1 ] ; then
/bin/systemctl try-restart yum-updatesd.service >/dev/null 2>&1 || :
fi
-%triggerun -- yum-updatesd < 0.9-6
+# one off fix for bug #807006
+%triggerun -- %{name} < 1:0.9-11
+/bin/systemctl --no-reload enable %{name}.service >/dev/null 2>&1 || :
+
+%triggerun -- %{name} < 1:0.9-6
# Save the current service runlevel info
# User must manually run systemd-sysv-convert --apply yum-updatesd
# to migrate them to systemd targets
-/usr/bin/systemd-sysv-convert --save yum-updatesd >/dev/null 2>&1 ||:
+/usr/bin/systemd-sysv-convert --save %{name} >/dev/null 2>&1 || :
+
+# This package is allowed to autostart:
+/bin/systemctl --no-reload enable %{name}.service >/dev/null 2>&1 || :
# Run these because the SysV package being removed won't do them
/sbin/chkconfig --del yum-updatesd >/dev/null 2>&1 || :
@@ -87,7 +94,10 @@ fi
%changelog
-* Fri Feb 17 2012 Gregor Tätzner <brummbq at fedoraproject.com> - 1:0.9-10
+* Mon Mar 26 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 1:0.9-11
+- enable the service by default on upgrades (fix bug #807006)
+
+* Fri Feb 17 2012 Gregor Tätzner <brummbq at fedoraproject.org> - 1:0.9-10
- adapt to new networkmanager dbus interface
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.9-9
More information about the scm-commits
mailing list