Hello community,

here is the log from the commit of package kcalendarcore for openSUSE:Factory 
checked in at 2020-08-12 12:23:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kcalendarcore (Old)
 and      /work/SRC/openSUSE:Factory/.kcalendarcore.new.3399 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kcalendarcore"

Wed Aug 12 12:23:10 2020 rev:10 rq:825056 version:5.73.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kcalendarcore/kcalendarcore.changes      
2020-07-14 07:52:39.704502006 +0200
+++ /work/SRC/openSUSE:Factory/.kcalendarcore.new.3399/kcalendarcore.changes    
2020-08-12 12:24:39.552140858 +0200
@@ -1,0 +2,11 @@
+Sun Aug  2 07:13:06 UTC 2020 - Christophe Giboudeaux <[email protected]>
+
+- Update to 5.73.0
+  * New feature release
+  * For more details please see:
+  * https://kde.org/announcements/kde-frameworks-5.73.0
+- Changes since 5.72.0:
+  * Use KF-standardized Qt logging categories
+  * Fix unittests on FreeBSD.
+
+-------------------------------------------------------------------

Old:
----
  kcalendarcore-5.72.0.tar.xz
  kcalendarcore-5.72.0.tar.xz.sig

New:
----
  kcalendarcore-5.73.0.tar.xz
  kcalendarcore-5.73.0.tar.xz.sig

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

Other differences:
------------------
++++++ kcalendarcore.spec ++++++
--- /var/tmp/diff_new_pack.jvA2ru/_old  2020-08-12 12:24:39.988141144 +0200
+++ /var/tmp/diff_new_pack.jvA2ru/_new  2020-08-12 12:24:39.992141147 +0200
@@ -16,14 +16,14 @@
 #
 
 
-%define _tar_path 5.72
+%define _tar_path 5.73
 # 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_without lang
 Name:           kcalendarcore
-Version:        5.72.0
+Version:        5.73.0
 Release:        0
 Summary:        Library to access and handle calendar data
 License:        LGPL-2.0-or-later


++++++ kcalendarcore-5.72.0.tar.xz -> kcalendarcore-5.73.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.72.0/CMakeLists.txt 
new/kcalendarcore-5.73.0/CMakeLists.txt
--- old/kcalendarcore-5.72.0/CMakeLists.txt     2020-07-04 11:45:57.000000000 
+0200
+++ new/kcalendarcore-5.73.0/CMakeLists.txt     2020-08-01 19:01:01.000000000 
+0200
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.72.0") # handled by release scripts
+set(KF5_VERSION "5.73.0") # handled by release scripts
 
 project(KCalendarCore VERSION ${KF5_VERSION})
 
 # ECM setup
 include(FeatureSummary)
-find_package(ECM 5.72.0  NO_MODULE)
+find_package(ECM 5.73.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/kcalendarcore-5.72.0/autotests/testrecurtodo.cpp 
new/kcalendarcore-5.73.0/autotests/testrecurtodo.cpp
--- old/kcalendarcore-5.72.0/autotests/testrecurtodo.cpp        2020-07-04 
11:45:57.000000000 +0200
+++ new/kcalendarcore-5.73.0/autotests/testrecurtodo.cpp        2020-08-01 
19:01:01.000000000 +0200
@@ -15,13 +15,26 @@
 
 using namespace KCalendarCore;
 
+void RecurTodoTest::setTimeZone(const char* zonename)
+{
+    QVERIFY(QTimeZone(zonename).isValid());
+    qputenv("TZ", zonename);
+    const QDateTime currentDateTime = QDateTime::currentDateTime();
+    QVERIFY(currentDateTime.timeZone().isValid());
+    QCOMPARE(currentDateTime.timeZoneAbbreviation(), 
QString::fromLatin1(zonename));
+}
+
+
 void RecurTodoTest::testAllDay()
 {
-    qputenv("TZ", "GMT");
+    setTimeZone("UTC");
     const QDate currentDate = QDate::currentDate();
     const QDateTime currentUtcDateTime = QDateTime::currentDateTimeUtc();
 
     const QDate dueDate(QDate::currentDate());
+    QCOMPARE(currentDate, dueDate);
+    QCOMPARE(currentDate, currentUtcDateTime.date());
+
     Todo *todo = new Todo();
     todo->setDtStart(QDateTime(dueDate.addDays(-1), {}));
     todo->setDtDue(QDateTime(dueDate, {}));
@@ -29,14 +42,17 @@
     todo->setAllDay(true);
 
     QCOMPARE(todo->dtStart().daysTo(todo->dtDue()), 1);
+    QVERIFY(!todo->recurs());
 
     Recurrence *recurrence = todo->recurrence();
     recurrence->unsetRecurs();
     recurrence->setDaily(1);
     QCOMPARE(todo->dtDue(), QDateTime(dueDate, {}));
+    QCOMPARE(todo->percentComplete(), 0);
+    QVERIFY(todo->recurs());  // Previously it did not recur
     todo->setCompleted(currentUtcDateTime);
     QVERIFY(todo->recurs());
-    QVERIFY(todo->percentComplete() == 0);
+    QCOMPARE(todo->percentComplete(), 0);  // It is still not done
     const QDate newStartDate = todo->dtStart().date();
     const QDate newDueDate = todo->dtDue().date();
     QCOMPARE(newStartDate, currentDate);
@@ -50,7 +66,7 @@
 
 void RecurTodoTest::testRecurrenceStart()
 {
-    qputenv("TZ", "GMT");
+    setTimeZone("UTC");
     const QDateTime currentDateTime = QDateTime::currentDateTime();
     const QDate currentDate = currentDateTime.date();
     const QTime currentTimeWithMS = currentDateTime.time();
@@ -73,7 +89,7 @@
 
 void RecurTodoTest::testNonAllDay()
 {
-    qputenv("TZ", "GMT");
+    setTimeZone("UTC");
     const QDateTime currentDateTime = QDateTime::currentDateTime();
     const QDate currentDate = currentDateTime.date();
     const QTime currentTimeWithMS = currentDateTime.time();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.72.0/autotests/testrecurtodo.h 
new/kcalendarcore-5.73.0/autotests/testrecurtodo.h
--- old/kcalendarcore-5.72.0/autotests/testrecurtodo.h  2020-07-04 
11:45:57.000000000 +0200
+++ new/kcalendarcore-5.73.0/autotests/testrecurtodo.h  2020-08-01 
19:01:01.000000000 +0200
@@ -14,6 +14,8 @@
 class RecurTodoTest : public QObject
 {
     Q_OBJECT
+private:
+    void setTimeZone(const char* zonename);
 private Q_SLOTS:
     void testAllDay();
     void testNonAllDay();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.72.0/autotests/testtodo.cpp 
new/kcalendarcore-5.73.0/autotests/testtodo.cpp
--- old/kcalendarcore-5.72.0/autotests/testtodo.cpp     2020-07-04 
11:45:57.000000000 +0200
+++ new/kcalendarcore-5.73.0/autotests/testtodo.cpp     2020-08-01 
19:01:01.000000000 +0200
@@ -17,7 +17,7 @@
 
 void TodoTest::initTestCase()
 {
-    qputenv("TZ", "GMT");
+    qputenv("TZ", "UTC");
 }
 
 void TodoTest::testValidity()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kcalendarcore-5.72.0/src/CMakeLists.txt 
new/kcalendarcore-5.73.0/src/CMakeLists.txt
--- old/kcalendarcore-5.72.0/src/CMakeLists.txt 2020-07-04 11:45:57.000000000 
+0200
+++ new/kcalendarcore-5.73.0/src/CMakeLists.txt 2020-08-01 19:01:01.000000000 
+0200
@@ -40,9 +40,9 @@
 ecm_qt_declare_logging_category(kcalcore_LIB_SRCS
     HEADER kcalendarcore_debug.h
     IDENTIFIER KCALCORE_LOG
-    CATEGORY_NAME org.kde.pim.kcalcore
-    OLD_CATEGORY_NAMES log_kcalcore
-    DESCRIPTION "kcalcore (pim lib)"
+    CATEGORY_NAME kf.calendarcore
+    OLD_CATEGORY_NAMES log_kcalcore org.kde.pim.kcalcore
+    DESCRIPTION "KCalendarCore"
     EXPORT KCALENDARCORE
 )
 


Reply via email to