From c5d05364a32e3558f119788698df81579217958b Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 13 Jul 2021 19:23:31 +0200 Subject: [PATCH] RPM: Depend on cmake3 instead of cmake on EL7. Otherwise, the %cmake3 macro is not present and RPM building fails. Fixes CI check. --- rpm/scitokens-cpp.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rpm/scitokens-cpp.spec b/rpm/scitokens-cpp.spec index e6ff96f..cdefc5a 100644 --- a/rpm/scitokens-cpp.spec +++ b/rpm/scitokens-cpp.spec @@ -19,7 +19,11 @@ Source0: https://github.com/scitokens/scitokens-cpp/releases/download/v%{version BuildRequires: gcc-c++ BuildRequires: make +%if 0%{?el7} +BuildRequires: cmake3 +%else BuildRequires: cmake +%endif BuildRequires: sqlite-devel BuildRequires: openssl-devel BuildRequires: libcurl-devel