[thunderbird-lightning] Only build WebRTC on x86 to fix FTBFS on other arches

Peter Robinson pbrobinson at fedoraproject.org
Tue Mar 26 08:40:55 UTC 2013


commit 2549404c2604db94c3058e996565fa15db8a41e6
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Tue Mar 26 08:40:29 2013 +0000

    Only build WebRTC on x86 to fix FTBFS on other arches

 thunderbird-lightning.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/thunderbird-lightning.spec b/thunderbird-lightning.spec
index 500541f..1cba993 100644
--- a/thunderbird-lightning.spec
+++ b/thunderbird-lightning.spec
@@ -28,7 +28,7 @@
 Name:           thunderbird-lightning
 Summary:        The calendar extension to Thunderbird
 Version:        1.9.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 URL:            http://www.mozilla.org/projects/calendar/lightning/
 License:        MPLv1.1 or GPLv2+ or LGPLv2+
 Group:          Applications/Productivity
@@ -124,6 +124,10 @@ echo "ac_add_options --disable-jemalloc" >> .mozconfig
 echo "ac_add_options --disable-elf-hack" >> .mozconfig
 %endif
 
+%ifnarch %{ix86} x86_64
+echo "ac_add_options --disable-webrtc" >> .mozconfig
+%endif
+
 # Fix permissions
 find -name \*.js -type f | xargs chmod -x
 
@@ -204,6 +208,9 @@ find $RPM_BUILD_ROOT -name \*.so | xargs chmod 0755
 #===============================================================================
 
 %changelog
+* Tue Mar 26 2013 Peter Robinson <pbrobinson at fedoraproject.org> 1.9.1-2
+- Only build WebRTC on x86 to fix FTBFS on other arches
+
 * Tue Mar 19 2013 Orion Poplawski <orion at cora.nwra.com> - 1.9.1-1
 - Update to 1.9.1
 - Add patch to fix alarm handling after suspend (bug #910976)


More information about the scm-commits mailing list