Hello community,
here is the log from the commit of package kitemmodels for openSUSE:Factory checked in at 2018-10-22 11:13:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kitemmodels (Old)
and /work/SRC/openSUSE:Factory/.kitemmodels.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kitemmodels"
Mon Oct 22 11:13:27 2018 rev:58 rq:642328 version:5.51.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kitemmodels/kitemmodels.changes 2018-10-01 08:07:22.798321806 +0200
+++ /work/SRC/openSUSE:Factory/.kitemmodels.new/kitemmodels.changes 2018-10-22 11:13:32.943768840 +0200
@@ -1,0 +2,17 @@
+Tue Oct 16 08:02:21 UTC 2018 - Luca Beltrame
+
+- Run spec-cleaner
+
+-------------------------------------------------------------------
+Mon Oct 15 11:50:36 UTC 2018 - lbeltrame@kde.org
+
+- Update to 5.51.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.51.0.php
+- Changes since 5.50.0:
+ * Remove misleading use of KDE_INSTALL_PYTHONBINDINGSDIR
+ * Use reference in for loop for type with non-trivial copy constructor
+ * Make sure to build with strict compile flags + port to no deprecated method
+
+-------------------------------------------------------------------
Old:
----
kitemmodels-5.50.0.tar.xz
New:
----
kitemmodels-5.51.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kitemmodels.spec ++++++
--- /var/tmp/diff_new_pack.4NOliY/_old 2018-10-22 11:13:34.963767236 +0200
+++ /var/tmp/diff_new_pack.4NOliY/_new 2018-10-22 11:13:34.963767236 +0200
@@ -12,25 +12,25 @@
# 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/
#
%define clang_sonum 3.8
%define lname libKF5ItemModels5
-%define _tar_path 5.50
+%define _tar_path 5.51
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_with python
Name: kitemmodels
-Version: 5.50.0
+Version: 5.51.0
Release: 0
Summary: Set of item models extending the Qt model-view framework
License: LGPL-2.1-or-later
Group: System/GUI/KDE
-URL: http://www.kde.org
+URL: https://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: cmake >= 3.0
++++++ kitemmodels-5.50.0.tar.xz -> kitemmodels-5.51.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.50.0/CMakeLists.txt new/kitemmodels-5.51.0/CMakeLists.txt
--- old/kitemmodels-5.50.0/CMakeLists.txt 2018-09-01 00:22:35.000000000 +0200
+++ new/kitemmodels-5.51.0/CMakeLists.txt 2018-10-07 12:07:31.000000000 +0200
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.0)
-set(KF5_VERSION "5.50.0") # handled by release scripts
+set(KF5_VERSION "5.51.0") # handled by release scripts
project(KItemModels VERSION ${KF5_VERSION})
include(FeatureSummary)
-find_package(ECM 5.50.0 NO_MODULE)
+find_package(ECM 5.51.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
@@ -34,7 +34,11 @@
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5ItemModelsConfigVersion.cmake"
SOVERSION 5)
-
+add_definitions(-DQT_NO_CAST_FROM_ASCII)
+add_definitions(-DQT_NO_CAST_TO_ASCII)
+add_definitions(-DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT)
+add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
+add_definitions(-DQT_USE_QSTRINGBUILDER)
add_subdirectory(src)
if (BUILD_TESTING)
add_subdirectory(autotests)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.50.0/src/CMakeLists.txt new/kitemmodels-5.51.0/src/CMakeLists.txt
--- old/kitemmodels-5.50.0/src/CMakeLists.txt 2018-09-01 00:22:35.000000000 +0200
+++ new/kitemmodels-5.51.0/src/CMakeLists.txt 2018-10-07 12:07:31.000000000 +0200
@@ -50,7 +50,6 @@
TARGET KF5::ItemModels
PYTHONNAMESPACE PyKF5
MODULENAME KItemModels
- INSTALL_DIR_SUFFIX ${KDE_INSTALL_PYTHONBINDINGSDIR}
SIP_DEPENDS
QtCore/QtCoremod.sip
HEADERS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kitemmodels-5.50.0/src/kselectionproxymodel.cpp new/kitemmodels-5.51.0/src/kselectionproxymodel.cpp
--- old/kitemmodels-5.50.0/src/kselectionproxymodel.cpp 2018-09-01 00:22:35.000000000 +0200
+++ new/kitemmodels-5.51.0/src/kselectionproxymodel.cpp 2018-10-07 12:07:31.000000000 +0200
@@ -399,7 +399,7 @@
}
RangeLessThan lt;
- qSort(selection.begin(), selection.end(), lt);
+ std::sort(selection.begin(), selection.end(), lt);
return stableNormalizeSelection(selection);
}
@@ -1110,7 +1110,7 @@
{
Q_ASSERT(root.isValid());
- for (auto r : selection) {
+ for (auto& r : selection) {
if (m_includeAllSelected) {
if (r.parent() == root.parent() && root.row() <= r.bottom() && root.row() >= r.top()) {
return true;