summaryrefslogtreecommitdiff
path: root/firefox.spec
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2020-11-24 20:52:59 +0100
committerMartin Stransky <stransky@redhat.com>2020-11-24 20:52:59 +0100
commit4b86827d560da2e93b01a3d656aa8d505e37d7a7 (patch)
tree6b2fad40275e5cf7f47374824015e9f679a8df43 /firefox.spec
parentCopy test results to version/release subdir (diff)
downloadlibrewolf-fedora-ff-4b86827d560da2e93b01a3d656aa8d505e37d7a7.tar.gz
librewolf-fedora-ff-4b86827d560da2e93b01a3d656aa8d505e37d7a7.tar.bz2
librewolf-fedora-ff-4b86827d560da2e93b01a3d656aa8d505e37d7a7.zip
Fix mochitest
Diffstat (limited to 'firefox.spec')
-rw-r--r--firefox.spec17
1 files changed, 10 insertions, 7 deletions
diff --git a/firefox.spec b/firefox.spec
index 27b2fee..422c046 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -125,7 +125,7 @@ ExcludeArch: aarch64
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 83.0
-Release: 5%{?pre_tag}%{?dist}
+Release: 6%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@@ -150,9 +150,7 @@ Source32: node-stdout-nonblocking-wrapper
Source33: firefox.appdata.xml.in
Source34: firefox-search-provider.ini
Source35: google-loc-api-key
-Source36: run-tests
-Source37: print_results_general
-Source38: print_results_spec
+Source36: firefox-testing.tar.gz
# Build patches
Patch3: mozilla-build-arm.patch
@@ -706,9 +704,11 @@ make -C objdir buildsymbols
%endif
%if 0%{?run_firefox_tests}
-cp %{SOURCE36} .
-cp %{SOURCE37} .
-cp %{SOURCE38} .
+tar xf %{SOURCE36}
+cat > objdir/_virtualenvs/init_py3/pip.conf << EOF
+[install]
+find-links=`pwd`/mochitest-python
+EOF
./run-tests
%endif
#---------------------------------------------------------------------
@@ -996,6 +996,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Tue Nov 24 2020 Martin Stransky <stransky@redhat.com> - 83.0-6
+- Fix mochitest
+
* Wed Nov 18 2020 Martin Stransky <stransky@redhat.com> - 83.0-5
- Build with tests enabled
bgstack15