|
|
|
@ -23,7 +23,7 @@ function dist_to_rhel_minor(str, start)
|
|
|
|
|
end
|
|
|
|
|
match = string.match(str, ".el8")
|
|
|
|
|
if match then
|
|
|
|
|
return 9
|
|
|
|
|
return 10
|
|
|
|
|
end
|
|
|
|
|
match = string.match(str, ".module%+el9.%d+")
|
|
|
|
|
if match then
|
|
|
|
@ -35,7 +35,7 @@ function dist_to_rhel_minor(str, start)
|
|
|
|
|
end
|
|
|
|
|
match = string.match(str, ".el9")
|
|
|
|
|
if match then
|
|
|
|
|
return 3
|
|
|
|
|
return 4
|
|
|
|
|
end
|
|
|
|
|
return -1
|
|
|
|
|
end}
|
|
|
|
@ -134,7 +134,7 @@ end}
|
|
|
|
|
|
|
|
|
|
Summary: Mozilla Thunderbird mail/newsgroup client
|
|
|
|
|
Name: thunderbird
|
|
|
|
|
Version: 115.5.0
|
|
|
|
|
Version: 115.6.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
URL: http://www.mozilla.org/projects/thunderbird/
|
|
|
|
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
|
@ -165,7 +165,7 @@ ExcludeArch: aarch64 s390 ppc ppc64
|
|
|
|
|
#Source0: https://archive.mozilla.org/pub/thunderbird/releases/%%{version}%%{?pre_version}/source/thunderbird-%%{version}%%{?pre_version}.processed-source.tar.xz
|
|
|
|
|
Source0: thunderbird-%{version}%{?pre_version}%{?buildnum}.processed-source.tar.xz
|
|
|
|
|
%if %{with langpacks}
|
|
|
|
|
Source1: thunderbird-langpacks-%{version}-20231121.tar.xz
|
|
|
|
|
Source1: thunderbird-langpacks-%{version}-20231218.tar.xz
|
|
|
|
|
%endif
|
|
|
|
|
Source2: cbindgen-vendor.tar.xz
|
|
|
|
|
Source3: process-official-tarball
|
|
|
|
@ -293,7 +293,7 @@ BuildRequires: rust >= %{rust_version}
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} == 9
|
|
|
|
|
BuildRequires: cargo
|
|
|
|
|
BuildRequires: clang clang-libs llvm
|
|
|
|
|
BuildRequires: clang clang-libs llvm llvm-devel
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
@ -1020,8 +1020,8 @@ echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc
|
|
|
|
|
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
|
|
|
|
|
|
|
|
|
# May result in empty --with-libclang-path= in earlier versions.
|
|
|
|
|
# So far this is needed only for c8s.
|
|
|
|
|
%if 0%{?rhel} == 8 && %{rhel_minor_version} >= 10
|
|
|
|
|
# So far this is needed only for c8s/c9s.
|
|
|
|
|
%if (0%{?rhel} == 8 && %{rhel_minor_version} >= 10) || (0%{?rhel} == 9 && %{rhel_minor_version} >= 4)
|
|
|
|
|
# Clang 17 upstream's detection fails, tell it where to look.
|
|
|
|
|
echo "ac_add_options --with-libclang-path=`llvm-config --libdir`" >> .mozconfig
|
|
|
|
|
%endif
|
|
|
|
@ -1419,9 +1419,7 @@ mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo
|
|
|
|
|
%{__cp} -p comm/mail/branding/%{name}/net.thunderbird.Thunderbird.appdata.xml $RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml
|
|
|
|
|
sed -i -e 's|<icon .*|<icon type="stock">thunderbird</icon>|' "$RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml"
|
|
|
|
|
|
|
|
|
|
#===============================================================================
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
# Clean the created bundled rpms.
|
|
|
|
|
rm -rf %{_srcrpmdir}/libffi*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "libffi*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/openssl*.src.rpm
|
|
|
|
@ -1431,6 +1429,8 @@ find %{_rpmdir} -name "nss*.rpm" -delete
|
|
|
|
|
rm -rf %{_srcrpmdir}/nspr*.src.rpm
|
|
|
|
|
find %{_rpmdir} -name "nspr*.rpm" -delete
|
|
|
|
|
|
|
|
|
|
#===============================================================================
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
|
update-desktop-database &> /dev/null || :
|
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
@ -1514,6 +1514,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
#===============================================================================
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Dec 18 2023 Eike Rathke <erack@redhat.com> - 115.6.0-1
|
|
|
|
|
- Update to 115.6.0 build2
|
|
|
|
|
|
|
|
|
|
* Tue Nov 21 2023 Eike Rathke <erack@redhat.com> - 115.5.0-1
|
|
|
|
|
- Update to 115.5.0 build1
|
|
|
|
|
|
|
|
|
@ -1538,7 +1541,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
* Fri Sep 8 2023 Jan Horak <jhorak@redhat.com> - 115.2.1-5
|
|
|
|
|
- Update to 115.2.1
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 102.13.0-2
|
|
|
|
|
* Wed Jul 26 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 102.11.0-1
|
|
|
|
|
- Rebuilt for MSVSphere 8.8
|
|
|
|
|
|
|
|
|
|
* Thu May 04 2023 Eike Rathke <erack@redhat.com> - 102.11.0-1
|
|
|
|
|