[SSSD] [PATCH] BuildRequire libnl3-devel on RHEL-7

Jakub Hrozek jhrozek at redhat.com
Fri Aug 22 09:40:55 UTC 2014


Hi,

attached is a fix for a small issue with the upstram spec file.
Downstream properly requires libnl3-devel.
-------------- next part --------------
>From 08b2448a909f2313a34b7de8ff1b49d1dac29ac4 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Fri, 22 Aug 2014 11:36:59 +0200
Subject: [PATCH] BuildRequire libnl3-devel on RHEL-7

RHEL-7 carries libnl3, so there's no reason our RPM should BuildRequire
the older version of the library.
---
 contrib/sssd.spec.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index a566a555014b5673e91fcadfb938719232c962bb..9616d73476f5e0e932c98f00867499083b1d36ce 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -138,6 +138,8 @@ BuildRequires: glib2-devel
 BuildRequires: selinux-policy-targeted
 %if (0%{?fedora} >= 18)
 BuildRequires: libcmocka-devel
+%endif
+%if (0%{?fedora} >= 18 || 0%{?rhel} >= 7)
 BuildRequires: libnl3-devel
 %else
 BuildRequires: libnl-devel
-- 
1.9.3



More information about the sssd-devel mailing list