From a6201d770437f2c326b44ee2c590a35f0cfba481 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 9 Jul 2018 19:06:49 +0200 Subject: [PATCH] add BuildRequires: gcc Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- ocserv.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/ocserv.spec b/ocserv.spec index 492d171..55098a8 100644 --- a/ocserv.spec +++ b/ocserv.spec @@ -42,6 +42,7 @@ Source11: ocserv.init # http://git.infradead.org/ocserv.git/commitdiff/7d70006a2dbddf783213f1856374bacc74217e09 %if 0%{?rhel} && 0%{?rhel} <= 6 +BuildRequires: gcc BuildRequires: gnutls30-devel %else BuildRequires: gnutls-devel