- Update to version 1.10.0

* Bump fmt to version 8.1.1.
  * Added file event handlers.
  * Fixed rotating file sink: when disk is full log rotation resulted zero size log files.
  * Added new udp_sink.
  * Improved file name for hourly file sink.
  * Added code location information for error handler.
  * Fixed qt_sinks ctor.
  * List Debian instructions in the README.
  * Updated to latest Travis CI Build Status.
  * Fixed unhandled errors in udp sink.
  * CMake improvement regarding cmake_minimum_required and policy. 
  * Fixed mongo_sink compile in older gcc versions.
  * Remove mutable keyword from mutex_ member in of sinks.
  * Fix typos.
  * Fixed udp sink build on FreeBSD
  * Avoid c-style casting in stdout sinks. 
  * Fixed tweakme.h compile error under msvcs when SPDLOG_FUNCTION is defined #2182. Thanks @Light3039 .
  * Fixed compiling errors on AIX #2181. Thanks @lisr .
  * Fixed runtime when build with -fsanitize=cfi #1972. Thanks @bansan85 .
  * Remove extraneous semicolon #2190. Thanks @sylveon.
  * Added example how to replace default logger.
  * Fixed usage of ranges and to_hex in the same compile unit.
  * Reduce warnings with pedantic compiler -Wuseless-cast.
  * Support using std::span in to_hex.
  * Reset current size if rotated files on open #2234.
  * Allow forward-declaration of level_enum.
  * Call localtime() only if pattern_formatter really needs it.
  * Removed unneeded spaces from code.
  * Added a few missing files/directories to the gitignore.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=52
This commit is contained in:
Bernd Ritter
2022-04-18 19:48:34 +00:00
committed by Git OBS Bridge
parent a81f740f6c
commit 2dbe712738
3 changed files with 47 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package spdlog
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,13 @@
%define _sover 1
Name: spdlog
Version: 1.9.2
Version: 1.10.0
Release: 0
Summary: C++ logging library
License: MIT
URL: https://github.com/gabime/spdlog
Source0: https://github.com/gabime/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE spdlog-1.9.1-use_system_catch2.patch use system catch2 to fix problem with glibc 2.3.4 -- aloisio@gmx.com
Source99: baselibs.conf
Patch0: spdlog-1.9.1-use_system_catch2.patch
BuildRequires: benchmark-devel >= 1.4.0
BuildRequires: cmake >= 3.10
%if 0%{?suse_version} > 1500