From 3a564adfb7ceae6c8df51960829cb5b0b9a82394 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Wed, 29 Mar 2006 21:42:10 +0000 Subject: [PATCH] ebtables gets hung up on -fstack-protector, needs -fPIC --- ebtables.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/ebtables.spec b/ebtables.spec index d684d91..e5840f5 100644 --- a/ebtables.spec +++ b/ebtables.spec @@ -2,7 +2,7 @@ Name: ebtables Version: 2.0.8 -Release: 0.1.%{prever}%{?dist} +Release: 0.3.%{prever}%{?dist} Summary: Ethernet Bridge frame table administration tool License: GPL Group: System Environment/Base @@ -28,7 +28,8 @@ like iptables. There are no known incompatibility issues. %setup -q -n ebtables-v%{version}-%{prever} %build -make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" +MY_CFLAGS=`echo $RPM_OPT_FLAGS -fPIC | sed -e 's/-fstack-protector//g'` +make %{?_smp_mflags} CFLAGS="$MY_CFLAGS" %install rm -rf $RPM_BUILD_ROOT @@ -69,6 +70,12 @@ fi %ghost %{_sysconfdir}/ebtables.broute %changelog +* Wed Mar 29 2006 Tom "spot" Callaway 2.0.8-0.3.rc1 +- use -fPIC + +* Wed Mar 29 2006 Tom "spot" Callaway 2.0.8-0.2.rc1 +- broken tagging + * Tue Jan 10 2006 Tom "spot" Callaway 2.0.8-0.1.rc1 - bump to 2.0.8-rc1