summaryrefslogtreecommitdiff
path: root/palemoon/palemoon.spec
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-09-01 11:41:42 -0400
committerB Stack <bgstack15@gmail.com>2018-09-01 11:41:42 -0400
commitf6a30862686d42d840f5dc96533077b77af7e9b2 (patch)
treeb4e4690f7d4dd4c8357409787425ec32d5a053cd /palemoon/palemoon.spec
parentadd gcc49 with symlink fix (diff)
downloadstackrpms-f6a30862686d42d840f5dc96533077b77af7e9b2.tar.gz
stackrpms-f6a30862686d42d840f5dc96533077b77af7e9b2.tar.bz2
stackrpms-f6a30862686d42d840f5dc96533077b77af7e9b2.zip
palemoon: add gcc49 req when el7
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