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:
commit
94fade49a4
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
@ -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/\..*//')
|
||||
|
Loading…
Reference in New Issue
Block a user