summaryrefslogtreecommitdiff
path: root/palemoon/palemoon.spec
diff options
context:
space:
mode:
Diffstat (limited to 'palemoon/palemoon.spec')
-rw-r--r--palemoon/palemoon.spec11
1 files changed, 9 insertions, 2 deletions
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}
bgstack15