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.
This commit is contained in:
Kalev Lember 2013-02-27 13:06:19 +01:00
parent 009320ec00
commit 933563ec39

View File

@ -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/