Fixed FTBFS due to catch v3 update.

This commit is contained in:
Vitaly Zaitsev 2023-02-28 11:45:59 +01:00
parent 6493c6dbdc
commit f3047916d4
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A
1 changed files with 11 additions and 2 deletions

View File

@ -1,13 +1,12 @@
Name: spdlog
Version: 1.11.0
Release: 2%{?dist}
Release: 3%{?dist}
License: MIT
Summary: Super fast C++ logging library
URL: https://github.com/gabime/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: catch-devel >= 2.8.0
BuildRequires: cmake
BuildRequires: fmt-devel >= 8.1.1
BuildRequires: gcc
@ -15,6 +14,13 @@ BuildRequires: gcc-c++
BuildRequires: google-benchmark-devel
BuildRequires: ninja-build
# spdlog currently support only catch v2
%if 0%{?fedora} && 0%{?fedora} >= 38
BuildRequires: catch2-devel >= 2.8.0
%else
BuildRequires: catch-devel >= 2.8.0
%endif
%description
This is a packaged version of the gabime/spdlog C++ logging
library available at Github.
@ -66,6 +72,9 @@ ln -svf %{_includedir}/catch2/catch.hpp ./tests/catch.hpp
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Tue Feb 28 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1.11.0-3
- Fixed FTBFS due to catch v3 update.
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild