diff --git a/mdadm.spec b/mdadm.spec index c69a9e4..aa8a993 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -1,7 +1,7 @@ Summary: The mdadm program controls Linux md devices (software RAID arrays) Name: mdadm Version: 3.2.6 -Release: 9%{?dist} +Release: 10%{?dist} Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz Source1: mdmonitor.init Source2: raid-check @@ -118,9 +118,10 @@ rm -rf %{buildroot} %post %systemd_post mdmonitor.service +/usr/bin/systemctl disable mdmonitor-takeover.service >/dev/null 2>&1 || : %preun -%systemd_preun mdmonitor.service mdmonitor-takeover.service +%systemd_preun mdmonitor.service %postun %systemd_postun_with_restart mdmonitor.service