SHA256
1
0
forked from pool/spdlog

Accepting request 1179915 from devel:libraries:c_c++

- fix build for leap by pulling gcc 13

- update fmt dependency to verrsion 10.0

OBS-URL: https://build.opensuse.org/request/show/1179915
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/spdlog?expand=0&rev=36
This commit is contained in:
Ana Guerrero 2024-06-11 16:27:05 +00:00 committed by Git OBS Bridge
commit 94fade49a4
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/\..*//')