Accepting request 1242938 from devel:libraries:c_c++
- Removed Patch 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch as it is included in 1.15.1. - Updated spdlog to 1.15.1 - Release notes 1.15.1: * Update bundled fmt version to 11.1.3 by @gabime in #3332 * Use fwrite_unlocked() if available by @gabime in #3276 and #3318 * On-demand truncation for basic file sinks by @matteodelseppia in #3280 * Allow manual rotation of rotating_file_sink by @hjs-ast in #3269 * Make null_sink final by @gabime in #3267 * Fix: Add explicit fmt:: and std:: to avoid ambiguous calls by @LiAuTraver in #3259 * Fix: Pass /utf-8 only when the compiler is MSVC by @miyanyan in #3260 * Fix: Support bin_to_hex() when using std::format by @koniarik in #3315 * Support custom environment variables for load_env_levels by @ken-matsui in #3327 * Fix: Added a lock to rotate_now() by @matteodelseppia in #3281 * Fix: Update to_string_view function for fmt 11.1 by @chenrui333 in #3301 * Fix: Remove unused to_string_view overload in fmt >= 11.1 by @jdrouhard in #3314 * Fix: Use string_view_literals to resolve issues #3287 and #3233 by @yalov in #3291 * Fix: Added a lock to set_color_mode(..) in ansicolor_sink by @gabime in #3323 * Fix: Corrected comment in daily_file_sink by @F1F88 in #3249 * Fix: Compatibility with fmtlib 11.1.1 by @yachoor in #3331 OBS-URL: https://build.opensuse.org/request/show/1242938 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=40
This commit is contained in:
commit
84091548dd
@ -1,35 +0,0 @@
|
|||||||
From 276ee5f5c0eb13626bd367b006ace5eae9526d8a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rui Chen <rui@chenrui.dev>
|
|
||||||
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 <rui@chenrui.dev>
|
|
||||||
---
|
|
||||||
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
|
|
||||||
|
|
@ -1,3 +1,31 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 2 15:34:25 UTC 2025 - Bernd Ritter <comrad@opensuse.org>
|
||||||
|
|
||||||
|
- Removed Patch 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch as it is included in 1.15.1.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Feb 1 14:40:14 UTC 2025 - Bernd Ritter <comrad@opensuse.org>
|
||||||
|
|
||||||
|
- Updated spdlog to 1.15.1
|
||||||
|
|
||||||
|
- Release notes 1.15.1:
|
||||||
|
* Update bundled fmt version to 11.1.3 by @gabime in #3332
|
||||||
|
* Use fwrite_unlocked() if available by @gabime in #3276 and #3318
|
||||||
|
* On-demand truncation for basic file sinks by @matteodelseppia in #3280
|
||||||
|
* Allow manual rotation of rotating_file_sink by @hjs-ast in #3269
|
||||||
|
* Make null_sink final by @gabime in #3267
|
||||||
|
* Fix: Add explicit fmt:: and std:: to avoid ambiguous calls by @LiAuTraver in #3259
|
||||||
|
* Fix: Pass /utf-8 only when the compiler is MSVC by @miyanyan in #3260
|
||||||
|
* Fix: Support bin_to_hex() when using std::format by @koniarik in #3315
|
||||||
|
* Support custom environment variables for load_env_levels by @ken-matsui in #3327
|
||||||
|
* Fix: Added a lock to rotate_now() by @matteodelseppia in #3281
|
||||||
|
* Fix: Update to_string_view function for fmt 11.1 by @chenrui333 in #3301
|
||||||
|
* Fix: Remove unused to_string_view overload in fmt >= 11.1 by @jdrouhard in #3314
|
||||||
|
* Fix: Use string_view_literals to resolve issues #3287 and #3233 by @yalov in #3291
|
||||||
|
* Fix: Added a lock to set_color_mode(..) in ansicolor_sink by @gabime in #3323
|
||||||
|
* Fix: Corrected comment in daily_file_sink by @F1F88 in #3249
|
||||||
|
* Fix: Compatibility with fmtlib 11.1.1 by @yachoor in #3331
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 27 00:33:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
Fri Dec 27 00:33:38 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package spdlog
|
# spec file for package spdlog
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -19,7 +19,7 @@
|
|||||||
Name: spdlog
|
Name: spdlog
|
||||||
%define lname libspdlog1_15
|
%define lname libspdlog1_15
|
||||||
%define sover 1.15
|
%define sover 1.15
|
||||||
Version: 1.15.0
|
Version: 1.15.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ logging library
|
Summary: C++ logging library
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -27,7 +27,6 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://github.com/gabime/spdlog
|
URL: https://github.com/gabime/spdlog
|
||||||
Source0: https://github.com/gabime/%{name}/archive/refs/tags/v%{version}.tar.gz
|
Source0: https://github.com/gabime/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Patch1: 0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch
|
|
||||||
BuildRequires: cmake >= 3.10
|
BuildRequires: cmake >= 3.10
|
||||||
%if 0%{?suse_version} > 1500
|
%if 0%{?suse_version} > 1500
|
||||||
BuildRequires: gcc-c++ >= 13
|
BuildRequires: gcc-c++ >= 13
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9962648c9b4f1a7bbc76fd8d9172555bad1871fdb14ff4f842ef87949682caa5
|
|
||||||
size 276012
|
|
3
v1.15.1.tar.gz
Normal file
3
v1.15.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:25c843860f039a1600f232c6eb9e01e6627f7d030a2ae5e232bdd3c9205d26cc
|
||||||
|
size 275521
|
Loading…
x
Reference in New Issue
Block a user