diff --git a/mdadm.spec b/mdadm.spec index 7085cc8..7b6d216 100644 --- a/mdadm.spec +++ b/mdadm.spec @@ -55,7 +55,10 @@ is not used as the system init process. %prep %setup -q +# Only apply cgroups workaround on F18 and higher +%if "%{fedora}" >= "18" %patch0 -p1 -b .cgroup +%endif # Fedora customization patches %patch97 -p1 -b .udev