fix for f12
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 8 Jan 2010 14:56:11 +0000 (14:56 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 8 Jan 2010 14:56:11 +0000 (14:56 +0000)
bbn_80211.spec

index f118ba1..facad61 100644 (file)
@@ -36,7 +36,11 @@ over the air reliably at 1Mbps and partially at 2Mbps.
 
 %prep
 %setup -q -n %{actual_name}
-
+# patch bbn_tap.cc that lacks an include (critical on f12)
+sed -i '
+/#include <stdexcept>/ a\
+#include <stdio.h>
+' gr-bbn/src/bbn/bbn_tap.cc 
 
 %build
 #PKG_CONFIG_PATH="/usr/lib/pkgconfig"
@@ -68,7 +72,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %{_bindir}/*
 %{_includedir}/gnuradio/*
-%{_libdir}/python2.5/site-packages/
+%{_libdir}/python*/site-packages/
 %dir %{_datadir}/%{actual_name}
 %{_datadir}/%{actual_name}/*