From 0befc9ae024cf8c9a2d42ab21591699e659dd420 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Mon, 7 Mar 2016 14:59:16 +0100 Subject: SPEC: Run extra unit tests with epel libcmocka and cwrap is available in epel which is used by mock. This patch also remove superfluous for checking fedora. Fedora < 20 is not suported for very long time. Reviewed-by: Jakub Hrozek --- contrib/sssd.spec.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 10a428e36..2ba6a4d4c 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -139,10 +139,8 @@ BuildRequires: pkgconfig BuildRequires: findutils BuildRequires: glib2-devel BuildRequires: selinux-policy-targeted -%if 0%{?fedora} +%if (0%{?fedora} || 0%{?epel}) BuildRequires: libcmocka-devel >= 1.0.0 -%endif -%if (0%{?fedora} >= 20) BuildRequires: uid_wrapper BuildRequires: nss_wrapper %endif -- cgit