summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <jhorak@redhat.com>2020-02-11 17:01:51 +0100
committerJan Horak <jhorak@redhat.com>2020-02-11 17:01:51 +0100
commit6f255146717c56aa4d172b4192d30b6879ace5c8 (patch)
tree70116751c1c6c5b7a0105a886f33891b7e725bba
parentReadding api keys pathes (diff)
downloadlibrewolf-fedora-ff-6f255146717c56aa4d172b4192d30b6879ace5c8.tar.gz
librewolf-fedora-ff-6f255146717c56aa4d172b4192d30b6879ace5c8.tar.bz2
librewolf-fedora-ff-6f255146717c56aa4d172b4192d30b6879ace5c8.zip
Set api keys to full patch
-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