commit c29a6228e529b38dcc09ea6f5beba8909fc7dbdf
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Mon Sep 21 17:51:43 2020 +0200
Disabled LTO on Fedora 33+ due to Qt regressions.
telegram-desktop.spec | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
---
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 516521a..4cfce50 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -3,7 +3,6 @@
# Build conditionals (with - OFF, without - ON)...
%bcond_with rlottie
-%bcond_without ipo
%bcond_without webrtc
%bcond_with gtk3
%bcond_with clang
@@ -14,6 +13,13 @@
%bcond_without mapbox
%endif
+# F33+ has some issues with LTO:
https://bugzilla.redhat.com/show_bug.cgi?id=1880290
+%if 0%{?fedora} && 0%{?fedora} >= 33
+%bcond_with ipo
+%else
+%bcond_without ipo
+%endif
+
# Telegram Desktop's constants...
%global appname tdesktop
%global launcher telegramdesktop
@@ -40,7 +46,7 @@
Name: telegram-desktop
Version: 2.3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -283,6 +289,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Mon Sep 21 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.3.2-2
+- Fixed startup crash on Fedora 33+.
+
* Sun Aug 30 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.3.2-1
- Updated to version 2.3.2.