Fixed FTBFS in EPEL/ELN due to catch v3 update.

This commit is contained in:
Vitaly Zaitsev 2023-02-28 12:07:35 +01:00
parent f3047916d4
commit a9c749ba6d
No known key found for this signature in database
GPG Key ID: BF99FC6DD45AB90A
1 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Name: spdlog
Version: 1.11.0
Release: 3%{?dist}
Release: 4%{?dist}
License: MIT
Summary: Super fast C++ logging library
@ -15,7 +15,7 @@ BuildRequires: google-benchmark-devel
BuildRequires: ninja-build
# spdlog currently support only catch v2
%if 0%{?fedora} && 0%{?fedora} >= 38
%if 0%{?fedora} >= 38 || 0%{?rhel} >= 10
BuildRequires: catch2-devel >= 2.8.0
%else
BuildRequires: catch-devel >= 2.8.0
@ -72,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-4
- Fixed FTBFS in EPEL/ELN due to catch v3 update.
* Tue Feb 28 2023 Vitaly Zaitsev <vitaly@easycoding.org> - 1.11.0-3
- Fixed FTBFS due to catch v3 update.