fix(tests): carry patch from upstream and enable all tests
This commit is contained in:
parent
381af8bf40
commit
f2bb39fe87
@ -37,7 +37,7 @@ Feature support:
|
||||
|
||||
Name: highfive
|
||||
Version: 2.2.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Header-only C++ HDF5 interface
|
||||
|
||||
License: Boost
|
||||
@ -45,6 +45,8 @@ URL: https://bluebrain.github.io/HighFive/
|
||||
Source0: https://github.com/BlueBrain/HighFive/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
# Do not use std::move in return
|
||||
Patch0: 0001-Use-std-move-in-NRVO-depending-of-version-of-GCC-375.patch
|
||||
# Should fix test failure: https://github.com/BlueBrain/HighFive/issues/444
|
||||
Patch1: https://github.com/BlueBrain/HighFive/commit/be32be0ba2c8ba0b5d43726835abb0bf83cc2120.patch
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: cmake
|
||||
@ -113,8 +115,7 @@ rm -rvf $RPM_BUILD_ROOT/%{_datadir}/%{pretty_name}
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
# Test fails, reported upstream: https://github.com/BlueBrain/HighFive/issues/444
|
||||
%ctest "-j1" "-E" "tests_high_five_base"
|
||||
%ctest
|
||||
%endif
|
||||
|
||||
%files devel
|
||||
@ -130,6 +131,9 @@ rm -rvf $RPM_BUILD_ROOT/%{_datadir}/%{pretty_name}
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Mon Apr 19 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.2.2-2
|
||||
- Carry patch to fix failing test: https://github.com/BlueBrain/HighFive/issues/444
|
||||
|
||||
* Sun Apr 18 2021 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 2.2.2-1
|
||||
- Enable doc build
|
||||
- include complete doc package in conditional
|
||||
|
Loading…
Reference in New Issue
Block a user