Use packaged version of catch for the tests.
This commit is contained in:
parent
cd1732582b
commit
72db46db6d
10
spdlog.spec
10
spdlog.spec
@ -8,12 +8,13 @@ License: MIT
|
||||
URL: https://github.com/gabime/%{name}
|
||||
Source0: %{url}/archive/v%{version}.tar.gz
|
||||
|
||||
BuildRequires: google-benchmark-devel
|
||||
BuildRequires: fmt-devel >= 7.0.0
|
||||
BuildRequires: ninja-build
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: catch-devel >= 2.8.0
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fmt-devel >= 7.0.0
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gcc
|
||||
BuildRequires: google-benchmark-devel
|
||||
BuildRequires: ninja-build
|
||||
|
||||
%description
|
||||
This is a packaged version of the gabime/spdlog C++ logging
|
||||
@ -33,6 +34,7 @@ applications that use %{name}.
|
||||
%autosetup -p1
|
||||
find . -name '.gitignore' -delete
|
||||
sed -i -e "s,\r,," README.md
|
||||
ln -svf %{_includedir}/catch2/catch.hpp ./tests/catch.hpp
|
||||
|
||||
%build
|
||||
%cmake -G Ninja \
|
||||
|
Loading…
Reference in New Issue
Block a user