commit spdlog for openSUSE:Factory

2024-07-19 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2024-07-19 15:24:59

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.17339 (New)


Package is "spdlog"

Fri Jul 19 15:24:59 2024 rev:37 rq:1187333 version:1.14.1

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2024-06-11 
18:27:13.064323864 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.17339/spdlog.changes 2024-07-19 
15:25:06.993885780 +0200
@@ -1,0 +2,16 @@
+Sat Jul 13 18:36:24 UTC 2024 - Bernd Ritter 
+
+- added rpm group
+
+---
+Sat Jul 13 18:29:13 UTC 2024 - Bernd Ritter 
+
+- Factory has libfmt 11 now, updated pkgconfig 
+
+---
+Sat Jul 13 12:35:46 UTC 2024 - Bernd Ritter 
+
+- update spec to fix build failure. Option is called SPDLOG_BUILD_EXAMPLE, and 
has to be
+  turned off, to avoid upstream issue with libfmt (see 
https://github.com/gabime/spdlog/issues/3129).
+
+---
@@ -6,0 +23 @@
+



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.DBSESI/_old  2024-07-19 15:25:07.913922388 +0200
+++ /var/tmp/diff_new_pack.DBSESI/_new  2024-07-19 15:25:07.913922388 +0200
@@ -23,11 +23,10 @@
 Release:0
 Summary:C++ logging library
 License:MIT
+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
-# 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
 BuildRequires:  cmake >= 3.10
 %if 0%{?suse_version} > 1500
 BuildRequires:  gcc-c++ >= 13
@@ -37,7 +36,7 @@
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
 BuildRequires:  (pkgconfig(catch2) >= 3)
-BuildRequires:  (pkgconfig(fmt) >= 10.0.0)
+BuildRequires:  (pkgconfig(fmt) >= 11)
 BuildRequires:  pkgconfig(libsystemd)
 
 %description
@@ -88,7 +87,7 @@
 -DSPDLOG_BUILD_BENCH=OFF \
 -DSPDLOG_FMT_EXTERNAL=ON \
 -DCMAKE_BUILD_TYPE=Release \
--DSPDLOG_BUILD_EXAMPLES=OFF \
+-DSPDLOG_BUILD_EXAMPLE=OFF \
 -DSPDLOG_BUILD_SHARED=ON \
 -DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now  
-Wl,--version-script=$v" \
 ..


commit spdlog for openSUSE:Factory

2024-06-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2024-06-11 18:27:05

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.19518 (New)


Package is "spdlog"

Tue Jun 11 18:27:05 2024 rev:36 rq:1179915 version:1.14.1

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2024-05-13 
01:33:01.433049685 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.19518/spdlog.changes 2024-06-11 
18:27:13.064323864 +0200
@@ -1,0 +2,5 @@
+Tue Jun 11 07:47:55 UTC 2024 - Dirk Müller 
+
+- fix build for leap by pulling gcc 13
+
+---



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.Yjt2Xb/_old  2024-06-11 18:27:13.776349848 +0200
+++ /var/tmp/diff_new_pack.Yjt2Xb/_new  2024-06-11 18:27:13.780349995 +0200
@@ -30,9 +30,9 @@
 #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
+BuildRequires:  gcc-c++ >= 13
 %else
-BuildRequires:  gcc8-c++
+BuildRequires:  gcc13-c++
 %endif
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
@@ -76,7 +76,7 @@
 
 %build
 export CXX=g++
-test -x "$(type -p g++-8)" && export CXX=g++-8
+test -x "$(type -p g++-13)" && export CXX=g++-13
 
 # spdlog embodies fmt ABI; add some symvers so both ld.so and rpm notice the 
change.
 v=v$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 
's/\..*//')


commit spdlog for openSUSE:Factory

2024-05-12 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2024-05-12 22:52:37

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1880 (New)


Package is "spdlog"

Sun May 12 22:52:37 2024 rev:35 rq:1173209 version:1.14.1

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2024-04-26 
23:26:48.243924098 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1880/spdlog.changes  2024-05-13 
01:33:01.433049685 +0200
@@ -1,0 +2,20 @@
+Fri May  3 15:11:30 UTC 2024 - Bernd Ritter 
+
+- update fmt dependency to verrsion 10.0 
+
+---
+Fri May  3 14:27:01 UTC 2024 - Bernd Ritter 
+
+- Fixing rpm build failure for target i586
+
+---
+Wed May  1 18:59:39 UTC 2024 - Bernd Ritter 
+
+- Update spdlog to 1.14.1
+
+- Release nots 1.14.1:
+  * Fixed compatibility issue between c++17 and c++11 (#3081).
+  * Fixed creating folders under windows when full path with drive letter is 
given (#3079).
+  * Added mdc sample. Note: mdc is not supported in async loggers.
+
+---

Old:

  v1.14.0.tar.gz

New:

  v1.14.1.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.NoApv1/_old  2024-05-13 01:33:01.929067694 +0200
+++ /var/tmp/diff_new_pack.NoApv1/_new  2024-05-13 01:33:01.933067839 +0200
@@ -19,7 +19,7 @@
 Name:   spdlog
 %define lname  libspdlog1_14
 %define sover  1.14
-Version:1.14.0
+Version:1.14.1
 Release:0
 Summary:C++ logging library
 License:MIT
@@ -37,7 +37,7 @@
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
 BuildRequires:  (pkgconfig(catch2) >= 3)
-BuildRequires:  pkgconfig(fmt) >= 8.0.0
+BuildRequires:  (pkgconfig(fmt) >= 10.0.0)
 BuildRequires:  pkgconfig(libsystemd)
 
 %description
@@ -112,6 +112,7 @@
 %{_libdir}/libspdlog.so
 %{_libdir}/cmake/spdlog/
 %{_libdir}/pkgconfig/spdlog.pc
+%{_libdir}/cmake
 
 %files -n %{lname}
 %{_libdir}/libspdlog.so.*

++ v1.14.0.tar.gz -> v1.14.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.14.0/README.md new/spdlog-1.14.1/README.md
--- old/spdlog-1.14.0/README.md 2024-04-26 00:43:02.0 +0200
+++ new/spdlog-1.14.1/README.md 2024-04-30 12:14:29.0 +0200
@@ -437,7 +437,22 @@
 logger->info("Some info message");
 }
 ```
+---
 
+ Mapped Diagnostic Context
+```c++
+// Mapped Diagnostic Context (MDC) is a map that stores key-value pairs 
(string values) in thread local storage.
+// Each thread maintains its own MDC, which loggers use to append diagnostic 
information to log outputs.
+// Note: it is not supported in asynchronous mode due to its reliance on 
thread-local storage.
+#include "spdlog/mdc.h"
+void mdc_example()
+{
+spdlog::mdc::put("key1", "value1");
+spdlog::mdc::put("key2", "value2");
+// if not using the default format, use the %& formatter to print mdc data
+// spdlog::set_pattern("[%H:%M:%S %z] [%^%L%$] [%&] %v");
+}
+```
 ---
 ## Benchmarks
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.14.0/example/example.cpp 
new/spdlog-1.14.1/example/example.cpp
--- old/spdlog-1.14.0/example/example.cpp   2024-04-26 00:43:02.0 
+0200
+++ new/spdlog-1.14.1/example/example.cpp   2024-04-30 12:14:29.0 
+0200
@@ -26,6 +26,7 @@
 void custom_flags_example();
 void file_events_example();
 void replace_default_logger_example();
+void mdc_example();
 
 #include "spdlog/spdlog.h"
 #include "spdlog/cfg/env.h"   // support for loading levels from the 
environment variable
@@ -84,6 +85,7 @@
 custom_flags_example();
 file_events_example();
 replace_default_logger_example();
+mdc_example();
 
 // Flush all *registered* loggers using a worker thread every 3 
seconds.
 // note: registered loggers *must* be thread safe for this to work 
correctly!
@@ -376,3 +378,16 @@
 
 spdlog::set_default_logger(old_logger);
 }
+
+// Mapped Diagnostic Context (MDC) is a map that stores key-value pairs 
(string values) in thread local storage.
+// Each thread maintains its own MDC, which loggers use to append diagnostic 
information to log outputs.
+// Note: it is not supported in asynchronous mode due to its reliance on 
thread-local storage.
+#include "spdlog/mdc.h"
+void mdc_example()
+{
+spdlog::mdc::put("key1", "value1");
+spdlog::mdc::put("key2", "value2");
+// if not using the default format, you can use 

commit spdlog for openSUSE:Factory

2024-01-17 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2024-01-17 22:14:24

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.16006 (New)


Package is "spdlog"

Wed Jan 17 22:14:24 2024 rev:33 rq:1139007 version:1.13.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2024-01-03 
12:23:07.975409997 +0100
+++ /work/SRC/openSUSE:Factory/.spdlog.new.16006/spdlog.changes 2024-01-17 
22:14:27.449140510 +0100
@@ -1,0 +2,33 @@
+Fri Jan 12 12:25:23 UTC 2024 - Bernd Ritter 
+
+- 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.
+
+---

Old:

  2827.patch
  v1.12.0.tar.gz

New:

  v1.13.0.tar.gz

BETA DEBUG BEGIN:
  Old:- Update spdlog to 1.13.0
- Removed patch 2827.patch because mismatch with new release
BETA DEBUG END:



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.HXhaGy/_old  2024-01-17 22:14:28.125165336 +0100
+++ /var/tmp/diff_new_pack.HXhaGy/_new  2024-01-17 22:14:28.129165482 +0100
@@ -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 @@
 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

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.HXhaGy/_old  2024-01-17 22:14:28.157166510 +0100
+++ /var/tmp/diff_new_pack.HXhaGy/_new  2024-01-17 22:14:28.161166657 +0100
@@ -1,2 +1,2 @@
-libspdlog1_12
+libspdlog1_13
 

++ v1.12.0.tar.gz -> v1.13.0.tar.gz ++
 17780 lines of diff (skipped)


commit spdlog for openSUSE:Factory

2024-01-03 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2024-01-03 12:23:03

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.28375 (New)


Package is "spdlog"

Wed Jan  3 12:23:03 2024 rev:32 rq:1136092 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2023-12-28 
22:54:42.831643363 +0100
+++ /work/SRC/openSUSE:Factory/.spdlog.new.28375/spdlog.changes 2024-01-03 
12:23:07.975409997 +0100
@@ -1,0 +2,5 @@
+Sat Dec 30 16:58:29 UTC 2023 - Jan Engelhardt 
+
+- Update symbol versioning pattern to actually match symbols
+
+---



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.X3qtAd/_old  2024-01-03 12:23:08.627433828 +0100
+++ /var/tmp/diff_new_pack.X3qtAd/_new  2024-01-03 12:23:08.627433828 +0100
@@ -79,8 +79,8 @@
 test -x "$(type -p g++-8)" && export CXX=g++-8
 
 # spdlog embodies fmt ABI; add some symvers so both ld.so and rpm notice the 
change.
-v=$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 
's/\..*//')
-echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}v${v}; };" >spdlog.sym
+v=v$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 
's/\..*//')
+echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}${v}*; };" >spdlog.sym
 v="$PWD/spdlog.sym"
 
 %cmake -G Ninja \


commit spdlog for openSUSE:Factory

2023-12-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2023-12-28 22:54:35

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.28375 (New)


Package is "spdlog"

Thu Dec 28 22:54:35 2023 rev:31 rq:1135257 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2023-11-17 
20:50:04.742326749 +0100
+++ /work/SRC/openSUSE:Factory/.spdlog.new.28375/spdlog.changes 2023-12-28 
22:54:42.831643363 +0100
@@ -1,0 +2,6 @@
+Thu Dec 14 09:47:07 UTC 2023 - Jan Engelhardt 
+
+- Add some symbol versions to ease rebuilds and transition on
+  user systems when fmt changes [boo#1217820]
+
+---



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.wArnBe/_old  2023-12-28 22:54:43.431665267 +0100
+++ /var/tmp/diff_new_pack.wArnBe/_new  2023-12-28 22:54:43.431665267 +0100
@@ -77,6 +77,12 @@
 %build
 export CXX=g++
 test -x "$(type -p g++-8)" && export CXX=g++-8
+
+# spdlog embodies fmt ABI; add some symvers so both ld.so and rpm notice the 
change.
+v=$(rpm -q --qf="%%{VERSION}" --whatprovides "pkgconfig(fmt)" | sed -e 
's/\..*//')
+echo "FMT_$v { global: _ZN6spdlog*N3fmt${#v}v${v}; };" >spdlog.sym
+v="$PWD/spdlog.sym"
+
 %cmake -G Ninja \
 -DSPDLOG_BUILD_TESTS=ON \
 -DSPDLOG_BUILD_BENCH=OFF \
@@ -84,6 +90,7 @@
 -DCMAKE_BUILD_TYPE=Release \
 -DSPDLOG_BUILD_EXAMPLES=OFF \
 -DSPDLOG_BUILD_SHARED=ON \
+-DCMAKE_SHARED_LINKER_FLAGS="%{?build_ldflags} -Wl,--as-needed -Wl,-z,now  
-Wl,--version-script=$v" \
 ..
 %ninja_build
 


commit spdlog for openSUSE:Factory

2023-08-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2023-08-07 15:28:51

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.22712 (New)


Package is "spdlog"

Mon Aug  7 15:28:51 2023 rev:29 rq:1102662 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2023-07-10 
16:39:32.218412790 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.22712/spdlog.changes 2023-08-07 
15:28:54.888248512 +0200
@@ -1,0 +2,6 @@
+Wed Aug  2 12:48:47 UTC 2023 - Dominique Leuenberger 
+
+- Add 2827.patch: Added missing square bracket to fix the
+  level_to_string_view.
+
+---

New:

  2827.patch



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.DQPYG6/_old  2023-08-07 15:28:55.564252710 +0200
+++ /var/tmp/diff_new_pack.DQPYG6/_new  2023-08-07 15:28:55.572252760 +0200
@@ -26,6 +26,8 @@
 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
 BuildRequires:  cmake >= 3.10
 %if 0%{?suse_version} > 1500
 BuildRequires:  gcc-c++ >= 8

++ 2827.patch ++
>From 6a508d3d7e9af6e8b60eb00f77c2721ddf0e7ea1 Mon Sep 17 00:00:00 2001
From: Vitaly Zaitsev 
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 9f3cb1744..6199641ff 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");


commit spdlog for openSUSE:Factory

2023-07-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2023-07-10 16:39:31

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.23466 (New)


Package is "spdlog"

Mon Jul 10 16:39:31 2023 rev:28 rq:1097821 version:1.12.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2023-05-22 
13:14:07.894749295 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.23466/spdlog.changes 2023-07-10 
16:39:32.218412790 +0200
@@ -1,0 +2,45 @@
+Sun Jul  9 12:02:44 UTC 2023 - Bernd Ritter 
+
+- Update to version 1.12.0
+  * Support for external fmtlib versions 10.x (#2694). Thanks @H1X4Dev and 
@mguludag.
+  * Better support for std::format (#2359, #2544, #2680, #2688). Thanks @eli-b 
, @sylveon and @bachittle.
+  * Added new qt color sink. Logs to QTextEdit widget with some nice colors.
+  * Update #include to a deprecated fmt header (#2545) .Thanks @kromain.
+  * Fixes and impovements to dup_filter_sink (#2549, #2563). Thanks @zydxhs 
and @zhuyadong.
+  * Fix unnecessary empty backtrace begin/end logs (#2568). Thanks @koldi.
+  * Fixed variable name in msvc_sink (#2573). Thanks @naddu77.
+  * Add system includes (SPDLOG_SYSTEM_INCLUDES) cmake option (#2575). Thanks 
@dpayne.
+  * Improve dequeue of the async queue (@2587, #2588 ). Thanks @alokpr.
+  * Fix tcp_client sink for FreeBSD (#2590). Thanks @segoon.
+  * Support linux/musl libc (#2589). Thanks @kraj.
+  * Support newlib C library configurations without tm_gmtoff field (#2600). 
Thanks @igrr.
+  * Fix type of event id in win_eventlog_sink (#2598). Thanks @Tagl.
+  * Fix -Wshadow warnings in spdlog::sinks::dist_sink (#2599). Thanks 
@robinlinden.
+  * Spelling corrections (#2606, #2732). Thanks @albert-github and 
@zencatalyst.
+  * Add sync() function to file_helper (#2343). Thanks @espkk.
+  * Add a trivial callback_sink (#2610). Thanks @maghorbani.
+  * Fix unexpected delimiter at start of line in to_hex formatter (#2627). 
Thanks @starsunyzl.
+  * Fix MinGW build issue on example (#2642). Thanks @zEuS0390.
+  * Add optional TID definition to the systemd sink (#2619). Thanks 
@chardin-cpi.
+  * Added apply_logger_env_levels() (#2648, #2649). Thanks @afshinpir.
+  * Support utf8 in msvc_sink (#2651). Thanks @Demonese.
+  * Better handling of utf to wchar (66407f5).
+  * Use catch v3 for tests (#2656, (#2659). Thanks @xvitaly and @seker.
+  * New kafka sink (#2655). Thanks @vbirds and @SpriteOvO.
+  * Fix os namespace in systemd_sink.h (#2668). Thanks @MyNameIsLame.
+  * Enable systemd_sink tests in linux pipeline (#2669). Thanks @MyNameIsLame.
+  * Fix stdout_sink_base::log's fflush() behaviour inconsistency (#2646). 
Thanks @25077667.
+  * Fix for missing pthread_threadid_np in macOS < 10.6 and PowerPC (#2715). 
Thanks @barracuda156.
+  * Fix ringbuffer_sink moving warning (#2722). Thanks @jamesruan.
+  * Update INSTALL doc (#2775). Thanks @7starsea.
+  * Fix warning in qt_sinks.h (#2781). Thanks @dayfixer.
+  * Remove IPv4 limitation from tcp_client (#2790). Thanks @Simon-Janos.
+  * Fix android sink when message is not loggable (#2801). Thanks @lucasrangit.
+- Removed three patches after update update to 1.12.0 includes these
+  * patch 0ca574ae168820da0268b3ec7607ca7b33024d05.patch removed
+  * patch v1.11.0_removed_brackets_for_fmt_10.diff removed
+  * patch tt4g-fix-2735.diff removed
+
+  
+
+---

Old:

  0ca574ae168820da0268b3ec7607ca7b33024d05.patch
  spdlog-1.11.0.tar.gz
  tt4g-fix-2735.diff
  v1.11.0_removed_brackets_for_fmt_10.diff

New:

  v1.12.0.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.TkOMhB/_old  2023-07-10 16:39:32.982417343 +0200
+++ /var/tmp/diff_new_pack.TkOMhB/_new  2023-07-10 16:39:32.986417367 +0200
@@ -17,20 +17,14 @@
 
 
 Name:   spdlog
-%define lname  libspdlog1_11
-%define sover  1.11
-Version:1.11.0
+%define lname  libspdlog1_12
+%define sover  1.12
+Version:1.12.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-UPSTREAM 0ca574ae168820da0268b3ec7607ca7b33024d05.patch
-Patch0: 0ca574ae168820da0268b3ec7607ca7b33024d05.patch
-# PATCH-FIX-UPSTREAM v1.11.0_removed_brackets_for_fmt_10.diff
-Patch1: v1.11.0_removed_brackets_for_fmt_10.diff
-# PATCH-FIX-UPSTREAM tt4g-fix-2735.diff
-Patch2: tt4g-fix-2735.diff
+Source0:
https://github.com/gabime/%{name}/archive/refs/tags/v%{version}.tar.gz
 Source99: 

commit spdlog for openSUSE:Factory

2023-05-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2023-05-22 13:14:05

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1533 (New)


Package is "spdlog"

Mon May 22 13:14:05 2023 rev:27 rq:1088053 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2022-11-04 
17:31:37.219750166 +0100
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1533/spdlog.changes  2023-05-22 
13:14:07.894749295 +0200
@@ -1,0 +2,8 @@
+Sat May 20 12:51:48 UTC 2023 - Bernd Ritter 
+
+- Applied three patches from upstream after update to dependency fmt 1.10 
broke test in daily_file_sink #2735
+  * patch 0ca574ae168820da0268b3ec7607ca7b33024d05.patch add support for a 
changed symbol in fmt 1.10.0
+  * patch v1.11.0_removed_brackets_for_fmt_10.diff removes duplicate brackets 
from unit tests
+  * patch tt4g-fix-2735.diff solves the failing tests due to a now redundant 
workaround
+
+---

New:

  0ca574ae168820da0268b3ec7607ca7b33024d05.patch
  tt4g-fix-2735.diff
  v1.11.0_removed_brackets_for_fmt_10.diff



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.tmaiCu/_old  2023-05-22 13:14:09.102755324 +0200
+++ /var/tmp/diff_new_pack.tmaiCu/_new  2023-05-22 13:14:09.106755344 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package spdlog
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,12 @@
 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-UPSTREAM 0ca574ae168820da0268b3ec7607ca7b33024d05.patch
+Patch0: 0ca574ae168820da0268b3ec7607ca7b33024d05.patch
+# PATCH-FIX-UPSTREAM v1.11.0_removed_brackets_for_fmt_10.diff
+Patch1: v1.11.0_removed_brackets_for_fmt_10.diff
+# PATCH-FIX-UPSTREAM tt4g-fix-2735.diff
+Patch2: tt4g-fix-2735.diff
 Source99:   baselibs.conf
 BuildRequires:  cmake >= 3.10
 %if 0%{?suse_version} > 1500

++ 0ca574ae168820da0268b3ec7607ca7b33024d05.patch ++
>From 0ca574ae168820da0268b3ec7607ca7b33024d05 Mon Sep 17 00:00:00 2001
From: H1X4 <10332146+h1x4...@users.noreply.github.com>
Date: Fri, 31 Mar 2023 20:39:32 +0300
Subject: [PATCH] fix build for master fmt (non-bundled) (#2694)

* fix build for master fmt (non-bundled)

* update fmt_runtime_string macro

* fix build of updated macro
---
 include/spdlog/common.h | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/include/spdlog/common.h b/include/spdlog/common.h
index e69201a81..5f671c5c6 100644
--- a/include/spdlog/common.h
+++ b/include/spdlog/common.h
@@ -173,12 +173,19 @@ using format_string_t = fmt::format_string;
 template
 using remove_cvref_t = typename std::remove_cv::type>::type;
 
+template 
+#if FMT_VERSION >= 90101
+using fmt_runtime_string = fmt::runtime_format_string;
+#else
+using fmt_runtime_string = fmt::basic_runtime;
+#endif
+
 // clang doesn't like SFINAE disabled constructor in std::is_convertible<> so 
have to repeat the condition from basic_format_string here,
 // in addition, fmt::basic_runtime is only convertible to 
basic_format_string but not basic_string_view
 template
 struct is_convertible_to_basic_format_string
 : std::integral_constant>::value || 
std::is_same, fmt::basic_runtime>::value>
+  std::is_convertible>::value || 
std::is_same, fmt_runtime_string>::value>
 {};
 
 #if defined(SPDLOG_WCHAR_FILENAMES) || 
defined(SPDLOG_WCHAR_TO_UTF8_SUPPORT)

++ tt4g-fix-2735.diff ++
diff --git a/include/spdlog/sinks/daily_file_sink.h 
b/include/spdlog/sinks/daily_file_sink.h
index f6f1bb1d..31516ee2 100644
--- a/include/spdlog/sinks/daily_file_sink.h
+++ b/include/spdlog/sinks/daily_file_sink.h
@@ -18,6 +18,7 @@
 #include 
 #include 
 #include 
+#include 
 
 namespace spdlog {
 namespace sinks {
@@ -48,7 +49,6 @@ struct daily_filename_format_calculator
 {
 static filename_t calc_filename(const filename_t , const tm 
_tm)
 {
-#ifdef SPDLOG_USE_STD_FORMAT
 // adapted from fmtlib: 
https://github.com/fmtlib/fmt/blob/8.0.1/include/fmt/chrono.h#L522-L546
 
 filename_t tm_format;
@@ -59,7 +59,7 @@ struct daily_filename_format_calculator
 tm_format.push_back(' ');
 
 const size_t MIN_SIZE = 10;
-filename_t buf;
+std::vector buf;
 buf.resize(MIN_SIZE);
 for (;;)
 {
@@ -73,19 +73,7 @@ struct 

commit spdlog for openSUSE:Factory

2022-11-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2022-11-04 17:31:35

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.2275 (New)


Package is "spdlog"

Fri Nov  4 17:31:35 2022 rev:26 rq:1032966 version:1.11.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2022-10-27 
13:53:39.484410110 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.2275/spdlog.changes  2022-11-04 
17:31:37.219750166 +0100
@@ -1,0 +2,40 @@
+Wed Nov  2 22:51:57 UTC 2022 - Bernd Ritter 
+
+- 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.
+
+---

Old:

  e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch
  spdlog-1.10.0.tar.gz

New:

  spdlog-1.11.0.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.4vRGcY/_old  2022-11-04 17:31:38.083754815 +0100
+++ /var/tmp/diff_new_pack.4vRGcY/_new  2022-11-04 17:31:38.091754858 +0100
@@ -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

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.4vRGcY/_old  2022-11-04 17:31:38.127755051 +0100
+++ /var/tmp/diff_new_pack.4vRGcY/_new  2022-11-04 17:31:38.131755073 +0100
@@ -1,2 +1,2 @@
-libspdlog1_10
+libspdlog1_11
 

++ spdlog-1.10.0.tar.gz -> spdlog-1.11.0.tar.gz ++
 11616 lines of diff (skipped)


commit spdlog for openSUSE:Factory

2022-10-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2022-10-27 13:53:20

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.2275 (New)


Package is "spdlog"

Thu Oct 27 13:53:20 2022 rev:25 rq:1030968 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2022-05-04 
15:10:38.464134429 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.2275/spdlog.changes  2022-10-27 
13:53:39.484410110 +0200
@@ -1,0 +2,18 @@
+Mon Oct 24 22:04:21 UTC 2022 - Jan Engelhardt 
+
+- Adjust baselibs.conf for #1199306 patch.
+- Update descriptions.
+
+---
+Thu Oct 20 20:00:13 UTC 2022 - Bernd Ritter 
+
+- Add e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch 
+  [boo#1199306]; changes SONAME to be more distinct
+
+---
+Wed Oct 19 21:16:08 UTC 2022 - Bernd Ritter 
+
+- Limit build choices on catch2-dependency to catch2 2.13.4 and
+  lower than (new) 3 
+
+---

New:

  e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.GUSZXU/_old  2022-10-27 13:53:39.940412436 +0200
+++ /var/tmp/diff_new_pack.GUSZXU/_new  2022-10-27 13:53:39.948412476 +0200
@@ -16,8 +16,9 @@
 #
 
 
-%define _sover  1
 Name:   spdlog
+%define lname  libspdlog1_10
+%define sover  1.10
 Version:1.10.0
 Release:0
 Summary:C++ logging library
@@ -25,6 +26,8 @@
 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
@@ -33,17 +36,21 @@
 %endif
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(catch2) >= 2.13.4
+BuildRequires:  (pkgconfig(catch2) >= 2.13.4 with pkgconfig(catch2) < 3)
 BuildRequires:  pkgconfig(fmt) >= 8.0.0
 BuildRequires:  pkgconfig(libsystemd)
 
 %description
-This is a packaged version of the gabime/spdlog header-only C++
-logging library available at Github.
+A header-only/compiled, C++ logging library.
+
+* Asynchronous mode (optional)
+* Multi/Single threaded loggers.
+* Various log targets (rotating/daily files, console, with colors,
+  syslog, custom target)
 
 %package devel
-Summary:Development files for %{name}
-Requires:   lib%{name}%{_sover} = %{version}
+Summary:Header files for spdlog
+Requires:   %{lname} = %{version}
 Requires:   libstdc++-devel
 Requires:   pkgconfig(fmt)
 
@@ -51,16 +58,20 @@
 The %{name}-devel package contains C++ header files for developing
 applications that use %{name}.
 
-%package -n lib%{name}%{_sover}
+%package -n %{lname}
 Summary:C++ logging library
 
-%description -n lib%{name}%{_sover}
-This is a packaged version of the gabime/spdlog C++ logging library
-available at Github.
+%description -n %{lname}
+A header-only/compiled, C++ logging library.
+
+* Asynchronous mode (optional)
+* Multi/Single threaded loggers.
+* Various log targets (rotating/daily files, console, with colors,
+  syslog, custom target)
 
 %prep
 %autosetup -p1
-find . -name '.gitignore' -exec rm {} \;
+find . -name .gitignore -delete
 sed -i -e "s,\r,," README.md LICENSE
 
 %build
@@ -80,22 +91,22 @@
 %ninja_install -C build
 
 %check
-export LD_LIBRARY_PATH="%{_builddir}/%{name}-%{version}/build"
+export LD_LIBRARY_PATH="$PWD/build"
 %ctest
 
-%post -n lib%{name}%{_sover} -p /sbin/ldconfig
+%post -n %{lname} -p /sbin/ldconfig
 
-%postun -n lib%{name}%{_sover} -p /sbin/ldconfig
+%postun -n %{lname} -p /sbin/ldconfig
 
 %files devel
 %license LICENSE
 %doc README.md
-%{_includedir}/%{name}
-%{_libdir}/lib%{name}.so
-%{_libdir}/cmake/%{name}
-%{_libdir}/pkgconfig/%{name}.pc
+%{_includedir}/spdlog/
+%{_libdir}/libspdlog.so
+%{_libdir}/cmake/spdlog/
+%{_libdir}/pkgconfig/spdlog.pc
 
-%files -n lib%{name}%{_sover}
-%{_libdir}/lib%{name}.so.%{_sover}*
+%files -n %{lname}
+%{_libdir}/libspdlog.so.*
 
 %changelog

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.GUSZXU/_old  2022-10-27 13:53:39.992412701 +0200
+++ /var/tmp/diff_new_pack.GUSZXU/_new  2022-10-27 13:53:39.996412722 +0200
@@ -1,4 +1,2 @@
-libspdlog1
-+/usr/lib(64)?/libspdlog1/.*
-requires -libspdlog1-
+libspdlog1_10
 

++ 

commit spdlog for openSUSE:Factory

2022-05-04 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2022-05-04 15:10:26

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1538 (New)


Package is "spdlog"

Wed May  4 15:10:26 2022 rev:24 rq:974295 version:1.10.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-11-08 
17:24:26.520703460 +0100
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1538/spdlog.changes  2022-05-04 
15:10:38.464134429 +0200
@@ -1,0 +2,43 @@
+Mon Apr 18 19:47:37 UTC 2022 - Bernd Ritter 
+
+- 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.
+  * Fixed issue #2201 (Pattern width is not applied for missing source 
information).
+  * Limit max number of rotating files to 20.
+  * pattern_formatter: fix reorder-ctor warning.
+  * Fixed spdlogConfig.cmake when built with SPDLOG_FMT_EXTERNAL_HO.
+  * Fixed fopen_s(..) error handling when PREVENT_CHILD_FD is defined.
+  * Fixed compiler error when building on Windows with #define UNICODE.
+  * Added option to enable formatting of systemd sink.
+  * Added optional "ident" argument to systemd sink constructor.
+  * Removed spdlog-1.9.1-use_system_catch2.patch, as it is no longer necessary 
(after consultation with Luigi Baldoni on this issue).
+
+---

Old:

  spdlog-1.9.1-use_system_catch2.patch
  spdlog-1.9.2.tar.gz

New:

  spdlog-1.10.0.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.iS3LYC/_old  2022-05-04 15:10:38.924134995 +0200
+++ /var/tmp/diff_new_pack.iS3LYC/_new  2022-05-04 15:10:38.928135000 +0200
@@ -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,16 +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 -- aloi...@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
 BuildRequires:  gcc-c++ >= 8

++ spdlog-1.9.2.tar.gz -> spdlog-1.10.0.tar.gz ++
 18251 lines of diff (skipped)


commit spdlog for openSUSE:Factory

2021-11-08 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2021-11-08 17:24:03

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1890 (New)


Package is "spdlog"

Mon Nov  8 17:24:03 2021 rev:23 rq:928823 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-08-16 
10:14:00.118924459 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1890/spdlog.changes  2021-11-08 
17:24:26.520703460 +0100
@@ -1,0 +2,5 @@
+Tue Nov  2 16:05:55 UTC 2021 - Imo Hester 
+
+- Added baselibs.conf for bi-arch support
+
+---

New:

  baselibs.conf



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.B4HNeU/_old  2021-11-08 17:24:27.016703786 +0100
+++ /var/tmp/diff_new_pack.B4HNeU/_new  2021-11-08 17:24:27.016703786 +0100
@@ -25,6 +25,7 @@
 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 -- aloi...@gmx.com
+Source99:   baselibs.conf
 Patch0: spdlog-1.9.1-use_system_catch2.patch
 BuildRequires:  benchmark-devel >= 1.4.0
 BuildRequires:  cmake >= 3.10

++ baselibs.conf ++
libspdlog1
+/usr/lib(64)?/libspdlog1/.*
requires -libspdlog1-


commit spdlog for openSUSE:Factory

2021-08-16 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2021-08-16 10:09:03

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1899 (New)


Package is "spdlog"

Mon Aug 16 10:09:03 2021 rev:22 rq:911919 version:1.9.2

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-08-11 
11:47:17.497741126 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1899/spdlog.changes  2021-08-16 
10:14:00.118924459 +0200
@@ -1,0 +2,18 @@
+Fri Aug 13 06:18:26 UTC 2021 - Luigi Baldoni 
+
+- Update to version 1.9.2
+  * Fixed clang compiler errors when using spdlog in c++20.
+  * Fixed the Qt sinks to accurately trim the newline chars.
+  * Improved and simplified Qt sinks implementation.
+  * Fixed macro SPDLOG_LEVEL_NAME_xxx to always translate to the
+spdlog namespace.
+  * Fixed typo in readme.
+  * Fixed the MongoDB sink compilation in c++11.
+  * Fixed double include of same file in thread_pool.h .
+  * Ensure that the CMake exported package is relocatable.
+  * Remove std::distance usage for possible performance gain.
+  * Support of inclusion of bin_to_hex.h in any order with
+spdlog.h.
+  * Fixed install instructions for "header only" dir.
+
+---

Old:

  spdlog-1.9.1.tar.gz

New:

  spdlog-1.9.2.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.K5Uubj/_old  2021-08-16 10:14:00.570923882 +0200
+++ /var/tmp/diff_new_pack.K5Uubj/_new  2021-08-16 10:14:00.574923877 +0200
@@ -18,7 +18,7 @@
 
 %define _sover  1
 Name:   spdlog
-Version:1.9.1
+Version:1.9.2
 Release:0
 Summary:C++ logging library
 License:MIT

++ spdlog-1.9.1.tar.gz -> spdlog-1.9.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.1/.travis.yml new/spdlog-1.9.2/.travis.yml
--- old/spdlog-1.9.1/.travis.yml2021-07-27 11:26:34.0 +0200
+++ new/spdlog-1.9.2/.travis.yml2021-08-12 13:10:50.0 +0200
@@ -29,6 +29,14 @@
   - g++-9
 sources:
   - ubuntu-toolchain-r-test
+  
+# gcc 11.0
+addons: 
+  apt:
+packages:
+  - g++-11
+sources:
+  - ubuntu-toolchain-r-test
 
 
 # Clang 3.5
@@ -74,11 +82,17 @@
   os: linux
   addons: *gcc7
   
- # Test gcc-9: C++17, Build=Release
+# Test gcc-9: C++17, Build=Release
 - env: GCC_VERSION=9 BUILD_TYPE=Release CPP=17
   os: linux
   addons: *gcc9
 
+# Test gcc-11.0: C++20, Build=Debug
+- env: GCC_VERSION=11 BUILD_TYPE=Debug CPP=20 ASAN=Off
+  os: linux
+  dist: bionic
+  addons: *gcc11
+  
 # Test clang-3.5: C++11, Build=Release
 - env: CLANG_VERSION=3.5 BUILD_TYPE=Release CPP=11
   os: linux
@@ -106,8 +120,8 @@
   os: linux
   dist: bionic
   addons: *clang12
+  
 
-
 before_script:
   - if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" 
CC="gcc-${GCC_VERSION}"; fi
   - if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" 
CC="clang-${CLANG_VERSION}"; fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.1/CMakeLists.txt 
new/spdlog-1.9.2/CMakeLists.txt
--- old/spdlog-1.9.1/CMakeLists.txt 2021-07-27 11:26:34.0 +0200
+++ new/spdlog-1.9.2/CMakeLists.txt 2021-08-12 13:10:50.0 +0200
@@ -307,7 +307,8 @@
 install(EXPORT spdlog DESTINATION ${export_dest_dir} NAMESPACE spdlog:: 
FILE ${config_targets_file})
 
 include(CMakePackageConfigHelpers)
-configure_file("${project_config_in}" "${project_config_out}" @ONLY)
+configure_package_config_file("${project_config_in}" 
"${project_config_out}"
+INSTALL_DESTINATION ${export_dest_dir})
 
 write_basic_package_version_file("${version_config_file}" COMPATIBILITY 
SameMajorVersion)
 install(FILES "${project_config_out}" "${version_config_file}" DESTINATION 
"${export_dest_dir}")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.1/README.md new/spdlog-1.9.2/README.md
--- old/spdlog-1.9.1/README.md  2021-07-27 11:26:34.0 +0200
+++ new/spdlog-1.9.2/README.md  2021-08-12 13:10:50.0 +0200
@@ -4,7 +4,7 @@
 
 ## Install 
  Header only version
-Copy the source 
[folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your 
build tree and use a C++11 compiler.
+Copy the include 
[folder](https://github.com/gabime/spdlog/tree/v1.x/include/spdlog) to your 
build tree and use a C++11 compiler.
 
 

commit spdlog for openSUSE:Factory

2021-08-11 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2021-08-11 11:47:05

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1899 (New)


Package is "spdlog"

Wed Aug 11 11:47:05 2021 rev:21 rq:910461 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-07-28 
19:19:58.359640823 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1899/spdlog.changes  2021-08-11 
11:47:17.497741126 +0200
@@ -1,0 +2,5 @@
+Fri Aug  6 09:42:32 UTC 2021 - Luigi Baldoni 
+
+- Add spdlog-1.9.1-use_system_catch2.patch (fixes boo#1189103)
+
+---

New:

  spdlog-1.9.1-use_system_catch2.patch



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.wJVMyW/_old  2021-08-11 11:47:19.373738869 +0200
+++ /var/tmp/diff_new_pack.wJVMyW/_new  2021-08-11 11:47:19.373738869 +0200
@@ -24,6 +24,8 @@
 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 -- aloi...@gmx.com
+Patch0: spdlog-1.9.1-use_system_catch2.patch
 BuildRequires:  benchmark-devel >= 1.4.0
 BuildRequires:  cmake >= 3.10
 %if 0%{?suse_version} > 1500
@@ -33,6 +35,7 @@
 %endif
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(catch2) >= 2.13.4
 BuildRequires:  pkgconfig(fmt) >= 8.0.0
 BuildRequires:  pkgconfig(libsystemd)
 

++ spdlog-1.9.1-use_system_catch2.patch ++
Index: spdlog-1.9.1/tests/includes.h
===
--- spdlog-1.9.1.orig/tests/includes.h
+++ spdlog-1.9.1/tests/includes.h
@@ -1,6 +1,6 @@
 #pragma once
 
-#include "catch.hpp"
+#include 
 #include "utils.h"
 #include 
 #include 
@@ -23,4 +23,4 @@
 #include "spdlog/sinks/ostream_sink.h"
 #include "spdlog/sinks/rotating_file_sink.h"
 #include "spdlog/sinks/stdout_color_sinks.h"
-#include "spdlog/pattern_formatter.h"
\ No newline at end of file
+#include "spdlog/pattern_formatter.h"
Index: spdlog-1.9.1/tests/main.cpp
===
--- spdlog-1.9.1.orig/tests/main.cpp
+++ spdlog-1.9.1/tests/main.cpp
@@ -1,2 +1,2 @@
 #define CATCH_CONFIG_MAIN
-#include "catch.hpp"
\ No newline at end of file
+#include 
Index: spdlog-1.9.1/tests/CMakeLists.txt
===
--- spdlog-1.9.1.orig/tests/CMakeLists.txt
+++ spdlog-1.9.1/tests/CMakeLists.txt
@@ -10,7 +10,7 @@ include(../cmake/utils.cmake)
 
 find_package(PkgConfig)
 if(PkgConfig_FOUND)
-pkg_check_modules(systemd libsystemd)
+pkg_check_modules(systemd libsystemd catch2>=2.13.4)
 endif()
 
 set(SPDLOG_UTESTS_SOURCES


commit spdlog for openSUSE:Factory

2021-07-28 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2021-07-28 19:19:35

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1899 (New)


Package is "spdlog"

Wed Jul 28 19:19:35 2021 rev:20 rq:908612 version:1.9.1

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-07-22 
22:43:19.383202728 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1899/spdlog.changes  2021-07-28 
19:19:58.359640823 +0200
@@ -1,0 +2,9 @@
+Tue Jul 27 13:31:38 UTC 2021 - Luigi Baldoni 
+
+- Update to version 1.9.1
+  * Support for {fmt}'s compile time validation of format strings.
+  * In C++14/17 - format string can be validated at compile time
+using FMT_STRING.
+  * Fixed compilation error in Clang 13 with C++20.
+
+---

Old:

  spdlog-1.9.0.tar.gz

New:

  spdlog-1.9.1.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.VNGJET/_old  2021-07-28 19:19:59.531639286 +0200
+++ /var/tmp/diff_new_pack.VNGJET/_new  2021-07-28 19:19:59.535639281 +0200
@@ -18,7 +18,7 @@
 
 %define _sover  1
 Name:   spdlog
-Version:1.9.0
+Version:1.9.1
 Release:0
 Summary:C++ logging library
 License:MIT

++ spdlog-1.9.0.tar.gz -> spdlog-1.9.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.0/.travis.yml new/spdlog-1.9.1/.travis.yml
--- old/spdlog-1.9.0/.travis.yml2021-07-20 22:01:34.0 +0200
+++ new/spdlog-1.9.1/.travis.yml2021-07-27 11:26:34.0 +0200
@@ -50,6 +50,16 @@
 sources:
   - sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-10 
main"
 key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key;
+
+addons: 
+  apt:
+packages:
+  - clang-12
+  - lldb-12
+  - lld-12
+sources:
+  - sourceline: "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-12 
main"
+key_url: "https://apt.llvm.org/llvm-snapshot.gpg.key;
 
 
 matrix:
@@ -89,8 +99,14 @@
   os: linux
   dist: bionic
   addons: *clang10
+  
 
-
+# Test clang-12.0: C++17, Build=Debug
+- env: CLANG_VERSION=12 BUILD_TYPE=Debug CPP=17 ASAN=Off
+  os: linux
+  dist: bionic
+  addons: *clang12
+
 
 before_script:
   - if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" 
CC="gcc-${GCC_VERSION}"; fi
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.0/example/example.cpp 
new/spdlog-1.9.1/example/example.cpp
--- old/spdlog-1.9.0/example/example.cpp2021-07-20 22:01:34.0 
+0200
+++ new/spdlog-1.9.1/example/example.cpp2021-07-27 11:26:34.0 
+0200
@@ -22,7 +22,8 @@
 void custom_flags_example();
 
 #include "spdlog/spdlog.h"
-#include "spdlog/cfg/env.h" // support for loading levels from the environment 
variable
+#include "spdlog/cfg/env.h"  // support for loading levels from the 
environment variable
+#include "spdlog/fmt/ostr.h" // support for user defined types
 
 int main(int, char *[])
 {
@@ -221,7 +222,6 @@
 }
 
 // User defined types logging by implementing operator<<
-#include "spdlog/fmt/ostr.h" // must be included
 struct my_type
 {
 int i;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.0/include/spdlog/common.h 
new/spdlog-1.9.1/include/spdlog/common.h
--- old/spdlog-1.9.0/include/spdlog/common.h2021-07-20 22:01:34.0 
+0200
+++ new/spdlog-1.9.1/include/spdlog/common.h2021-07-27 11:26:34.0 
+0200
@@ -123,13 +123,24 @@
 template
 struct is_convertible_to_wstring_view : std::is_convertible
 {};
+template
+struct is_convertible_to_wformat_string : std::is_convertible>
+{};
 #endif // _WIN32
 #else
 template
 struct is_convertible_to_wstring_view : std::false_type
 {};
+template
+struct is_convertible_to_wformat_string : std::false_type
+{};
 #endif // SPDLOG_WCHAR_TO_UTF8_SUPPORT
 
+template
+struct is_convertible_to_basic_format_string
+: std::integral_constant>::value || is_convertible_to_wformat_string::value>
+{};
+
 #if defined(SPDLOG_NO_ATOMIC_LEVELS)
 using level_t = details::null_atomic_int;
 #else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spdlog-1.9.0/include/spdlog/details/fmt_helper.h 
new/spdlog-1.9.1/include/spdlog/details/fmt_helper.h
--- old/spdlog-1.9.0/include/spdlog/details/fmt_helper.h2021-07-20 
22:01:34.0 +0200
+++ 

commit spdlog for openSUSE:Factory

2021-07-22 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2021-07-22 22:42:51

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.1899 (New)


Package is "spdlog"

Thu Jul 22 22:42:51 2021 rev:19 rq:907417 version:1.9.0

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-07-10 
22:54:26.475786899 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.1899/spdlog.changes  2021-07-22 
22:43:19.383202728 +0200
@@ -1,0 +2,25 @@
+Wed Jul 21 06:42:27 UTC 2021 - Luigi Baldoni 
+
+- Update to version 1.9.0
+  What's new:
+  * Support for {fmt} lib version 8.x.
+  * New MongoDB sink.
+  * New QTextEdit and QPlainTextEdit sinks.
+  Fixes and Improvements:
+  * Made mutex member variable mutable.
+  * Changed c-style casts to reinterpret casts in tcp_client.
+  * Rethrnow non std exceptions.
+  * Small code improvement (std::find).
+  * Added support for CMake policy CMP0077.
+  * Allow compilation with nvc++ (and possibly PGI).
+  * Fixed C++20 build resulting in deprecated implicit copy
+assignment operator warning.
+  * Use std::function for the global error handler.
+  * Fixed dup sink compile warnings in older compilers with
+back_inserter.
+  * Added a color-terminal type to the color terminals list - to
+show colors in in RISC-V64 machines.
+- Drop spdlog-1.8.5-fmt8.patch and spdlog-1.8.5-fmt8_tests.patch
+  (merged upstream)
+
+---

Old:

  spdlog-1.8.5-fmt8.patch
  spdlog-1.8.5-fmt8_tests.patch
  spdlog-1.8.5.tar.gz

New:

  spdlog-1.9.0.tar.gz



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.jpKH8U/_old  2021-07-22 22:43:19.879202082 +0200
+++ /var/tmp/diff_new_pack.jpKH8U/_new  2021-07-22 22:43:19.883202076 +0200
@@ -18,16 +18,12 @@
 
 %define _sover  1
 Name:   spdlog
-Version:1.8.5
+Version:1.9.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-UPSTREAM spdlog-1.8.5-fmt8.patch
-Patch0: spdlog-1.8.5-fmt8.patch
-# PATCH-FIX-UPSTREAM spdlog-1.8.5-fmt8_tests.patch
-Patch1: spdlog-1.8.5-fmt8_tests.patch
 BuildRequires:  benchmark-devel >= 1.4.0
 BuildRequires:  cmake >= 3.10
 %if 0%{?suse_version} > 1500

++ spdlog-1.8.5.tar.gz -> spdlog-1.9.0.tar.gz ++
 17525 lines of diff (skipped)


commit spdlog for openSUSE:Factory

2021-07-10 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spdlog for openSUSE:Factory checked 
in at 2021-07-10 22:54:10

Comparing /work/SRC/openSUSE:Factory/spdlog (Old)
 and  /work/SRC/openSUSE:Factory/.spdlog.new.2625 (New)


Package is "spdlog"

Sat Jul 10 22:54:10 2021 rev:18 rq:902203 version:1.8.5

Changes:

--- /work/SRC/openSUSE:Factory/spdlog/spdlog.changes2021-04-06 
17:30:33.043175961 +0200
+++ /work/SRC/openSUSE:Factory/.spdlog.new.2625/spdlog.changes  2021-07-10 
22:54:26.475786899 +0200
@@ -1,0 +2,6 @@
+Thu Jun 24 16:26:12 UTC 2021 - Luigi Baldoni 
+
+- Add spdlog-1.8.5-fmt8.patch and spdlog-1.8.5-fmt8_tests.patch
+  to fix compatibility with fmt 8
+
+---

New:

  spdlog-1.8.5-fmt8.patch
  spdlog-1.8.5-fmt8_tests.patch



Other differences:
--
++ spdlog.spec ++
--- /var/tmp/diff_new_pack.pNREij/_old  2021-07-10 22:54:27.071782299 +0200
+++ /var/tmp/diff_new_pack.pNREij/_new  2021-07-10 22:54:27.075782268 +0200
@@ -24,9 +24,12 @@
 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-UPSTREAM spdlog-1.8.5-fmt8.patch
+Patch0: spdlog-1.8.5-fmt8.patch
+# PATCH-FIX-UPSTREAM spdlog-1.8.5-fmt8_tests.patch
+Patch1: spdlog-1.8.5-fmt8_tests.patch
 BuildRequires:  benchmark-devel >= 1.4.0
 BuildRequires:  cmake >= 3.10
-BuildRequires:  gcc
 %if 0%{?suse_version} > 1500
 BuildRequires:  gcc-c++ >= 8
 %else
@@ -34,7 +37,7 @@
 %endif
 BuildRequires:  ninja
 BuildRequires:  pkgconfig
-BuildRequires:  pkgconfig(fmt)
+BuildRequires:  pkgconfig(fmt) >= 8.0.0
 BuildRequires:  pkgconfig(libsystemd)
 
 %description

++ spdlog-1.8.5-fmt8.patch ++
>From 8bf718671a9eac5517c27a5ffe72089b7f426d8c Mon Sep 17 00:00:00 2001
From: gabime 
Date: Thu, 24 Jun 2021 13:22:02 +0300
Subject: [PATCH] Update fmt version 8.0

diff --git a/include/spdlog/common-inl.h b/include/spdlog/common-inl.h
index c3e992224..5fa4e5d95 100644
--- a/include/spdlog/common-inl.h
+++ b/include/spdlog/common-inl.h
@@ -56,7 +56,7 @@ SPDLOG_INLINE spdlog_ex::spdlog_ex(std::string msg)
 SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string , int last_errno)
 {
 memory_buf_t outbuf;
-fmt::format_system_error(outbuf, last_errno, msg);
+fmt::format_system_error(outbuf, last_errno, msg.c_str());
 msg_ = fmt::to_string(outbuf);
 }

diff --git a/src/fmt.cpp b/src/fmt.cpp
index 9e91beb17..edd52dd55 100644
--- a/src/fmt.cpp
+++ b/src/fmt.cpp
@@ -10,94 +10,58 @@
 #include 
 
 
+
 FMT_BEGIN_NAMESPACE
 namespace detail {
 
-template 
-int format_float(char* buf, std::size_t size, const char* format, int 
precision,
- T value) {
-#ifdef FMT_FUZZ
-  if (precision > 10)
-throw std::runtime_error(
-"fuzz mode - avoid large allocation inside snprintf");
-#endif
-  // Suppress the warning about nonliteral format string.
-  int (*snprintf_ptr)(char*, size_t, const char*, ...) = FMT_SNPRINTF;
-  return precision < 0 ? snprintf_ptr(buf, size, format, value)
-   : snprintf_ptr(buf, size, format, precision, value);
+template
+int format_float(char *buf, std::size_t size, const char *format, int 
precision, T value)
+{
+#ifdef FMT_FUZZ
+if (precision > 10)
+throw std::runtime_error("fuzz mode - avoid large allocation inside 
snprintf");
+#endif
+// Suppress the warning about nonliteral format string.
+int (*snprintf_ptr)(char *, size_t, const char *, ...) = FMT_SNPRINTF;
+return precision < 0 ? snprintf_ptr(buf, size, format, value) : 
snprintf_ptr(buf, size, format, precision, value);
 }
 
-template FMT_API dragonbox::decimal_fp dragonbox::to_decimal(float x)
-FMT_NOEXCEPT;
-template FMT_API dragonbox::decimal_fp dragonbox::to_decimal(double x)
-FMT_NOEXCEPT;
-
-// DEPRECATED! This function exists for ABI compatibility.
-template 
-typename basic_format_context>,
-  Char>::iterator
-vformat_to(buffer& buf, basic_string_view format_str,
-   basic_format_args>>,
-   type_identity_t>>
-   args) {
-  using iterator = std::back_insert_iterator>;
-  using context = basic_format_context<
-  std::back_insert_iterator>>,
-  type_identity_t>;
-  auto out = iterator(buf);
-  format_handler h(out, format_str, args, {});
-  parse_format_string(format_str, h);
-  return out;
-}
-template basic_format_context>,
-  char>::iterator
-vformat_to(buffer&, string_view,
-   basic_format_args>>,
-   type_identity_t>>);
-}  // namespace detail
-
-template