Accepting request 1139007 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1139007 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=33
This commit is contained in:
commit
2bb31b491d
23
2827.patch
23
2827.patch
@ -1,23 +0,0 @@
|
||||
From 6a508d3d7e9af6e8b60eb00f77c2721ddf0e7ea1 Mon Sep 17 00:00:00 2001
|
||||
From: Vitaly Zaitsev <vitaly@easycoding.org>
|
||||
Date: Sun, 23 Jul 2023 10:11:37 +0200
|
||||
Subject: [PATCH] Added missing square bracket to fix the level_to_string_view
|
||||
test.
|
||||
|
||||
---
|
||||
tests/test_misc.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp
|
||||
index 9f3cb1744d..6199641ff2 100644
|
||||
--- a/tests/test_misc.cpp
|
||||
+++ b/tests/test_misc.cpp
|
||||
@@ -43,7 +43,7 @@ TEST_CASE("log_levels", "[log_levels]")
|
||||
REQUIRE(log_info("Hello", spdlog::level::trace) == "Hello");
|
||||
}
|
||||
|
||||
-TEST_CASE("level_to_string_view", "[convert_to_string_view")
|
||||
+TEST_CASE("level_to_string_view", "[convert_to_string_view]")
|
||||
{
|
||||
REQUIRE(spdlog::level::to_string_view(spdlog::level::trace) == "trace");
|
||||
REQUIRE(spdlog::level::to_string_view(spdlog::level::debug) == "debug");
|
@ -1 +1 @@
|
||||
libspdlog1_12
|
||||
libspdlog1_13
|
||||
|
@ -1,3 +1,36 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 12:25:23 UTC 2024 - Bernd Ritter <comrad@opensuse.org>
|
||||
|
||||
- Update spdlog to 1.13.0
|
||||
- Removed patch 2827.patch because mismatch with new release
|
||||
|
||||
- Release notes 1.13.0:
|
||||
* Qt Sink: Allow for darker colors for light backgrounds (#2817). Thanks to @krawq.
|
||||
* Set CMAKE_BUILD_TYPE only for single-config generators (#2839). Thanks to @moritz-h.
|
||||
* Provide spdlog_header_only in build directory export (#2846). Thanks to @robertmaynard.
|
||||
* Add SPDLOG_TO_VERSION to compare spdlog version (#2853). Thanks to @kegechen.
|
||||
* Support async_overflow_policy::discard_new (#2876). Thanks to @walkerlala.
|
||||
* Make syslog_sink.h's syslog_prio_from_level protected (#2918). Thanks to @shannonbooth.
|
||||
* Fix OS availability check of pthread_threadid_np for iOS (#2897). Thanks to @lowdesertpunk.
|
||||
* Add .git-blame-ignore-revs to ignore clang-format related commits (#2899). Thanks to @lowdesertpunk.
|
||||
* Match SPDLOG_CONSTEXPR_FUNC to FMT_CONSTEXPR (#2901). Thanks to @kkraus14.
|
||||
|
||||
- Bugfixes:
|
||||
* Check fd_ is not nullptr in file_helper to prevent possible crash if disk is full (#2972).
|
||||
* Fix encoding issue in qt_sinks (#2862). Thanks to @neothenil and @tt4g .
|
||||
* Fix wrong thread_id (TID) in systemd_sink.h (#2919). Thanks to @M010.
|
||||
* Update example.cpp to fix the vector issue in bin_example (#2963). Thanks to @zhuzhzh.
|
||||
* Fix MSVC compile flag for no exceptions (#2974). Thanks to @Programicus.
|
||||
* Fix bug in circular_q::size() (#2820).
|
||||
* Fix link to fmt license file (#2967).
|
||||
|
||||
- Maintenance:
|
||||
* Added and updated various tests for circular_q.
|
||||
* Removed obsolete part from CMake configuration files (#2871). Thanks to @albert-github.
|
||||
* Removed policy_max from cmake_minimum_required(..).
|
||||
* Updated clang-format to google style and updated various formatting scripts.
|
||||
* Bumped to catch2 v3.5.0.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 30 16:58:29 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
|
10
spdlog.spec
10
spdlog.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package spdlog
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: spdlog
|
||||
%define lname libspdlog1_12
|
||||
%define sover 1.12
|
||||
Version: 1.12.0
|
||||
%define lname libspdlog1_13
|
||||
%define sover 1.13
|
||||
Version: 1.13.0
|
||||
Release: 0
|
||||
Summary: C++ logging library
|
||||
License: MIT
|
||||
@ -27,7 +27,7 @@ URL: https://github.com/gabime/spdlog
|
||||
Source0: https://github.com/gabime/%{name}/archive/refs/tags/v%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
# PATCH-FIX-UPSTREAM 2827.patch -- Added missing square bracket to fix the level_to_string_view
|
||||
Patch0: https://patch-diff.githubusercontent.com/raw/gabime/spdlog/pull/2827.patch
|
||||
#Patch0: https://patch-diff.githubusercontent.com/raw/gabime/spdlog/pull/2827.patch
|
||||
BuildRequires: cmake >= 3.10
|
||||
%if 0%{?suse_version} > 1500
|
||||
BuildRequires: gcc-c++ >= 8
|
||||
|
BIN
v1.12.0.tar.gz
(Stored with Git LFS)
BIN
v1.12.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
v1.13.0.tar.gz
Normal file
3
v1.13.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:534f2ee1a4dcbeb22249856edfb2be76a1cf4f708a20b0ac2ed090ee24cfdbc9
|
||||
size 264003
|
Loading…
x
Reference in New Issue
Block a user