forked from pool/spdlog
Accepting request 1187333 from devel:libraries:c_c++
- added rpm group - Factory has libfmt 11 now, updated pkgconfig - 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). OBS-URL: https://build.opensuse.org/request/show/1187333 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=37
This commit is contained in:
commit
078a80e61c
@ -1,9 +1,26 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 13 18:36:24 UTC 2024 - Bernd Ritter <comrad@opensuse.org>
|
||||
|
||||
- added rpm group
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 13 18:29:13 UTC 2024 - Bernd Ritter <comrad@opensuse.org>
|
||||
|
||||
- Factory has libfmt 11 now, updated pkgconfig
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 13 12:35:46 UTC 2024 - Bernd Ritter <comrad@opensuse.org>
|
||||
|
||||
- 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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 11 07:47:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- fix build for leap by pulling gcc 13
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
||||
Fri May 3 15:11:30 UTC 2024 - Bernd Ritter <comrad@opensuse.org>
|
||||
|
||||
- update fmt dependency to verrsion 10.0
|
||||
|
@ -23,11 +23,10 @@ Version: 1.14.1
|
||||
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: gcc13-c++
|
||||
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 @@ v="$PWD/spdlog.sym"
|
||||
-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" \
|
||||
..
|
||||
|
Loading…
Reference in New Issue
Block a user