From 7cba92f40126ab274490d2ac0a475abd1822537a Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Jun 29 2013 10:12:39 +0000 Subject: Fix SysV/systemd upgrade --- diff --git a/dkms.spec b/dkms.spec index f3b08bb..757d998 100644 --- a/dkms.spec +++ b/dkms.spec @@ -5,7 +5,7 @@ Summary: Dynamic Kernel Module Support Framework Name: dkms Version: 2.2.0.3 -Release: 9%{dist} +Release: 10%{dist} License: GPLv2+ Group: System Environment/Base BuildArch: noarch @@ -86,18 +86,18 @@ rm -rf %{buildroot} %if 0%{?fedora} >= 20 || 0%{?rhel} >= 7 -%triggerun -- dkms < 2.2.0.3-6 +%triggerun -- dkms < 2.2.0.3-9 # 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 %{name}_autoinstaller >/dev/null 2>&1 ||: # If the package is allowed to autostart: -/bin/systemctl --no-reload enable %{name}_autoinstaller.service >/dev/null 2>&1 ||: +/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 %{name}_autoinstaller >/dev/null 2>&1 || : -/bin/systemctl try-restart %{name}_autoinstaller.service >/dev/null 2>&1 || : +/bin/systemctl try-restart %{name}.service >/dev/null 2>&1 || : %post %systemd_post %{name}_autoinstaller.service @@ -145,6 +145,9 @@ fi %{_sysconfdir}/bash_completion.d/%{name} %changelog +* Sat Jun 29 2013 Simone Caronni - 2.2.0.3-10 +- Fix SysV/systemd upgrade. + * Wed Jun 26 2013 Simone Caronni - 2.2.0.3-9 - Update systemd requirements.