Hello community,

here is the log from the commit of package karchive for openSUSE:Leap:15.2 
checked in at 2020-04-21 19:04:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/karchive (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.karchive.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "karchive"

Tue Apr 21 19:04:26 2020 rev:62 rq:794285 version:5.69.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/karchive/karchive.changes      2020-03-21 
16:44:14.305467833 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.karchive.new.2738/karchive.changes    
2020-04-21 19:04:27.591613840 +0200
@@ -1,0 +2,10 @@
+Sun Apr  5 19:45:19 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 5.69.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/kde-frameworks-5.69.0
+- Changes since 5.68.0:
+  * Add autotest for zip within zip
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ karchive.spec ++++++
--- /var/tmp/diff_new_pack.ZXrKhf/_old  2020-04-21 19:04:28.091614885 +0200
+++ /var/tmp/diff_new_pack.ZXrKhf/_new  2020-04-21 19:04:28.095614893 +0200
@@ -17,7 +17,7 @@
 
 
 %define lname   libKF5Archive5
-%define _tar_path 5.68
+%define _tar_path 5.69
 # 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.68.0
+Version:        5.69.0
 Release:        0
 Summary:        Qt 5 addon providing access to numerous types of archives
 License:        LGPL-2.1-or-later


++++++ karchive-5.68.0.tar.xz -> karchive-5.69.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.68.0/CMakeLists.txt 
new/karchive-5.69.0/CMakeLists.txt
--- old/karchive-5.68.0/CMakeLists.txt  2020-03-07 09:50:07.000000000 +0100
+++ new/karchive-5.69.0/CMakeLists.txt  2020-04-05 00:32:47.000000000 +0200
@@ -1,10 +1,10 @@
 cmake_minimum_required(VERSION 3.5)
 
-set(KF5_VERSION "5.68.0") # handled by release scripts
+set(KF5_VERSION "5.69.0") # handled by release scripts
 project(KArchive VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.68.0  NO_MODULE)
+find_package(ECM 5.69.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)
 
Binary files old/karchive-5.68.0/autotests/data/zip_within_zip.zip and 
new/karchive-5.69.0/autotests/data/zip_within_zip.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.68.0/autotests/karchivetest.cpp 
new/karchive-5.69.0/autotests/karchivetest.cpp
--- old/karchive-5.68.0/autotests/karchivetest.cpp      2020-03-07 
09:50:07.000000000 +0100
+++ new/karchive-5.69.0/autotests/karchivetest.cpp      2020-04-05 
00:32:47.000000000 +0200
@@ -15,6 +15,7 @@
 #include <QTest>
 #include <QTextCodec>
 #include <QSaveFile>
+#include <QStandardPaths>
 #include <QFileInfo>
 #include <kfilterdev.h>
 #include <qtemporarydir.h>
@@ -364,6 +365,8 @@
         QVERIFY(false);
     }
 #endif
+    // avoid interference from kdebugsettings on qCWarning
+    QStandardPaths::setTestModeEnabled(true);
 }
 
 void KArchiveTest::testEmptyFilename()
@@ -1211,6 +1214,21 @@
     QCOMPARE(listing.join(' '), QString::fromUtf8("mode=40700 path=700 
type=dir mode=40750 path=750 type=dir mode=40755 path=755 type=dir"));
 }
 
+void KArchiveTest::testZipWithinZip()
+{
+    QString fileName = QFINDTESTDATA("data/zip_within_zip.zip");
+    QVERIFY(!fileName.isEmpty());
+
+    KZip zip(fileName);
+
+    QVERIFY(zip.open(QIODevice::ReadOnly));
+    const KArchiveDirectory *dir = zip.directory();
+    const QStringList listing = recursiveListEntries(dir, QString(), 0);
+    QCOMPARE(listing.count(), 2);
+    QCOMPARE(listing[0], QString::fromUtf8("mode=100644 path=foo type=file 
size=7"));
+    QCOMPARE(listing[1], QString::fromUtf8("mode=100644 path=test.epub 
type=file size=525154"));
+}
+
 void KArchiveTest::testZipUnusualButValid()
 {
     QString fileName = QFINDTESTDATA("data/unusual_but_valid_364071.zip");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/karchive-5.68.0/autotests/karchivetest.h 
new/karchive-5.69.0/autotests/karchivetest.h
--- old/karchive-5.68.0/autotests/karchivetest.h        2020-03-07 
09:50:07.000000000 +0100
+++ new/karchive-5.69.0/autotests/karchivetest.h        2020-04-05 
00:32:47.000000000 +0200
@@ -83,6 +83,7 @@
     void testZipDirectoryPermissions();
     void testZipUnusualButValid();
     void testZipDuplicateNames();
+    void testZipWithinZip();
 
     void testRcc();
 


Reply via email to