[yum-updatesd] fix broken scriptlets

Tom Callaway spot at fedoraproject.org
Thu Sep 8 14:55:23 UTC 2011


commit d9adc2969a791ea9cf8e7ecd58b197aeca9ec0da
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Thu Sep 8 10:55:11 2011 -0400

    fix broken scriptlets

 yum-updatesd.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/yum-updatesd.spec b/yum-updatesd.spec
index 739c430..9b08b17 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: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2
 Group: System Environment/Base
 Source0: %{name}-%{version}.tar.bz2
@@ -37,15 +37,15 @@ rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
 install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/
 
-%triggerun -- yum-updatesd < 0.9-5
+%triggerun -- yum-updatesd < 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 httpd >/dev/null 2>&1 ||:
+/usr/bin/systemd-sysv-convert --save yum-updatesd >/dev/null 2>&1 ||:
 
 # Run these because the SysV package being removed won't do them
-/sbin/chkconfig --del httpd >/dev/null 2>&1 || :
-/bin/systemctl try-restart apache-httpd.service >/dev/null 2>&1 || :
+/sbin/chkconfig --del yum-updatesd >/dev/null 2>&1 || :
+/bin/systemctl try-restart yum-updatesd.service >/dev/null 2>&1 || :
 
 %files
 %doc COPYING
@@ -58,6 +58,9 @@ install -m 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/
 
 
 %changelog
+* Thu Sep 08 2011 Tom Callaway <spot at fedoraproject.org> - 1:0.9-6
+- fix broken scriptlets
+
 * Thu Sep 08 2011 Tom Callaway <spot at fedoraproject.org> - 1:0.9-5
 - update to systemd service
 


More information about the scm-commits mailing list