Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package telegram-desktop for
openSUSE:Factory checked in at 2022-06-10 15:57:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/telegram-desktop (Old)
and /work/SRC/openSUSE:Factory/.telegram-desktop.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "telegram-desktop"
Fri Jun 10 15:57:48 2022 rev:76 rq:982017 version:3.7.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/telegram-desktop/telegram-desktop.changes
2022-05-12 22:59:01.756689573 +0200
+++
/work/SRC/openSUSE:Factory/.telegram-desktop.new.1548/telegram-desktop.changes
2022-06-10 15:58:08.632864918 +0200
@@ -1,0 +2,5 @@
+Fri Jun 3 08:08:46 UTC 2022 - marec <[email protected]>
+
+- fix for leap 15.4
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ telegram-desktop.spec ++++++
--- /var/tmp/diff_new_pack.yrFLNH/_old 2022-06-10 15:58:09.572866057 +0200
+++ /var/tmp/diff_new_pack.yrFLNH/_new 2022-06-10 15:58:09.576866063 +0200
@@ -23,6 +23,13 @@
%define __builder ninja
+# gcc10 or higher is required
+%if 0%{?suse_version} && ( 0%{?suse_version} < 1500 || ( 0%{?is_opensuse} &&
0%{?suse_version} == 1500 && 0%{?sle_version} && 0%{?sle_version} <= 150400 ) )
+%bcond_without compiler_upgrade
+%else
+%bcond_with compiler_upgrade
+%endif
+
%define _dwz_low_mem_die_limit 40000000
%define _dwz_max_die_limit 200000000
@@ -63,6 +70,11 @@
BuildRequires: enchant-devel
BuildRequires: ffmpeg-devel
BuildRequires: freetype-devel
+%if %{with compiler_upgrade}
+BuildRequires: gcc10-c++
+%else
+BuildRequires: gcc-c++
+%endif
BuildRequires: glibc-devel
BuildRequires: libjpeg-devel
BuildRequires: liblz4-devel
@@ -177,6 +189,10 @@
%patch2 -p2 -d Libraries/tg_owt
%build
+%if %{with compiler_upgrade}
+export CC=gcc-10
+export CXX=g++-10
+%endif
# Fix build failures due to not finding installed headers for xkbcommon and
wayland-client
export CXXFLAGS+="`pkg-config --cflags xkbcommon wayland-client`"