Accepting request 754135 from home:alois:branches:devel:libraries:c_c++

fix build with fmt 6.1.0

OBS-URL: https://build.opensuse.org/request/show/754135
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/spdlog?expand=0&rev=26
This commit is contained in:
2019-12-04 20:53:08 +00:00
committed by Git OBS Bridge
parent 722c77b1c2
commit 7e4a4bf82c
3 changed files with 56 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ License: MIT
Group: Development/Languages/C and C++
URL: https://github.com/gabime/spdlog
Source0: https://github.com/gabime/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM spdlog-fmt_610.patch
Patch0: spdlog-fmt_610.patch
BuildRequires: benchmark-devel >= 1.4.0
BuildRequires: cmake
BuildRequires: gcc
@@ -62,7 +64,7 @@ This is a packaged version of the gabime/spdlog C++ logging library
available at Github.
%prep
%autosetup
%autosetup -p1
find . -name '.gitignore' -exec rm {} \;
sed -i -e "s,\r,," README.md LICENSE