On Fri, Aug 22, 2014 at 01:11:44PM +0200, Lukas Slebodnik wrote:
On (22/08/14 11:40), Jakub Hrozek wrote:
>Hi,
>
>attached is a fix for a small issue with the upstram spec file.
>Downstream properly requires libnl3-devel.
>From 08b2448a909f2313a34b7de8ff1b49d1dac29ac4 Mon Sep 17 00:00:00 2001
>From: Jakub Hrozek <jhrozek(a)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
This patch is almost the same as patch from thread
https://lists.fedorahosted.org/pipermail/sssd-devel/2014-June/020109.html
LS
OK, sorry, you were first :-)