From 6b84ec5fc4814ea996dbc66d013e7f33cdebf409 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Mon, 22 Apr 2024 20:19:54 +0200 Subject: [PATCH] Resolves: rhbz#2276078 Set MOZ_APP_REMOTINGNAME to firefox --- thunderbird.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/thunderbird.spec b/thunderbird.spec index 1de4855..eb35cf0 100644 --- a/thunderbird.spec +++ b/thunderbird.spec @@ -77,7 +77,7 @@ ExcludeArch: s390x Summary: Mozilla Thunderbird mail/newsgroup client Name: thunderbird Version: 115.10.1 -Release: 1%{?dist} +Release: 2%{?dist} URL: http://www.mozilla.org/projects/thunderbird/ License: MPL-2.0 OR GPL-2.0-or-later OR LGPL-2.0-or-later Source0: https://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz @@ -581,10 +581,10 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/thunderbird # Enable wayland by default on f40+ %if 0%{?fedora} >= 40 sed -i -e 's,__WAYLAND_X11_PLACEHOLDER__,export MOZ_ENABLE_WAYLAND=1,g' $RPM_BUILD_ROOT/%{_bindir}/thunderbird -sed -i -e 's,__APP_NAME__,org.mozilla.thunderbird,g' $RPM_BUILD_ROOT/%{_bindir}/thunderbird +sed -i -e 's,__APP_NAME__,org.mozilla.firefox,g' $RPM_BUILD_ROOT/%{_bindir}/thunderbird %else sed -i -e 's,__WAYLAND_X11_PLACEHOLDER__,,g' $RPM_BUILD_ROOT/%{_bindir}/thunderbird -sed -i -e 's,__APP_NAME__,mozilla-thunderbird,g' $RPM_BUILD_ROOT/%{_bindir}/thunderbird +sed -i -e 's,__APP_NAME__,firefox,g' $RPM_BUILD_ROOT/%{_bindir}/thunderbird %{__cat} %{SOURCE28} | %{__sed} -e 's,__PREFIX__,%{_prefix},g' > \ %{buildroot}%{_bindir}/thunderbird-wayland %{__chmod} 755 %{buildroot}%{_bindir}/thunderbird-wayland @@ -736,6 +736,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #=============================================================================== %changelog +* Mon Apr 22 2024 Eike Rathke - 115.10.1-2 +- Resolves: rhbz#2276078 Set MOZ_APP_REMOTINGNAME to firefox + * Mon Apr 22 2024 Eike Rathke - 115.10.1-1 - Update to 115.10.1