diff --git a/0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch b/0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch deleted file mode 100644 index a27a7cd..0000000 --- a/0001-fix-update-to_string_view-function-for-fmt-11.1-3301.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 276ee5f5c0eb13626bd367b006ace5eae9526d8a Mon Sep 17 00:00:00 2001 -From: Rui Chen -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 ---- - 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 -+inline fmt::basic_string_view to_string_view(fmt::basic_format_arg fmt) { -+ return fmt; -+} -+#else - template - inline fmt::basic_string_view to_string_view(fmt::basic_format_string fmt) { - return fmt; - } -+#endif - #elif __cpp_lib_format >= 202207L - template - SPDLOG_CONSTEXPR_FUNC std::basic_string_view to_string_view( --- -2.47.1 - diff --git a/spdlog.changes b/spdlog.changes index a95c5c6..dd30519 100644 --- a/spdlog.changes +++ b/spdlog.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Sun Feb 2 15:34:25 UTC 2025 - Bernd Ritter + +- 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 + +- 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 diff --git a/spdlog.spec b/spdlog.spec index ee0bf30..02df855 100644 --- a/spdlog.spec +++ b/spdlog.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -19,7 +19,7 @@ Name: spdlog %define lname libspdlog1_15 %define sover 1.15 -Version: 1.15.0 +Version: 1.15.1 Release: 0 Summary: C++ logging library License: MIT @@ -27,7 +27,6 @@ Group: Development/Libraries/C and C++ 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 diff --git a/v1.15.0.tar.gz b/v1.15.0.tar.gz deleted file mode 100644 index 523e66b..0000000 --- a/v1.15.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9962648c9b4f1a7bbc76fd8d9172555bad1871fdb14ff4f842ef87949682caa5 -size 276012 diff --git a/v1.15.1.tar.gz b/v1.15.1.tar.gz new file mode 100644 index 0000000..5b58ab4 --- /dev/null +++ b/v1.15.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25c843860f039a1600f232c6eb9e01e6627f7d030a2ae5e232bdd3c9205d26cc +size 275521