From 8748a9ac9d4b24394604a42c44cd17b3dc4463ae Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Fri, 17 Sep 2021 11:59:33 -0600 Subject: [PATCH] fix build on rawhide (bug #1987402) by updating bundled doctest.h --- .gitignore | 1 + cereal.spec | 7 ++++++- sources | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e84a199..cacc82e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /cereal-1.2.1.tar.gz /cereal-1.2.2.tar.gz /cereal-1.3.0.tar.gz +/doctest.h diff --git a/cereal.spec b/cereal.spec index 2551745..86c8257 100644 --- a/cereal.spec +++ b/cereal.spec @@ -4,11 +4,12 @@ Name: cereal Version: 1.3.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A header-only C++11 serialization library License: BSD Url: http://uscilab.github.io/cereal/ Source0: https://github.com/USCiLab/cereal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: https://raw.githubusercontent.com/onqtam/doctest/2.4.6/doctest/doctest.h BuildRequires: gcc-c++ BuildRequires: boost-devel @@ -36,6 +37,7 @@ This package contains development headers and libraries for the cereal library %prep %setup -q +cp -v %{S:1} unittests %build %{cmake} -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF @@ -55,6 +57,9 @@ This package contains development headers and libraries for the cereal library %{_datadir}/cmake/%{name} %changelog +* Fri Sep 17 2021 Christoph Junghans - 1.3.0-9 +- fix build on rawhide (bug #1987402) by updating bundled doctest.h + * Wed Jul 21 2021 Fedora Release Engineering - 1.3.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index f0fa434..596a6d8 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ +SHA512 (doctest.h) = 9454647354b0ddfbc745a7bab8b45ac3efdd99d55778aef067a8ffbce9312e66c8a7be7dab4711966b2e9f9dc5a77a93203921e69201b63282ad6bd78d27e9c5 SHA512 (cereal-1.3.0.tar.gz) = 2bb640a222d4efe7c624c6ec3e755fecae00ef59e91c4db462e233546c5afe73c065ba1d16d9600f7cd3cc185593109148008b0b2b870208e2f1d6984fd40c72