Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2024-12-29 11:55:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and      /work/SRC/openSUSE:Factory/.spdlog.new.1881 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spdlog"

Sun Dec 29 11:55:42 2024 rev:39 rq:1233567 version:1.15.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes    2024-11-22 
23:51:02.496190103 +0100
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1881/spdlog.changes  2024-12-29 
11:55:44.141954748 +0100
@@ -1,0 +2,6 @@
+Fri Dec 27 00:33:38 UTC 2024 - Jan Engelhardt <[email protected]>
+
+- Add 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch
+  to cope with fmt 11.1
+
+-------------------------------------------------------------------

New:
----
  0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch

BETA DEBUG BEGIN:
  New:
- Add 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch
  to cope with fmt 11.1
BETA DEBUG END:

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

Other differences:
------------------
++++++ spdlog.spec ++++++
--- /var/tmp/diff_new_pack.8FI70z/_old  2024-12-29 11:55:46.234040540 +0100
+++ /var/tmp/diff_new_pack.8FI70z/_new  2024-12-29 11:55:46.250041196 +0100
@@ -27,6 +27,7 @@
 URL:            https://github.com/gabime/spdlog
 Source0:        
https://github.com/gabime/%{name}/archive/refs/tags/v%{version}.tar.gz
 Source99:       baselibs.conf
+Patch1:         0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch
 BuildRequires:  cmake >= 3.10
 %if 0%{?suse_version} > 1500
 BuildRequires:  gcc-c++ >= 13
@@ -100,9 +101,7 @@
 export LD_LIBRARY_PATH="$PWD/build"
 %ctest
 
-%post -n %{lname} -p /sbin/ldconfig
-
-%postun -n %{lname} -p /sbin/ldconfig
+%ldconfig_scriptlets -n %{lname}
 
 %files devel
 %license LICENSE

++++++ 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch ++++++
>From 276ee5f5c0eb13626bd367b006ace5eae9526d8a Mon Sep 17 00:00:00 2001
From: Rui Chen <[email protected]>
Date: Thu, 26 Dec 2024 02:13:57 -0500
Subject: [PATCH] fix: update to_string_view function for fmt 11.1 (#3301)

Signed-off-by: Rui Chen <[email protected]>
---
 include/spdlog/common.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/spdlog/common.h b/include/spdlog/common.h
index aca483c2..2d73f830 100644
--- a/include/spdlog/common.h
+++ b/include/spdlog/common.h
@@ -365,10 +365,17 @@ SPDLOG_CONSTEXPR_FUNC spdlog::wstring_view_t 
to_string_view(spdlog::wstring_view
 #endif
 
 #ifndef SPDLOG_USE_STD_FORMAT
+#if FMT_VERSION >= 110100
+template <typename T, typename... Args>
+inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_arg<T> fmt) {
+    return fmt;
+}
+#else
 template <typename T, typename... Args>
 inline fmt::basic_string_view<T> to_string_view(fmt::basic_format_string<T, 
Args...> fmt) {
     return fmt;
 }
+#endif
 #elif __cpp_lib_format >= 202207L
 template <typename T, typename... Args>
 SPDLOG_CONSTEXPR_FUNC std::basic_string_view<T> to_string_view(
-- 
2.47.1

Reply via email to