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.changes    2022-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 <jeng...@inai.de>
+
+- Adjust baselibs.conf for #1199306 patch.
+- Update descriptions.
+
+-------------------------------------------------------------------
+Thu Oct 20 20:00:13 UTC 2022 - Bernd Ritter <com...@posteo.de>
+
+- Add e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch 
+  [boo#1199306]; changes SONAME to be more distinct
+
+-------------------------------------------------------------------
+Wed Oct 19 21:16:08 UTC 2022 - Bernd Ritter <com...@posteo.de>
+
+- 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-<targettype>
+libspdlog1_10
 

++++++ e36b69a0ecbdfb51cc28087b11256fb88c360ba4.patch ++++++
>From 41efc971addb0596de50337863f01491a9fba2a5 Mon Sep 17 00:00:00 2001
From: Jan Engelhardt <jeng...@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)

Reply via email to