Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package kpkpass for openSUSE:Leap:16.0 
checked in at 2025-08-07 19:22:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:16.0/kpkpass (Old)
 and      /work/SRC/openSUSE:Leap:16.0/.kpkpass.new.1085 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kpkpass"

Thu Aug  7 19:22:40 2025 rev:4 rq:1292889 version:25.04.3

Changes:
--------
--- /work/SRC/openSUSE:Leap:16.0/kpkpass/kpkpass.changes        2025-04-23 
10:14:06.029959189 +0200
+++ /work/SRC/openSUSE:Leap:16.0/.kpkpass.new.1085/kpkpass.changes      
2025-08-07 19:28:50.451862315 +0200
@@ -1,0 +2,28 @@
+Tue Jul  1 15:27:16 UTC 2025 - Christophe Marin <christo...@krop.fr>
+
+- Update to 25.04.3
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/25.04.3/
+- No code change since 25.04.2
+
+-------------------------------------------------------------------
+Tue Jun  3 21:12:40 UTC 2025 - Christophe Marin <christo...@krop.fr>
+
+- Update to 25.04.2
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/25.04.2/
+- Changes since 25.04.1:
+  * Improve displaying (large) numbers
+
+-------------------------------------------------------------------
+Wed May  7 21:00:28 UTC 2025 - Christophe Marin <christo...@krop.fr>
+
+- Update to 25.04.1
+  * New bugfix release
+  * For more details please see:
+  * https://kde.org/announcements/gear/25.04.1/
+- No code change since 25.04.0
+
+-------------------------------------------------------------------

Old:
----
  kpkpass-25.04.0.tar.xz
  kpkpass-25.04.0.tar.xz.sig

New:
----
  kpkpass-25.04.3.tar.xz
  kpkpass-25.04.3.tar.xz.sig

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

Other differences:
------------------
++++++ kpkpass.spec ++++++
--- /var/tmp/diff_new_pack.68USzF/_old  2025-08-07 19:28:50.803876963 +0200
+++ /var/tmp/diff_new_pack.68USzF/_new  2025-08-07 19:28:50.803876963 +0200
@@ -21,7 +21,7 @@
 
 %bcond_without released
 Name:           kpkpass
-Version:        25.04.0
+Version:        25.04.3
 Release:        0
 Summary:        Library to parse Passbook files
 License:        LGPL-2.1-or-later


++++++ kpkpass-25.04.0.tar.xz -> kpkpass-25.04.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-25.04.0/CMakeLists.txt 
new/kpkpass-25.04.3/CMakeLists.txt
--- old/kpkpass-25.04.0/CMakeLists.txt  2025-03-28 20:13:43.000000000 +0100
+++ new/kpkpass-25.04.3/CMakeLists.txt  2025-06-06 06:57:05.000000000 +0200
@@ -3,7 +3,7 @@
 # SPDX-License-Identifier: BSD-3-Clause
 
 cmake_minimum_required(VERSION 3.16 FATAL_ERROR)
-set(PIM_VERSION "6.4.0")
+set(PIM_VERSION "6.4.3")
 project(KPkPass VERSION ${PIM_VERSION})
 
 set(KF_MIN_VERSION "6.9.0")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-25.04.0/autotests/fieldtest.cpp 
new/kpkpass-25.04.3/autotests/fieldtest.cpp
--- old/kpkpass-25.04.0/autotests/fieldtest.cpp 2025-03-28 20:13:43.000000000 
+0100
+++ new/kpkpass-25.04.3/autotests/fieldtest.cpp 2025-06-06 06:57:05.000000000 
+0200
@@ -22,6 +22,8 @@
 
 Q_CONSTRUCTOR_FUNCTION(initLocale)
 
+using namespace Qt::Literals;
+
 namespace KPkPass
 {
 class FieldTest : public QObject
@@ -57,6 +59,11 @@
         QCOMPARE(f.value().userType(), QMetaType::QString);
         QCOMPARE(f.value(), QLatin1StringView("Freibad Killesberg\n"));
         QCOMPARE(f.valueDisplayString(), QLatin1StringView("Freibad 
Killesberg"));
+
+        obj = 
QJsonDocument::fromJson(R"({"key":"booking-number","label":"Buchungsnummer","value":1234567894})").object();
+        f = KPkPass::Field(obj, pass.get());
+        QCOMPARE(f.value().userType(), QMetaType::Double);
+        QCOMPARE(f.valueDisplayString(), "1234567894"_L1);
     }
 };
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kpkpass-25.04.0/src/field.cpp 
new/kpkpass-25.04.3/src/field.cpp
--- old/kpkpass-25.04.0/src/field.cpp   2025-03-28 20:13:43.000000000 +0100
+++ new/kpkpass-25.04.3/src/field.cpp   2025-06-06 06:57:05.000000000 +0200
@@ -101,12 +101,16 @@
         return QLocale().toString(dt, fmt);
     }
     if (v.typeId() == QMetaType::Double) {
+        const auto f = v.toDouble();
         if (const auto currency = currencyCode(); !currency.isEmpty()) {
-            return QLocale().toCurrencyString(v.toDouble(), currency);
+            return QLocale().toCurrencyString(f, currency);
         }
 
         // TODO respect number formatting options
-        return QString::number(v.toDouble());
+        if (double i; std::modf(f, &i) == 0) {
+            return QString::number(static_cast<qint64>(f));
+        }
+        return QString::number(v.toDouble(), 'f');
     }
 
     return v.toString().trimmed();

Reply via email to