Hello community, here is the log from the commit of package cereal for openSUSE:Factory checked in at 2017-03-02 19:25:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cereal (Old) and /work/SRC/openSUSE:Factory/.cereal.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "cereal" Thu Mar 2 19:25:26 2017 rev:3 rq:457587 version:1.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/cereal/cereal.changes 2017-02-03 17:34:06.855161816 +0100 +++ /work/SRC/openSUSE:Factory/.cereal.new/cereal.changes 2017-03-02 19:25:27.412487780 +0100 @@ -1,0 +2,11 @@ +Thu Feb 16 01:00:45 UTC 2017 - junghans@votca.org + +- added 8b8f5814e292e03bb5b07333a0e634ef0481c85b.patch from upsteam + to fix unstable test + +------------------------------------------------------------------- +Wed Feb 15 16:48:34 UTC 2017 - junghans@votca.org + +- update to version 1.2.2 + +------------------------------------------------------------------- Old: ---- cereal-1.2.1.tar.gz New: ---- 8b8f5814e292e03bb5b07333a0e634ef0481c85b.patch cereal-1.2.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cereal.spec ++++++ --- /var/tmp/diff_new_pack.eJO0xb/_old 2017-03-02 19:25:28.108389345 +0100 +++ /var/tmp/diff_new_pack.eJO0xb/_new 2017-03-02 19:25:28.108389345 +0100 @@ -18,13 +18,16 @@ Name: cereal -Version: 1.2.1 +Version: 1.2.2 Release: 0 Summary: A header-only C++11 serialization library License: BSD-3-Clause Group: Development/Libraries/C and C++ Url: http://uscilab.github.io/cereal/ Source0: https://github.com/USCiLab/cereal/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +# https://github.com/USCiLab/cereal/issues/338 +# PATCH-FIX-UPSTREAM - 8b8f5814e292e03bb5b07333a0e634ef0481c85b.patch - fix unstable test +Patch0: https://github.com/USCiLab/cereal/commit/8b8f5814e292e03bb5b07333a0e634ef048... BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -60,20 +63,17 @@ %prep %setup -q -#https://github.com/USCiLab/cereal/pull/337 -sed -i 's/-Werror//' CMakeLists.txt +%patch0 -p1 %build -%{cmake} -DSKIP_PORTABILITY_TEST=ON +%{cmake} -DSKIP_PORTABILITY_TEST=ON -DWITH_WERROR=OFF make %{?_smp_mflags} %install make -C build install DESTDIR=%{buildroot} %check -#test_portable_binary_archive is broken -#https://github.com/USCiLab/cereal/issues/338 -make -C build test ARGS="-V -E test_portable_binary_archive" +make -C build test %files devel %defattr(-,root,root,-) ++++++ 8b8f5814e292e03bb5b07333a0e634ef0481c85b.patch ++++++
From 8b8f5814e292e03bb5b07333a0e634ef0481c85b Mon Sep 17 00:00:00 2001 From: Shane Grant <w.shane.grant@gmail.com> Date: Wed, 15 Feb 2017 13:39:42 -0800 Subject: [PATCH] Fix macro for double comparison in unit test relates #338
--- unittests/portable_binary_archive.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/portable_binary_archive.hpp b/unittests/portable_binary_archive.hpp index b74c4f9..d1ea190 100644 --- a/unittests/portable_binary_archive.hpp +++ b/unittests/portable_binary_archive.hpp @@ -63,7 +63,7 @@ inline void swapBytes( T & t ) CHECK_EQ(i_uint64 , o_uint64); \ CHECK_EQ(i_int64 , o_int64); \ if( !std::isnan(i_float) && !std::isnan(o_float) ) CHECK_EQ(i_float , doctest::Approx(o_float).epsilon(1e-5F)); \ - if( !std::isnan(i_float) && !std::isnan(o_float) ) CHECK_EQ(i_double, doctest::Approx(o_double).epsilon(1e-5)); + if( !std::isnan(i_double) && !std::isnan(o_double) ) CHECK_EQ(i_double, doctest::Approx(o_double).epsilon(1e-5)); // Last parameter exists to keep everything hidden in options template <class IArchive, class OArchive> inline ++++++ cereal-1.2.1.tar.gz -> cereal-1.2.2.tar.gz ++++++ ++++ 15801 lines of diff (skipped)