From b261bc5ac870369629edc3d7e1405807adc49787 Mon Sep 17 00:00:00 2001 From: Artur Iwicki Date: Nov 07 2018 13:51:41 +0000 Subject: Fix EPEL6 compilation errors (remove #pragma directives) --- diff --git a/aha.spec b/aha.spec index 4617ef2..dc60289 100644 --- a/aha.spec +++ b/aha.spec @@ -20,6 +20,8 @@ and produces an HTML rendition of the original text. %setup -q # Extract license header from source code cat aha.c | awk '1;/\*\//{exit}' > LICENSE +# Fix EPEL6 compile errors - remove #pragma directives +sed -e '/[ \t]*#pragma GCC diagnostic.*/d' -i aha.c %build @@ -38,6 +40,9 @@ cat aha.c | awk '1;/\*\//{exit}' > LICENSE %changelog +* Wed Nov 08 2018 Artur Iwicki - 0.5-1 +- Fix EPEL6 compilation errors + * Sat Oct 27 2018 Artur Iwicki - 0.5-1 - Update to latest upstream release