summaryrefslogtreecommitdiff
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
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 de3059bd..478247f3 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -122,7 +122,6 @@ BuildRequires: libselinux-devel
BuildRequires: libsemanage-devel
BuildRequires: bind-utils
BuildRequires: keyutils-libs-devel
-BuildRequires: libnl-devel
BuildRequires: gettext-devel
BuildRequires: pkgconfig
BuildRequires: findutils
@@ -130,6 +129,9 @@ BuildRequires: glib2-devel
BuildRequires: selinux-policy-targeted
%if (0%{?fedora} >= 18)
BuildRequires: libcmocka-devel
+BuildRequires: libnl3-devel
+%else
+BuildRequires: libnl-devel
%endif
# RHEL 5 is too old to support samba4 and the PAC responder