From 8ec1ea7a6a0717343f101cd6173d36922cdc1cc3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 21 Sep 2013 08:30:12 +0200 Subject: Thunderbird need python 2.7 --- thunderbird.spec | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/thunderbird.spec b/thunderbird.spec index fc26af4..8d3d77b 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -154,6 +154,9 @@ BuildRequires: GConf2-devel %if %{system_vpx} BuildRequires: libvpx-devel >= %{libvpx_version} %endif +%if 0%{?rhel} == 6 +BuildRequires: python27 +%endif Requires: mozilla-filesystem %if %{?system_nss} @@ -294,6 +297,10 @@ echo "ac_add_options --disable-webrtc" >> .mozconfig #=============================================================================== %build +%if 0%{?rhel} == 6 +. /opt/rh/python27/enable +%endif + cd %{tarballdir} # -fpermissive is needed to build with gcc 4.6+ which has become stricter @@ -342,6 +349,10 @@ make -C objdir buildsymbols #=============================================================================== %install +%if 0%{?rhel} == 6 +. /opt/rh/python27/enable +%endif + cd %{tarballdir}/objdir DESTDIR=$RPM_BUILD_ROOT make install -- cgit