Hello community, here is the log from the commit of package libKF5NetworkManagerQt for openSUSE:Factory checked in at 2020-02-14 16:34:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libKF5NetworkManagerQt (Old) and /work/SRC/openSUSE:Factory/.libKF5NetworkManagerQt.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libKF5NetworkManagerQt" Fri Feb 14 16:34:27 2020 rev:75 rq:773298 version:5.67.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libKF5NetworkManagerQt/libKF5NetworkManagerQt.changes 2020-01-14 21:07:14.750761828 +0100 +++ /work/SRC/openSUSE:Factory/.libKF5NetworkManagerQt.new.26092/libKF5NetworkManagerQt.changes 2020-02-14 16:35:17.843516285 +0100 @@ -1,0 +2,15 @@ +Sun Feb 2 18:07:16 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr> + +- Replace %make_jobs with %cmake_build. + +------------------------------------------------------------------- +Sun Feb 2 14:33:05 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr> + +- Update to 5.67.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.67.0.php +- Changes since 5.66.0: + * [networkmanager-qt] Port QRegExp to QRegularExpression + +------------------------------------------------------------------- Old: ---- networkmanager-qt-5.66.0.tar.xz networkmanager-qt-5.66.0.tar.xz.sig New: ---- networkmanager-qt-5.67.0.tar.xz networkmanager-qt-5.67.0.tar.xz.sig ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libKF5NetworkManagerQt.spec ++++++ --- /var/tmp/diff_new_pack.zuZGGf/_old 2020-02-14 16:35:20.015517495 +0100 +++ /var/tmp/diff_new_pack.zuZGGf/_new 2020-02-14 16:35:20.015517495 +0100 @@ -17,7 +17,7 @@ %define soversion 6 -%define _tar_path 5.66 +%define _tar_path 5.67 # Full KF5 version (e.g. 5.33.0) %{!?_kf5_version: %global _kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) @@ -25,7 +25,7 @@ # Only needed for the package signature condition %bcond_without lang Name: libKF5NetworkManagerQt -Version: 5.66.0 +Version: 5.67.0 Release: 0 Summary: A Qt wrapper for NetworkManager DBus API License: LGPL-2.1-only OR LGPL-3.0-only @@ -41,9 +41,9 @@ BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: kf5-filesystem BuildRequires: pkgconfig -BuildRequires: cmake(Qt5Core) >= 5.11.0 -BuildRequires: cmake(Qt5DBus) >= 5.11.0 -BuildRequires: cmake(Qt5Network) >= 5.11.0 +BuildRequires: cmake(Qt5Core) >= 5.12.0 +BuildRequires: cmake(Qt5DBus) >= 5.12.0 +BuildRequires: cmake(Qt5Network) >= 5.12.0 BuildRequires: pkgconfig(libnm) >= 1.0.0 %description @@ -56,9 +56,9 @@ Summary: A Qt wrapper for NetworkManager DBus API Group: Development/Libraries/KDE Requires: libKF5NetworkManagerQt%{soversion} = %{version} -Requires: cmake(Qt5Core) >= 5.11.0 -Requires: cmake(Qt5DBus) >= 5.11.0 -Requires: cmake(Qt5Network) >= 5.11.0 +Requires: cmake(Qt5Core) >= 5.12.0 +Requires: cmake(Qt5DBus) >= 5.12.0 +Requires: cmake(Qt5Network) >= 5.12.0 Requires: pkgconfig(libnm) >= 1.0.0 %description devel @@ -82,7 +82,7 @@ %build %cmake_kf5 -d build - %make_jobs + %cmake_build %install %kf5_makeinstall -C build ++++++ networkmanager-qt-5.66.0.tar.xz -> networkmanager-qt-5.67.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-5.66.0/CMakeLists.txt new/networkmanager-qt-5.67.0/CMakeLists.txt --- old/networkmanager-qt-5.66.0/CMakeLists.txt 2020-01-04 00:15:09.000000000 +0100 +++ new/networkmanager-qt-5.67.0/CMakeLists.txt 2020-02-01 10:08:21.000000000 +0100 @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.5) -set(KF5_VERSION "5.66.0") # handled by release scripts +set(KF5_VERSION "5.67.0") # handled by release scripts project(NetworkManagerQt VERSION ${KF5_VERSION}) include(FeatureSummary) -find_package(ECM 5.66.0 NO_MODULE) +find_package(ECM 5.67.0 NO_MODULE) set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://commits.kde.org/extra-cmake-modules") feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/networkmanager-qt-5.66.0/src/utils.cpp new/networkmanager-qt-5.67.0/src/utils.cpp --- old/networkmanager-qt-5.66.0/src/utils.cpp 2020-01-04 00:15:09.000000000 +0100 +++ new/networkmanager-qt-5.67.0/src/utils.cpp 2020-02-01 10:08:21.000000000 +0100 @@ -19,6 +19,8 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. */ +#include <QRegularExpression> + #include "utils.h" #include "time.h" @@ -76,9 +78,9 @@ bool NetworkManager::macAddressIsValid(const QString &macAddress) { - QRegExp macAddressCheck = QRegExp("([a-fA-F0-9][a-fA-F0-9]:){5}[0-9a-fA-F][0-9a-fA-F]"); + QRegularExpression macAddressCheck(QStringLiteral("([a-fA-F0-9][a-fA-F0-9]:){5}[0-9a-fA-F][0-9a-fA-F]")); - return macAddress.contains(macAddressCheck); + return macAddressCheck.match(macAddress).hasMatch(); } bool NetworkManager::macAddressIsValid(const QByteArray &macAddress)