SHA256
1
0
forked from pool/spdlog

- Update to version 1.11.0

* Update to fmt lib version 9.1.0 #2346, #2485, #2512, #2517 . Thanks @sylveon, @YunchengLiu, @tt4g, @tycho and @vitaut
  * Fix template instantiation warning #2336 . Thanks @aengusjiang
  * Event handlers improvements #2342, #2375 . Thanks @espkk and @kslattery
  * Allow modifying the used Android buffer ID #2358. Thanks @tiolan
  * Fix clone in async test #2364. Thanks @stkw0
  * Custom formatter optimization #2365. Thanks @conr2d
  * Fix C++14 builds for gcc 4.x (#2333) #2372 . Thanks @kslattery
  * Add minor version to CMake's SOVERSION #2376
  * Allow compilation with FMT_ENFORCE_COMPILE_STRING #2381. Thanks @john4744
  * Fix pkg-config generation #2383. Thanks @alexshpilkin
  * Remove unused code from null_mutex #2385. Thanks @panzhongxian
  * Fix redundant std::move #2396. Thanks @polesapart
  * Remove the empty file if in first period in hourly logger #2386. Thanks @panzhongxian
  * Add reset_overrun_counter() function to the async logging #2399 Thanks @bergen4
  * Set C++20 in CMake when SPDLOG_USE_STD_FORMAT option is turned on #2402. Thanks @cookcocck
  * Fix mingw test #2415. Thanks @neheb
  * Support for any std::chrono::duration type in flush_every(..) #2439. Thanks @LucasChollet
  * Fix implicit casting of level_enum #2443. Thanks @ibmibmibm
  * Comment fix #2445. Thanks @Hish15
  * Fix gcc 4.x build #2449. Thanks @Simon-Janos
  * Add openSUSE installation instructions #2468. Thanks @LorenDB
  * Fixed missing include file in stopwatch.h #2434. Thanks @fabianbuettner
  * Support for omitting source info by defining SPDLOG_NO_SOURCE_LOC #2476. Thanks @nigels-com
  * Added SPDLOG_BUILD_PIC build option to CMake #2475. Thanks @nigels-com
  * Fix include windows.h #2495. Thanks @panicgh
  * Workaround gcc 12 warnings #2498, #2499 . Thanks @offa
  * Migrate to Github Actions CI #2500. Thanks @offa
  * Replace iterator difference with std::distance #2509 Thanks @kin4stat
  * Export targets file to build directory at configure time #2514, #2515. Thanks @puneetmatharu

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=74
This commit is contained in:
Bernd Ritter 2022-11-02 22:55:52 +00:00 committed by Git OBS Bridge
parent 7d37a6e18c
commit caf0b5ff53
6 changed files with 47 additions and 33 deletions

View File

@ -1 +1 @@
libspdlog1_10
libspdlog1_11

View File

@ -1,24 +0,0 @@
From 41efc971addb0596de50337863f01491a9fba2a5 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jengelh@inai.de>
Date: Fri, 13 May 2022 09:44:09 +0200
Subject: [PATCH] build: expand SOVERSION to not give false illusion of
compatibility
Fixes #2369
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 21577e508..dc6b0ded1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -169,7 +169,7 @@ target_include_directories(spdlog PUBLIC "$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST
target_link_libraries(spdlog PUBLIC Threads::Threads)
spdlog_enable_warnings(spdlog)
-set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR})
+set_target_properties(spdlog PROPERTIES VERSION ${SPDLOG_VERSION} SOVERSION ${SPDLOG_VERSION_MAJOR}.${SPDLOG_VERSION_MINOR})
set_target_properties(spdlog PROPERTIES DEBUG_POSTFIX d)
if(COMMAND target_precompile_headers AND SPDLOG_ENABLE_PCH)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224
size 368651

3
spdlog-1.11.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ca5cae8d6cac15dae0ec63b21d6ad3530070650f68076f3a4a862ca293a858bb
size 373033

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Wed Nov 2 22:51:57 UTC 2022 - Bernd Ritter <comrad@posteo.de>
- Update to version 1.11.0
* Update to fmt lib version 9.1.0 #2346, #2485, #2512, #2517 . Thanks @sylveon, @YunchengLiu, @tt4g, @tycho and @vitaut
* Fix template instantiation warning #2336 . Thanks @aengusjiang
* Event handlers improvements #2342, #2375 . Thanks @espkk and @kslattery
* Allow modifying the used Android buffer ID #2358. Thanks @tiolan
* Fix clone in async test #2364. Thanks @stkw0
* Custom formatter optimization #2365. Thanks @conr2d
* Fix C++14 builds for gcc 4.x (#2333) #2372 . Thanks @kslattery
* Add minor version to CMake's SOVERSION #2376
* Allow compilation with FMT_ENFORCE_COMPILE_STRING #2381. Thanks @john4744
* Fix pkg-config generation #2383. Thanks @alexshpilkin
* Remove unused code from null_mutex #2385. Thanks @panzhongxian
* Fix redundant std::move #2396. Thanks @polesapart
* Remove the empty file if in first period in hourly logger #2386. Thanks @panzhongxian
* Add reset_overrun_counter() function to the async logging #2399 Thanks @bergen4
* Set C++20 in CMake when SPDLOG_USE_STD_FORMAT option is turned on #2402. Thanks @cookcocck
* Fix mingw test #2415. Thanks @neheb
* Support for any std::chrono::duration type in flush_every(..) #2439. Thanks @LucasChollet
* Fix implicit casting of level_enum #2443. Thanks @ibmibmibm
* Comment fix #2445. Thanks @Hish15
* Fix gcc 4.x build #2449. Thanks @Simon-Janos
* Add openSUSE installation instructions #2468. Thanks @LorenDB
* Fixed missing include file in stopwatch.h #2434. Thanks @fabianbuettner
* Support for omitting source info by defining SPDLOG_NO_SOURCE_LOC #2476. Thanks @nigels-com
* Added SPDLOG_BUILD_PIC build option to CMake #2475. Thanks @nigels-com
* Fix include windows.h #2495. Thanks @panicgh
* Workaround gcc 12 warnings #2498, #2499 . Thanks @offa
* Migrate to Github Actions CI #2500. Thanks @offa
* Replace iterator difference with std::distance #2509 Thanks @kin4stat
* Export targets file to build directory at configure time #2514, #2515. Thanks @puneetmatharu
* MongoDB sink improvements #2519. Thanks @sandorzm
* Fix shadow warning in dist_sink #2431. Thanks @MohammadKanan for reporting.
* Fixed msvc warning C4800 in win_eventlog_sink
* Check IsDebuggerPresent() in msvc_sink before doing actual work #2408. To use old behavior pass false to the msvc_sink constructor. Thanks @DominikGrabiec and @sylveon
- Removed e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch as [boo#1199306] is now integrated.
* Updated baselibs.conf accordingly.
-------------------------------------------------------------------
Mon Oct 24 22:04:21 UTC 2022 - Jan Engelhardt <jengelh@inai.de>

View File

@ -17,17 +17,15 @@
Name: spdlog
%define lname libspdlog1_10
%define sover 1.10
Version: 1.10.0
%define lname libspdlog1_11
%define sover 1.11
Version: 1.11.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
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM fix for bug boo#1199306
Patch0: https://github.com/gabime/%{name}/commit/e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
BuildRequires: cmake >= 3.10
%if 0%{?suse_version} > 1500
BuildRequires: gcc-c++ >= 8