From 933563ec395d5d2cfc57e5a63282ee712366bf95 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 27 Feb 2013 13:06:19 +0100 Subject: [PATCH] Drop the sysv -> systemd init script conversion The speech-dispatcher systemd support was introduced in F16 and we are now at F19. Drop the sysv conversion; direct F16 -> F19 upgrades are unsupported. --- speech-dispatcher.spec | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/speech-dispatcher.spec b/speech-dispatcher.spec index f9ebc32..6d5a0a4 100644 --- a/speech-dispatcher.spec +++ b/speech-dispatcher.spec @@ -29,8 +29,6 @@ Patch0: 0001-RPM-Cleanups.patch Patch1: speech-dispatcher-python3.patch Requires(post): systemd-units -Requires(post): systemd-sysv -Requires(post): chkconfig Requires(preun): systemd-units Requires(postun): systemd-units @@ -168,16 +166,6 @@ if [ $1 -eq 0 ] ; then /bin/systemctl stop speech-dispatcherd.service > /dev/null 2>&1 || : fi -%triggerun -- speech-dispatcherd < 0.7.1-6 -# Save the current service runlevel info -# User must manually run systemd-sysv-convert --apply httpd -# to migrate them to systemd targets -/usr/bin/systemd-sysv-convert --save speech-dispatcherd >/dev/null 2>&1 ||: - -# Run these because the SysV package being removed won't do them -/sbin/chkconfig --del speech-dispatcherd >/dev/null 2>&1 || : -/bin/systemctl try-restart speech-dispatcherd.service >/dev/null 2>&1 || : - %files %doc AUTHORS ChangeLog NEWS README COPYING %dir %{_sysconfdir}/speech-dispatcher/