From: thierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Date: Mon, 4 Jan 2010 12:10:11 +0000 (+0000)
Subject: use our own bootstrap procedure - on f12 for now
X-Git-Tag: gnuradio-3.2.2-22~10
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=36658f326fd04504ea8b18e8283020c4fc2192f8;p=gnuradio.git

use our own bootstrap procedure - on f12 for now
---

diff --git a/gnuradio.spec b/gnuradio.spec
index 01f1652..c68fc0c 100644
--- a/gnuradio.spec
+++ b/gnuradio.spec
@@ -20,6 +20,7 @@ License: GPLv3
 URL: ftp://ftp.gnu.org/gnu/gnuradio/gnuradio-3.2.2.tar.gz
 Group: Productivity/Hamradio/Other
 Source: %{actual_name}.tar.gz
+Source1: bootstrap.wextoolbox
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -44,10 +45,14 @@ gnuradio is a free software radio toolkit
 
 %build
 export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
-# Following export PATH is a dirty hack to let gnuradio configure find sdcc
+# dirty hack to let gnuradio configure find sdcc
 export PATH=$PATH:/usr/libexec/sdcc
-./bootstrap
-#./configure
+# basically reruns autoconf and automake
+%if "%{distro}" == "Fedora" && %{distrorelease} >= 12
+bash -x ./bootstrap.wextoolbox
+%else
+bash -x ./bootstrap
+%endif
 %configure --disable-doxygen
 make