SHA256
1
0
forked from pool/spdlog

- fix build for leap by pulling gcc 13

- update fmt dependency to verrsion 10.0

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=104
This commit is contained in:
Dirk Mueller 2024-06-11 07:48:06 +00:00 committed by Git OBS Bridge
parent e685cb55cf
commit 35c2a71937
2 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,12 @@
-------------------------------------------------------------------
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
- update fmt dependency to verrsion 10.0
-------------------------------------------------------------------
Fri May 3 14:27:01 UTC 2024 - Bernd Ritter <comrad@opensuse.org>

View File

@ -30,9 +30,9 @@ Source99: baselibs.conf
#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 @@ sed -i -e "s,\r,," README.md LICENSE
%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/\..*//')