Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libmediawiki for openSUSE:Factory checked in at 2021-06-26 21:25:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmediawiki (Old) and /work/SRC/openSUSE:Factory/.libmediawiki.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmediawiki" Sat Jun 26 21:25:33 2021 rev:3 rq:902478 version:5.37.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libmediawiki/libmediawiki.changes 2017-09-07 22:14:42.926281425 +0200 +++ /work/SRC/openSUSE:Factory/.libmediawiki.new.2625/libmediawiki.changes 2021-06-26 21:26:01.207387439 +0200 @@ -1,0 +2,11 @@ +Sat Jun 26 06:12:13 UTC 2021 - Wolfgang Bauer <[email protected]> + +- Add Fix-compilation-error-with-Qt-5.15.patch to fix build with + the latest Qt + +------------------------------------------------------------------- +Thu Aug 27 16:56:59 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Spec cleanup + +------------------------------------------------------------------- New: ---- Fix-compilation-error-with-Qt-5.15.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmediawiki.spec ++++++ --- /var/tmp/diff_new_pack.4Oo2rD/_old 2021-06-26 21:26:01.579387930 +0200 +++ /var/tmp/diff_new_pack.4Oo2rD/_new 2021-06-26 21:26:01.579387930 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmediawiki # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -20,16 +20,17 @@ Version: 5.37.0 Release: 0 Summary: Interface for MediaWiki based web services -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Development/Libraries/KDE -Url: https://cgit.kde.org/libmediawiki.git -Source0: http://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz +URL: https://invent.kde.org/libraries/libmediawiki +Source0: https://download.kde.org/stable/%{name}/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM +Patch0: Fix-compilation-error-with-Qt-5.15.patch BuildRequires: extra-cmake-modules -BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Network) -BuildRequires: pkgconfig(Qt5Test) -BuildRequires: kcoreaddons-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: cmake(KF5CoreAddons) +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Network) +BuildRequires: cmake(Qt5Test) %description libmediawiki is a KDE C++ interface for MediaWiki based web services as @@ -59,31 +60,30 @@ This package contains the development files for libmediawiki. %prep -%setup -q +%autosetup -p1 %build %cmake_kf5 -d build -%make_jobs +%cmake_build %install %kf5_makeinstall -C build %post -n libKF5MediaWiki5 -p /sbin/ldconfig - %postun -n libKF5MediaWiki5 -p /sbin/ldconfig %files -n libKF5MediaWiki5 -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING.LIB README.md +%license COPYING COPYING.LIB +%doc AUTHORS README.md %{_kf5_libdir}/libKF5MediaWiki.so.* %files devel -%defattr(-,root,root,-) -%doc AUTHORS COPYING COPYING-CMAKE-SCRIPTS COPYING.LIB README.md +%license COPYING COPYING.LIB +%doc AUTHORS COPYING-CMAKE-SCRIPTS README.md +%{_kf5_cmakedir}/KF5MediaWiki/ %{_kf5_includedir}/MediaWiki/ %{_kf5_includedir}/mediawiki_version.h %{_kf5_libdir}/libKF5MediaWiki.so -%{_kf5_cmakedir}/KF5MediaWiki/ %{_kf5_mkspecsdir}/qt_MediaWiki.pri %changelog ++++++ Fix-compilation-error-with-Qt-5.15.patch ++++++ >From 7c79dae079d20b46d05462ed9f5b3cfae78f420a Mon Sep 17 00:00:00 2001 From: David Faure <[email protected]> Date: Sun, 2 May 2021 12:39:39 +0200 Subject: [PATCH] Fix compilation error with Qt 5.15 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit error: use of deleted function ???QCharRef& QCharRef::operator=(char)??? --- src/queryrevision.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/queryrevision.cpp b/src/queryrevision.cpp index 59aac03..6ebfbc8 100644 --- a/src/queryrevision.cpp +++ b/src/queryrevision.cpp @@ -307,8 +307,8 @@ void QueryRevision::doWorkProcessReply() while (count < 2) { if (replytmp[i] == QLatin1Char('"') && replytmp[i-1] != QLatin1Char('\\')) count++; - if (replytmp[i] == QLatin1Char('<')) replytmp[i] = char(255); - if (replytmp[i] == QLatin1Char('>')) replytmp[i] = char(254); + if (replytmp[i] == QLatin1Char('<')) replytmp[i] = QChar(255); + if (replytmp[i] == QLatin1Char('>')) replytmp[i] = QChar(254); ++i; } } -- GitLab
