Hello community, here is the log from the commit of package cjose for openSUSE:Factory checked in at 2019-09-16 10:53:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cjose (Old) and /work/SRC/openSUSE:Factory/.cjose.new.7948 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cjose" Mon Sep 16 10:53:13 2019 rev:2 rq:731051 version:0.6.1 Changes: -------- --- /work/SRC/openSUSE:Factory/cjose/cjose.changes 2018-11-26 10:23:42.817492397 +0100 +++ /work/SRC/openSUSE:Factory/.cjose.new.7948/cjose.changes 2019-09-16 10:53:15.639150019 +0200 @@ -1,0 +2,12 @@ +Mon Sep 9 14:41:41 UTC 2019 - Vítězslav Čížek <[email protected]> + +- Fix a bug in an assert message macro + * add cjose-ck_assert_bin_eq.patch + +------------------------------------------------------------------- +Sun Sep 8 19:01:22 UTC 2019 - Vítězslav Čížek <[email protected]> + +- Temporarily disable tests on s390 as they are broken there + (bsc#1149887) + +------------------------------------------------------------------- New: ---- cjose-ck_assert_bin_eq.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cjose.spec ++++++ --- /var/tmp/diff_new_pack.5rGqHR/_old 2019-09-16 10:53:16.079149962 +0200 +++ /var/tmp/diff_new_pack.5rGqHR/_new 2019-09-16 10:53:16.079149962 +0200 @@ -1,7 +1,7 @@ # # spec file for package cjose # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -24,6 +24,7 @@ Group: Development/Libraries/C and C++ URL: https://github.com/cisco/cjose Source: https://github.com/cisco/cjose/archive/%{version}.tar.gz +Patch0: cjose-ck_assert_bin_eq.patch BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(check) >= 0.9.4 @@ -51,6 +52,7 @@ %prep %setup -q +%autopatch -p1 %build %configure --disable-static @@ -61,7 +63,10 @@ find %{buildroot} -type f -name "*.la" -delete -print %check +# the tests fail on s390 +%ifnarch s390 s390x make %{?_smp_mflags} check +%endif %post -n libcjose0 -p /sbin/ldconfig %postun -n libcjose0 -p /sbin/ldconfig ++++++ cjose-ck_assert_bin_eq.patch ++++++ Index: cjose-0.6.1/test/check_cjose.h =================================================================== --- cjose-0.6.1.orig/test/check_cjose.h 2018-04-12 00:39:58.000000000 +0200 +++ cjose-0.6.1/test/check_cjose.h 2019-09-09 16:37:01.830419011 +0200 @@ -26,7 +26,7 @@ Suite *cjose_concatkdf_suite(); const uint8_t *_chk_y = (Y); \ const size_t _chk_len = (LEN); \ ck_assert_msg(0 OP memcmp(_chk_x, _chk_y, _chk_len), \ - "Assertion '" #X #OP #Y "' failed: " #LEN "==%z, " #X "==0x%zx, " #Y "==0x%zx", \ + "Assertion '" #X #OP #Y "' failed: " #LEN "==%zd, " #X "==0x%zx, " #Y "==0x%zx", \ _chk_len, _chk_x, _chk_y); \ } while (0);
