diff options
-rw-r--r-- | firefox-fedora-ua.patch | 20 | ||||
-rw-r--r-- | firefox.spec | 7 |
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 |