diff --git a/vtun.spec b/vtun.spec index 7b5a4b9..f3c6489 100644 --- a/vtun.spec +++ b/vtun.spec @@ -1,6 +1,6 @@ Name: vtun Version: 3.0.3 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Virtual tunnel over TCP/IP networks License: GPLv2+ Group: System Environment/Daemons @@ -35,7 +35,10 @@ require modification to any kernel parts. %build %{__autoconf} -%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} %install @@ -68,6 +71,10 @@ make install DESTDIR=%{buildroot} INSTALL_OWNER= INSTALL="/usr/bin/install -p" %{_mandir}/man8/vtund.8* %changelog +* Mon Jun 22 2015 Ralf Corsépius - 3.0.3-13 +- Append --stdc=gnu89 to CFLAGS (Work-around to c11/inline compatibility + issues. Fix FTBFS). + * Fri Jun 19 2015 Fedora Release Engineering - 3.0.3-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild