From 453d5e698688939dec342702ddddaa98ef6f8787 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Mon, 3 Aug 2020 10:01:49 -0600 Subject: [PATCH] Fix out-of-source build on F33 (bug #1863317) --- cereal.spec | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/cereal.spec b/cereal.spec index 4202feb..5da5af4 100644 --- a/cereal.spec +++ b/cereal.spec @@ -6,7 +6,7 @@ Name: cereal Version: 1.3.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A header-only C++11 serialization library License: BSD Url: http://uscilab.github.io/cereal/ @@ -14,7 +14,7 @@ Source0: https://github.com/USCiLab/cereal/archive/v%{version}.tar.gz#/%{ BuildRequires: gcc-c++ BuildRequires: boost-devel -BuildRequires: cmake3 >= 3.0 +BuildRequires: cmake >= 3.0 %description cereal is a header-only C++11 serialization library. cereal takes arbitrary @@ -40,16 +40,14 @@ This package contains development headers and libraries for the cereal library %setup -q %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake3} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF -%make_build +%{cmake} .. -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF +%cmake_build %install -%make_install -C %{_target_platform} +%cmake_install %check -make -C %{_target_platform} test +%ctest %files devel %doc README.md @@ -59,6 +57,9 @@ make -C %{_target_platform} test %{_datadir}/cmake/%{name} %changelog +* Mon Aug 03 2020 Christoph Junghans - 1.3.0-5 +- Fix out-of-source build on F33 (bug #1863317) + * Sat Aug 01 2020 Fedora Release Engineering - 1.3.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild