rpms/ebtables/devel ebtables.spec,1.6,1.7

Tom Callaway (spot) fedora-extras-commits at redhat.com
Wed Mar 29 21:42:13 UTC 2006


Author: spot

Update of /cvs/extras/rpms/ebtables/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24991/devel

Modified Files:
	ebtables.spec 
Log Message:

ebtables gets hung up on -fstack-protector, needs -fPIC



Index: ebtables.spec
===================================================================
RCS file: /cvs/extras/rpms/ebtables/devel/ebtables.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ebtables.spec	29 Mar 2006 16:23:55 -0000	1.6
+++ ebtables.spec	29 Mar 2006 21:42:13 -0000	1.7
@@ -2,7 +2,7 @@
 
 Name:		ebtables
 Version:	2.0.8
-Release:	0.2.%{prever}%{?dist}
+Release:	0.3.%{prever}%{?dist}
 Summary:	Ethernet Bridge frame table administration tool
 License:	GPL
 Group:		System Environment/Base
@@ -28,7 +28,8 @@
 %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,9 @@
 %ghost %{_sysconfdir}/ebtables.broute
 
 %changelog
+* Wed Mar 29 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.8-0.3.rc1
+- use -fPIC
+
 * Wed Mar 29 2006 Tom "spot" Callaway <tcallawa at redhat.com> 2.0.8-0.2.rc1
 - broken tagging
 




More information about the fedora-extras-commits mailing list