From dd385eb5ac963c74b617b912c99ef97e4a73486f Mon Sep 17 00:00:00 2001 From: Marian Csontos Date: Fri, 26 Jun 2015 19:03:56 +0200 Subject: [PATCH] Build lockd only for Fedora >= 22 and RHEL >= 7 --- spec/source.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/source.inc b/spec/source.inc index 00d52821c..0a0d9e5a9 100644 --- a/spec/source.inc +++ b/spec/source.inc @@ -27,7 +27,9 @@ %service lvmpolld 1 +%if %{fedora} >= 22 || %{rhel} >= 7 %service lvmlockd 1 +%endif ##############################################################