summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firefox-mozconfig3
-rw-r--r--firefox.spec5
2 files changed, 5 insertions, 3 deletions
diff --git a/firefox-mozconfig b/firefox-mozconfig
index 8975cbf..4232142 100644
--- a/firefox-mozconfig
+++ b/firefox-mozconfig
@@ -10,9 +10,6 @@ ac_add_options --disable-updater
ac_add_options --enable-chrome-format=omni
ac_add_options --enable-pulseaudio
ac_add_options --without-system-icu
-ac_add_options --with-mozilla-api-keyfile=../../mozilla-api-key
-ac_add_options --with-google-location-service-api-keyfile=../../google-api-key
-ac_add_options --with-google-safebrowsing-api-keyfile=../../google-api-key
ac_add_options --enable-release
ac_add_options --update-channel=release
ac_add_options --disable-system-sqlite
diff --git a/firefox.spec b/firefox.spec
index 48fba14..19015e7 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -465,6 +465,11 @@ echo "ac_add_options --enable-address-sanitizer" >> .mozconfig
echo "ac_add_options --disable-jemalloc" >> .mozconfig
%endif
+# api keys full path
+echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig
+echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-api-key" >> .mozconfig
+echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
+
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
# Remove executable bit to make brp-mangle-shebangs happy.
bgstack15