From f81482201f0d300e4f6383d9e42bd9c5e0117024 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= Date: Fri, 19 Jun 2015 09:26:07 +0200 Subject: [PATCH] Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibility issues. Fix FTBFS). --- nebula.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/nebula.spec b/nebula.spec index 3d50e2d..8060696 100644 --- a/nebula.spec +++ b/nebula.spec @@ -1,6 +1,6 @@ Name: nebula Version: 0.2.3 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Intrusion signature generator License: GPLv2 @@ -19,7 +19,10 @@ setup nebula runs as a daemon and receives attacks from honeypots. %setup -q %build -%configure +# FIXME: Package suffers from c11/inline issues +# Workaround by appending --std=gnu89 to CFLAGS +# Proper fix would be to fix the source-code +%configure CFLAGS="${RPM_OPT_FLAGS} --std=gnu89" make %{?_smp_mflags} AM_CFLAGS=-D_GNU_SOURCE %install @@ -31,6 +34,10 @@ make install DESTDIR="%{buildroot}" INSTALL="install -p" %{_bindir}/nebulaclient %changelog +* Fri Jun 19 2015 Ralf Corsépius - 0.2.3-12 +- Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibility + issues. Fix FTBFS). + * Wed Jun 17 2015 Fedora Release Engineering - 0.2.3-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild