From f6a30862686d42d840f5dc96533077b77af7e9b2 Mon Sep 17 00:00:00 2001 From: B Stack Date: Sat, 1 Sep 2018 11:41:42 -0400 Subject: palemoon: add gcc49 req when el7 --- palemoon/palemoon.spec | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'palemoon/palemoon.spec') diff --git a/palemoon/palemoon.spec b/palemoon/palemoon.spec index 3fed4ba..df52b72 100644 --- a/palemoon/palemoon.spec +++ b/palemoon/palemoon.spec @@ -23,6 +23,9 @@ BuildRequires: bzip2-devel BuildRequires: dbus-glib-devel BuildRequires: desktop-file-utils BuildRequires: gcc +%if 0%{?el7} +BuildRequires: gcc49 +%endif BuildRequires: gcc-c++ BuildRequires: gtk2-devel BuildRequires: glib2-devel @@ -57,13 +60,17 @@ and themes to make the browser truly your own. %{__cp} %{SOURCE1} ./.mozconfig %build -#source /usr/bin/gcc49 # not needed for >= 28.0.0 +%if 0%{?el7} +source /usr/bin/gcc49 +%endif %if !%{dummy_package} ./mach build %endif %install -#source /usr/bin/gcc49 # not needed for >= 28.0.0 +%if 0%{?el7} +source /usr/bin/gcc49 +%endif rm -rf %{buildroot} %if !%{dummy_package} -- cgit