Only apply cgroups workaround on Fedora 18 and higher

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
Jes Sorensen 2012-11-30 16:31:39 +01:00
parent ecbec5e0c4
commit d631eadf39

View File

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