Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package grantlee5 for openSUSE:Factory 
checked in at 2023-05-24 20:21:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grantlee5 (Old)
 and      /work/SRC/openSUSE:Factory/.grantlee5.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "grantlee5"

Wed May 24 20:21:50 2023 rev:10 rq:1088577 version:5.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/grantlee5/grantlee5.changes      2022-11-16 
15:42:12.847548571 +0100
+++ /work/SRC/openSUSE:Factory/.grantlee5.new.1533/grantlee5.changes    
2023-05-24 20:21:59.752048404 +0200
@@ -1,0 +2,6 @@
+Tue May 23 09:24:41 UTC 2023 - Christophe Marin <[email protected]>
+
+- Add patch to fix test failures on Leap 15:
+  * 0001-Add-a-call-to-registerComparators-in-testbuiltins.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Add-a-call-to-registerComparators-in-testbuiltins.patch

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

Other differences:
------------------
++++++ grantlee5.spec ++++++
--- /var/tmp/diff_new_pack.y6DDim/_old  2023-05-24 20:22:00.408052315 +0200
+++ /var/tmp/diff_new_pack.y6DDim/_new  2023-05-24 20:22:00.412052339 +0200
@@ -37,6 +37,8 @@
 Patch1:         grantlee-5.2.0-fix-ctest-ld-library-path.patch
 # PATCH-FIX-UPSTREAM https://github.com/steveire/grantlee/pull/86/
 Patch2:         fix-i586-precision.patch
+# PATCH-FIX-UPSTREAM https://github.com/steveire/grantlee/issues/89
+Patch3:         0001-Add-a-call-to-registerComparators-in-testbuiltins.patch
 BuildRequires:  cmake >= 3.5
 BuildRequires:  cmake(Qt5Core) >= 5.3
 BuildRequires:  cmake(Qt5Gui) >= 5.3

++++++ 0001-Add-a-call-to-registerComparators-in-testbuiltins.patch ++++++
Subject: Add a call to registerComparators in testbuiltins

Author: awilcox
Upstream report: https://github.com/steveire/grantlee/issues/89

Fixes tests on PPC64 and zSystems when building grantlee with older compilers
---
 templates/tests/testbuiltins.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/tests/testbuiltins.cpp b/templates/tests/testbuiltins.cpp
index fe7e4ed..82a065d 100644
--- a/templates/tests/testbuiltins.cpp
+++ b/templates/tests/testbuiltins.cpp
@@ -298,6 +298,7 @@ void TestBuiltinSyntax::testObjects()
   Q_UNUSED(s3);
 
   QMetaType{qMetaTypeId<MetaEnumVariable>()}.create(nullptr);
+  QMetaType::registerComparators<MetaEnumVariable>();
 }
 
 void TestBuiltinSyntax::testTruthiness_data()

Reply via email to