summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-06-12 15:44:26 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-09-05 11:28:29 +0200
commit3e7aeece252e088b2be14c9545a211d6543fd66f (patch)
tree238be0e5d459abebc2a624328230cb2df8fd9a12 /contrib/sssd.spec.in
parent933c7c5efc76b4a9f3206b36bf6fe60e5dd635f1 (diff)
downloadsssd-3e7aeece252e088b2be14c9545a211d6543fd66f.tar.gz
sssd-3e7aeece252e088b2be14c9545a211d6543fd66f.tar.xz
sssd-3e7aeece252e088b2be14c9545a211d6543fd66f.zip
SPEC: Use netlink library version 3 for rhel7
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r--contrib/sssd.spec.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 6e9d96984..70cb6d0c0 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -136,8 +136,10 @@ BuildRequires: pkgconfig
BuildRequires: findutils
BuildRequires: glib2-devel
BuildRequires: selinux-policy-targeted
-%if (0%{?fedora} >= 18)
+%if 0%{?fedora}
BuildRequires: libcmocka-devel
+%endif
+%if (0%{?fedora} || 0%{?rhel} >= 7)
BuildRequires: libnl3-devel
%else
BuildRequires: libnl-devel