| |
@@ -1,7 +1,6 @@
|
| |
# Set to true if it's going to be submitted as update.
|
| |
%global release_build 1
|
| |
%global debug_build 0
|
| |
- %global build_with_clang 0
|
| |
%global build_with_asan 0
|
| |
%global run_firefox_tests 1
|
| |
# Temporary disable tests on Rawhide/arm/i686 due to failures
|
| |
@@ -18,6 +17,12 @@
|
| |
%global create_debuginfo 1
|
| |
%global system_nss 1
|
| |
|
| |
+ %if "%{toolchain}" == "clang"
|
| |
+ %global build_with_clang 1
|
| |
+ %else
|
| |
+ %global build_with_clang 0
|
| |
+ %endif
|
| |
+
|
| |
# There are still build problems on s390x, see
|
| |
# https://koji.fedoraproject.org/koji/taskinfo?taskID=55048351
|
| |
# https://bugzilla.redhat.com/show_bug.cgi?id=1897522
|
| |
@@ -140,7 +145,7 @@
|
| |
Summary: Mozilla Firefox Web browser
|
| |
Name: firefox
|
| |
Version: 84.0.2
|
| |
- Release: 1%{?pre_tag}%{?dist}
|
| |
+ Release: 2%{?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
|
| |
@@ -1022,6 +1027,9 @@
|
| |
#---------------------------------------------------------------------
|
| |
|
| |
%changelog
|
| |
+ * Mon Jan 11 2021 Timm Bäder <tbaeder@redhat.com> 84.0.2-2
|
| |
+ - Set %%build_with_clang automatically based on %%toolchain
|
| |
+
|
| |
* Wed Jan 6 2021 Martin Stransky <stransky@redhat.com> - 84.0.2-1
|
| |
- Updated to 84.0.2
|
| |
|
| |
Now that redhat-rpm-config defines %toolchain for us, we can
automatically set %build_with_clang based on that.