Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package yubioath-desktop for
openSUSE:Factory checked in at 2023-05-10 16:20:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yubioath-desktop (Old)
and /work/SRC/openSUSE:Factory/.yubioath-desktop.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yubioath-desktop"
Wed May 10 16:20:00 2023 rev:13 rq:1086036 version:5.1.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/yubioath-desktop/yubioath-desktop.changes
2023-04-02 21:35:03.694708177 +0200
+++
/work/SRC/openSUSE:Factory/.yubioath-desktop.new.1533/yubioath-desktop.changes
2023-05-10 16:20:01.831509237 +0200
@@ -1,0 +2,6 @@
+Tue May 9 14:56:21 UTC 2023 - Dominique Leuenberger <[email protected]>
+
+- Switch Tumbleweed back to using the default compiler (gcc13)
+- Add yubioath-desktop-gcc13.patch: fix build using gcc 13.
+
+-------------------------------------------------------------------
New:
----
yubioath-desktop-gcc13.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ yubioath-desktop.spec ++++++
--- /var/tmp/diff_new_pack.BXfdgh/_old 2023-05-10 16:20:02.551513496 +0200
+++ /var/tmp/diff_new_pack.BXfdgh/_new 2023-05-10 16:20:02.555513520 +0200
@@ -26,7 +26,9 @@
URL: https://developers.yubico.com/yubioath-desktop/
Source0:
https://developers.yubico.com/yubioath-desktop/Releases/%{name}-%{version}.tar.gz
Source1:
https://developers.yubico.com/yubioath-desktop/Releases/%{name}-%{version}.tar.gz.sig
+Patch0: yubioath-desktop-gcc13.patch
BuildRequires: fdupes
+BuildRequires: gcc-c++
BuildRequires: libQt5QuickControls2-devel
BuildRequires: libqt5-qtbase-devel => 5.12
BuildRequires: pkgconfig
@@ -35,13 +37,6 @@
BuildRequires: pkgconfig(Qt5Qml)
BuildRequires: pkgconfig(Qt5Quick)
BuildRequires: pkgconfig(python3)
-%if 0%{?suse_version} > 1540
-BuildRequires: gcc11-c++ >= 8
-%define cxx g++-11
-%else
-BuildRequires: gcc-c++
-%define cxx g++
-%endif
Requires: libqt5-qtgraphicaleffects
Requires: libqt5-qtquickcontrols2
Requires: pyotherside
@@ -54,13 +49,13 @@
the shared secrets.
%prep
-%setup -q -n %{name}
+%autosetup -n %{name} -p1
sed -i 's|yubikey-manager==|yubikey-manager>=|' requirements.txt
# workaround for the binary-file installation path
sed -i 's|target.path = $$PREFIX/lib|target.path = $$PREFIX/bin|'
QZXing/QZXing-components.pri
%build
-%qmake5 QMAKE_CXX=%{cxx} QMAKE_LINK=%{cxx} QMAKE_CFLAGS+="%{optflags}"
QMAKE_CXXFLAGS+="%{optflags} -fPIE" QMAKE_LFLAGS+="-pie" QMAKE_STRIP="/bin/true"
+%qmake5 QMAKE_CFLAGS+="%{optflags}" QMAKE_CXXFLAGS+="%{optflags} -fPIE"
QMAKE_LFLAGS+="-pie" QMAKE_STRIP="/bin/true"
%make_build
%install
++++++ yubioath-desktop-gcc13.patch ++++++
Index: yubioath-desktop/QZXing/zxing/zxing/common/Types.h
===================================================================
--- yubioath-desktop.orig/QZXing/zxing/zxing/common/Types.h
+++ yubioath-desktop/QZXing/zxing/zxing/common/Types.h
@@ -4,6 +4,7 @@
#include <string>
#include <iostream>
+#include <cstdint>
#include <zxing/common/Counted.h>
namespace zxing {