Hello community,

here is the log from the commit of package karchive for openSUSE:Factory 
checked in at 2020-01-14 20:59:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/karchive (Old)
 and      /work/SRC/openSUSE:Factory/.karchive.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "karchive"

Tue Jan 14 20:59:32 2020 rev:74 rq:763437 version:5.66.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/karchive/karchive.changes        2019-12-18 
14:41:50.817761016 +0100
+++ /work/SRC/openSUSE:Factory/.karchive.new.6675/karchive.changes      
2020-01-14 21:03:01.862644769 +0100
@@ -1,0 +2,11 @@
+Sun Jan  5 09:01:58 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.66.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.66.0.php
+- Changes since 5.65.0:
+  * Port to QRandomGenerator (qrand was deprecated in qt5.15)
+  * Update the obsolete projects.kde.org URL
+
+-------------------------------------------------------------------

Old:
----
  karchive-5.65.0.tar.xz
  karchive-5.65.0.tar.xz.sig

New:
----
  karchive-5.66.0.tar.xz
  karchive-5.66.0.tar.xz.sig

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ karchive.spec ++++++
--- /var/tmp/diff_new_pack.gbQS4B/_old  2020-01-14 21:03:02.670645143 +0100
+++ /var/tmp/diff_new_pack.gbQS4B/_new  2020-01-14 21:03:02.674645145 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package karchive
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5Archive5
-%define _tar_path 5.65
+%define _tar_path 5.66
 # 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:           karchive
-Version:        5.65.0
+Version:        5.66.0
 Release:        0
 Summary:        Qt 5 addon providing access to numerous types of archives
 License:        LGPL-2.1-or-later


++++++ karchive-5.65.0.tar.xz -> karchive-5.66.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.65.0/CMakeLists.txt 
new/karchive-5.66.0/CMakeLists.txt
--- old/karchive-5.65.0/CMakeLists.txt  2019-12-07 20:41:09.000000000 +0100
+++ new/karchive-5.66.0/CMakeLists.txt  2020-01-04 00:09:38.000000000 +0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.65.0") # handled by release scripts
+set(KF5_VERSION "5.66.0") # handled by release scripts
 project(KArchive VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.65.0  NO_MODULE)
-set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake 
Modules." URL 
"https://projects.kde.org/projects/kdesupport/extra-cmake-modules";)
+find_package(ECM 5.66.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)
 
 
@@ -17,7 +17,7 @@
 
 include(ECMGenerateExportHeader)
 
-set(REQUIRED_QT_VERSION 5.11.0)
+set(REQUIRED_QT_VERSION 5.12.0)
 find_package(Qt5Core ${REQUIRED_QT_VERSION} REQUIRED NO_MODULE)
 
 find_package(ZLIB)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.65.0/autotests/deprecatedtest.cpp 
new/karchive-5.66.0/autotests/deprecatedtest.cpp
--- old/karchive-5.65.0/autotests/deprecatedtest.cpp    2019-12-07 
20:41:09.000000000 +0100
+++ new/karchive-5.66.0/autotests/deprecatedtest.cpp    2020-01-04 
00:09:38.000000000 +0100
@@ -20,7 +20,7 @@
 
 #include <kzip.h>
 
-#include <QtTest>
+#include <QTest>
 
 static const char s_zipFileName[] = "deprecatedtest.zip";
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.65.0/autotests/karchivetest.cpp 
new/karchive-5.66.0/autotests/karchivetest.cpp
--- old/karchive-5.65.0/autotests/karchivetest.cpp      2019-12-07 
20:41:09.000000000 +0100
+++ new/karchive-5.66.0/autotests/karchivetest.cpp      2020-01-04 
00:09:38.000000000 +0100
@@ -25,7 +25,9 @@
 #include <k7zip.h>
 #include <krcc.h>
 
-#include <QtTest>
+#include <QTest>
+#include <QTextCodec>
+#include <QSaveFile>
 #include <QFileInfo>
 #include <kfilterdev.h>
 #include <qtemporarydir.h>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.65.0/autotests/kfiltertest.cpp 
new/karchive-5.66.0/autotests/kfiltertest.cpp
--- old/karchive-5.65.0/autotests/kfiltertest.cpp       2019-12-07 
20:41:09.000000000 +0100
+++ new/karchive-5.66.0/autotests/kfiltertest.cpp       2020-01-04 
00:09:38.000000000 +0100
@@ -18,7 +18,11 @@
 
 #include "kfiltertest.h"
 
-#include <QtTest>
+#include <QTest>
+#include <QBuffer>
+#include <QTextCodec>
+#include <QSaveFile>
+#include <QRandomGenerator>
 
 #include <config-compression.h>
 #include "kfilterdev.h"
@@ -94,9 +98,10 @@
     // Find the out-of-bounds from #157706/#188415
     QByteArray data;
     data.reserve(10000);
+    auto *generator = QRandomGenerator::global();
     // Prepare test data
     for (int i = 0; i < 8170; ++i) {
-        data.append((char)(qrand() % 256));
+        data.append((char)(generator->bounded(256)));
     }
     QCOMPARE(data.size(), 8170);
     // 8170 random bytes compress to 8194 bytes due to the gzip header/footer.
@@ -110,7 +115,7 @@
         // Test data is valid
         test_readall(outFile, QString::fromLatin1("application/x-gzip"), data);
 
-        data.append((char)(qrand() % 256));
+        data.append((char)(generator->bounded(256)));
     }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.65.0/autotests/klimitediodevicetest.cpp 
new/karchive-5.66.0/autotests/klimitediodevicetest.cpp
--- old/karchive-5.65.0/autotests/klimitediodevicetest.cpp      2019-12-07 
20:41:09.000000000 +0100
+++ new/karchive-5.66.0/autotests/klimitediodevicetest.cpp      2020-01-04 
00:09:38.000000000 +0100
@@ -21,7 +21,7 @@
 
 #include "klimitediodevice_p.h"
 
-#include <QtTest>
+#include <QTest>
 
 QTEST_MAIN(KLimitedIODeviceTest)
 


Reply via email to