Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibility

issues. Fix FTBFS).
This commit is contained in:
Ralf Corsépius 2015-06-19 09:26:07 +02:00
parent 6e4d117e3f
commit f81482201f

View File

@ -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 <corsepiu@fedoraproject.org> - 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 <rel-eng@lists.fedoraproject.org> - 0.2.3-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild