Hello community, here is the log from the commit of package kimap for openSUSE:Factory checked in at 2016-07-21 07:50:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kimap (Old) and /work/SRC/openSUSE:Factory/.kimap.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kimap" Changes: -------- --- /work/SRC/openSUSE:Factory/kimap/kimap.changes 2016-06-20 11:00:23.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.kimap.new/kimap.changes 2016-07-21 07:50:44.000000000 +0200 @@ -1,0 +2,13 @@ +Sat Jul 16 18:57:17 UTC 2016 - wba...@tmo.at + +- Cleanup build requirements + +------------------------------------------------------------------- +Thu Jul 7 23:58:08 UTC 2016 - tittiatc...@gmail.com + +- Update to KDE Applications 16.04.3 + * KDE Applications 16.04.3 + * https://www.kde.org/announcements/announce-applications-16.04.3.php + + +------------------------------------------------------------------- Old: ---- kimap-16.04.2.tar.xz New: ---- kimap-16.04.3.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kimap.spec ++++++ --- /var/tmp/diff_new_pack.kewvDw/_old 2016-07-21 07:50:45.000000000 +0200 +++ /var/tmp/diff_new_pack.kewvDw/_new 2016-07-21 07:50:45.000000000 +0200 @@ -17,51 +17,22 @@ Name: kimap -Version: 16.04.2 +Version: 16.04.3 Release: 0 -%define kf5_version 5.1.0 +%define kf5_version 5.19.0 Summary: KDE PIM Libraries: IMAP library License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source: kimap-%{version}.tar.xz -BuildRequires: boost-devel >= 1.34.0 BuildRequires: cyrus-sasl-devel -BuildRequires: extra-cmake-modules >= 1.0.0 -BuildRequires: gpgme-devel -BuildRequires: kcmutils-devel >= %{kf5_version} -BuildRequires: kcodecs-devel >= %{kf5_version} -BuildRequires: kcodecs-devel >= %{kf5_version} -BuildRequires: kcompletion-devel >= %{kf5_version} -BuildRequires: kconfig-devel >= %{kf5_version} +BuildRequires: extra-cmake-modules >= 5.19.0 BuildRequires: kcoreaddons-devel >= %{kf5_version} -BuildRequires: kdelibs4support-devel >= %{kf5_version} -BuildRequires: kdoctools-devel >= %{kf5_version} -BuildRequires: kemoticons-devel >= %{kf5_version} BuildRequires: kf5-filesystem BuildRequires: ki18n-devel >= %{kf5_version} BuildRequires: kio-devel >= %{kf5_version} -BuildRequires: kitemviews-devel >= %{kf5_version} -BuildRequires: kmime-devel -BuildRequires: kparts-devel >= %{kf5_version} -BuildRequires: ktextwidgets-devel >= %{kf5_version} -BuildRequires: kwallet-devel >= %{kf5_version} -BuildRequires: kwidgetsaddons-devel >= %{kf5_version} -BuildRequires: kxmlgui-devel >= %{kf5_version} -BuildRequires: akonadi-server-devel -BuildRequires: libassuan-devel -BuildRequires: libical-devel >= 0.42 -BuildRequires: libxslt-devel -BuildRequires: openldap2-devel -BuildRequires: phonon4qt5-devel -BuildRequires: solid-devel >= %{kf5_version} -BuildRequires: sonnet-devel >= %{kf5_version} -BuildRequires: pkgconfig(Qt5Designer) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Network) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Sql) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Test) >= 5.2.0 -BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.2.0 -BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 +BuildRequires: kmime-devel >= %{kf5_version} +BuildRequires: pkgconfig(Qt5Test) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ++++++ kimap-16.04.2.tar.xz -> kimap-16.04.3.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-16.04.2/CMakeLists.txt new/kimap-16.04.3/CMakeLists.txt --- old/kimap-16.04.2/CMakeLists.txt 2016-05-11 07:08:52.000000000 +0200 +++ new/kimap-16.04.3/CMakeLists.txt 2016-06-15 06:38:59.000000000 +0200 @@ -18,7 +18,7 @@ include(ECMQtDeclareLoggingCategory) set(KF5_VERSION "5.19.0") -set(KIMAP_LIB_VERSION "5.2.2") +set(KIMAP_LIB_VERSION "5.2.3") set(KMIME_LIBS_VERSION "5.2.0") ecm_setup_version(${KIMAP_LIB_VERSION} VARIABLE_PREFIX KIMAP VERSION_HEADER "${CMAKE_CURRENT_BINARY_DIR}/kimap_version.h" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-16.04.2/autotests/CMakeLists.txt new/kimap-16.04.3/autotests/CMakeLists.txt --- old/kimap-16.04.2/autotests/CMakeLists.txt 2016-05-11 07:08:52.000000000 +0200 +++ new/kimap-16.04.3/autotests/CMakeLists.txt 2016-06-15 06:38:59.000000000 +0200 @@ -29,6 +29,7 @@ selectjobtest createjobtest deletejobtest + expungejobtest fetchjobtest renamejobtest subscribejobtest diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-16.04.2/autotests/expungejobtest.cpp new/kimap-16.04.3/autotests/expungejobtest.cpp --- old/kimap-16.04.2/autotests/expungejobtest.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/kimap-16.04.3/autotests/expungejobtest.cpp 2016-06-15 06:38:59.000000000 +0200 @@ -0,0 +1,89 @@ +/* + Copyright (C) 2016 Daniel Vrátil <dvra...@kde.org> + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ + +#include <qtest.h> + +#include "kimaptest/fakeserver.h" +#include "kimap/session.h" +#include "kimap/expungejob.h" + +#include <QtTest> + +class ExpungeJobTest: public QObject +{ + Q_OBJECT + +private Q_SLOTS: + + void testDelete_data() + { + QTest::addColumn<QList<QByteArray> >("scenario"); + + QList<QByteArray> scenario; + scenario << FakeServer::preauth() + << "C: A000001 EXPUNGE" + << "S: * 1 EXPUNGE" + << "S: * 2 EXPUNGE" + << "S: * 3 EXPUNGE" + << "S: A000001 OK EXPUNGE completed"; + QTest::newRow("good") << scenario; + + scenario.clear(); + scenario << FakeServer::preauth() + << "C: A000001 EXPUNGE" + << "S: * 1" // missing EXPUNGE word + << "S: A000001 OK EXPUNGE completed"; + QTest::newRow("non-standard response") << scenario; + + scenario.clear(); + scenario << FakeServer::preauth() + << "C: A000001 EXPUNGE" + << "S: A000001 BAD command unknown or arguments invalid"; + QTest::newRow("bad") << scenario; + + scenario.clear(); + scenario << FakeServer::preauth() + << "C: A000001 EXPUNGE" + << "S: A000001 NO access deined"; + QTest::newRow("no") << scenario; + } + + void testDelete() + { + QFETCH(QList<QByteArray>, scenario); + + FakeServer fakeServer; + fakeServer.setScenario(scenario); + fakeServer.startAndWait(); + + KIMAP::Session session(QStringLiteral("127.0.0.1"), 5989); + + KIMAP::ExpungeJob *job = new KIMAP::ExpungeJob(&session); + bool result = job->exec(); + QEXPECT_FAIL("bad" , "Expected failure on BAD response", Continue); + QEXPECT_FAIL("no" , "Expected failure on NO response", Continue); + QVERIFY(result); + + fakeServer.quit(); + } + +}; + +QTEST_GUILESS_MAIN(ExpungeJobTest) + +#include "expungejobtest.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kimap-16.04.2/src/expungejob.cpp new/kimap-16.04.3/src/expungejob.cpp --- old/kimap-16.04.2/src/expungejob.cpp 2016-05-11 07:08:52.000000000 +0200 +++ new/kimap-16.04.3/src/expungejob.cpp 2016-06-15 06:38:59.000000000 +0200 @@ -61,7 +61,7 @@ // Q_D(ExpungeJob); if (handleErrorReplies(response) == NotHandled) { - if (response.content.size() >= 2) { + if (response.content.size() >= 3) { QByteArray code = response.content[2].toString(); if (code == "EXPUNGE") { #if 0