From 2fa721a8f202d5e51af4c2ba221cdcd5fbc1073e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Jul 24 2018 14:28:24 +0000 Subject: Add missing BuildRequires on gcc configure: error: no acceptable C compiler found in $PATH References: https://bugzilla.redhat.com/show_bug.cgi?id=1604639 Signed-off-by: Igor Gnatenko --- diff --git a/libotr.spec b/libotr.spec index d373955..b8067d8 100644 --- a/libotr.spec +++ b/libotr.spec @@ -11,6 +11,7 @@ Provides: libotr-toolkit = %{version} Obsoletes: libotr-toolkit < %{version} Requires: libgcrypt >= 1.2.0 Requires: pkgconfig +BuildRequires: gcc BuildRequires: libgcrypt-devel >= 1.2.0, libgpg-error-devel %if %{snapshot} Buildrequires: libtool automake autoconf