summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2022-05-05 12:29:17 +0200
committerMartin Stransky <stransky@redhat.com>2022-05-05 12:29:17 +0200
commit94ad0536cd079d99ef5148fe701e30cc3daa53c8 (patch)
treeb238f65529ee714ee00becebb9c40ba2ec5f4214
parentAdded fix for mozbz#1759137 (diff)
downloadlibrewolf-fedora-ff-94ad0536cd079d99ef5148fe701e30cc3daa53c8.tar.gz
librewolf-fedora-ff-94ad0536cd079d99ef5148fe701e30cc3daa53c8.tar.bz2
librewolf-fedora-ff-94ad0536cd079d99ef5148fe701e30cc3daa53c8.zip
Removed Fedora user agent patch (rhbz#2081791)
-rw-r--r--firefox-fedora-ua.patch20
-rw-r--r--firefox.spec7
2 files changed, 4 insertions, 23 deletions
diff --git a/firefox-fedora-ua.patch b/firefox-fedora-ua.patch
deleted file mode 100644
index 053b2a9..0000000
--- a/firefox-fedora-ua.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -up firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp
---- firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp.fedora-ua 2021-08-16 20:10:57.000000000 +0200
-+++ firefox-91.0.1/netwerk/protocol/http/nsHttpHandler.cpp 2021-08-23 12:07:21.128772096 +0200
-@@ -716,7 +716,7 @@ void nsHttpHandler::BuildUserAgent() {
- // than if we didn't preallocate at all.
- mUserAgent.SetCapacity(mLegacyAppName.Length() + mLegacyAppVersion.Length() +
- #ifndef UA_SPARE_PLATFORM
-- mPlatform.Length() +
-+ mPlatform.Length() + 10 +
- #endif
- mOscpu.Length() + mMisc.Length() + mProduct.Length() +
- mProductSub.Length() + mAppName.Length() +
-@@ -735,6 +735,7 @@ void nsHttpHandler::BuildUserAgent() {
- if (!mPlatform.IsEmpty()) {
- mUserAgent += mPlatform;
- mUserAgent.AppendLiteral("; ");
-+ mUserAgent.AppendLiteral("Fedora; ");
- }
- #endif
- if (!mCompatDevice.IsEmpty()) {
diff --git a/firefox.spec b/firefox.spec
index 1611ba3..9f172c1 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -163,7 +163,7 @@ ExcludeArch: aarch64
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 100.0
-Release: 2%{?pre_tag}%{?dist}
+Release: 3%{?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
@@ -230,7 +230,6 @@ Patch102: firefox-tests-xpcshell-freeze.patch
# Fedora specific patches
Patch215: firefox-enable-addons.patch
Patch219: rhbz-1173156.patch
-Patch221: firefox-fedora-ua.patch
Patch224: mozilla-1170092.patch
#ARM run-time patch
Patch226: rhbz-1354671.patch
@@ -470,7 +469,6 @@ This package contains results of tests executed during build.
# Fedora patches
%patch215 -p1 -b .addons
%patch219 -p1 -b .rhbz-1173156
-%patch221 -p1 -b .fedora-ua
%patch224 -p1 -b .1170092
#ARM run-time patch
%ifarch aarch64
@@ -1050,6 +1048,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
#---------------------------------------------------------------------
%changelog
+* Thu May 5 2022 Martin Stransky <stransky@redhat.com>- 100.0-3
+- Removed Fedora user agent patch (rhbz#2081791).
+
* Tue May 3 2022 Martin Stransky <stransky@redhat.com>- 100.0-2
- Added fix for mozbz#1759137
bgstack15