From ce554a1604d76cee5d619fe8a684bc42f32b4648 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Jan 11 2018 09:21:51 +0000 Subject: SPEC: Fix building on rawhide coreutils does not provide few obsoletes packages since 8.28-2 > Remove very old Provides (mktemp, sh-utils, textwrap, fileutils, stat) > Those are gone in fc9, more than decade ago. + fix spec file condition for rhel < 6 --- diff --git a/certmonger.spec b/certmonger.spec index 4b9090c..f2cf136 100644 --- a/certmonger.spec +++ b/certmonger.spec @@ -50,16 +50,15 @@ BuildRequires: libcurl-devel BuildRequires: curl-devel %endif BuildRequires: libxml2-devel, xmlrpc-c-devel -%if 0%{?rhel} < 6 +%if 0%{?rhel} && 0%{?rhel} < 6 BuildRequires: bind-libbind-devel +BuildRequires: mktemp %endif # Required for 'make check': # for diff and cmp BuildRequires: diffutils # for expect BuildRequires: expect -# for mktemp, which was absorbed into coreutils at some point -BuildRequires: mktemp # for certutil and pk12util BuildRequires: nss-tools # for openssl