Hello community, here is the log from the commit of package libhubbub for openSUSE:Factory checked in at 2020-07-06 16:31:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libhubbub (Old) and /work/SRC/openSUSE:Factory/.libhubbub.new.3060 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libhubbub" Mon Jul 6 16:31:23 2020 rev:6 rq:818893 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/libhubbub/libhubbub.changes 2018-01-13 21:48:53.438597377 +0100 +++ /work/SRC/openSUSE:Factory/.libhubbub.new.3060/libhubbub.changes 2020-07-06 16:34:04.120042729 +0200 @@ -1,0 +2,10 @@ +Mon Jul 6 05:52:15 UTC 2020 - Fridrich Strba <fst...@suse.com> + +- Removed patch: + * libhubbub-0.3.0-is_error.patch + + json-c/bits.h does not exist in newer json-c versions + * 0001-do-not-use-deprecated-is_error.patch + + Do not use deprecated is_error + + Fixes build of tests + +------------------------------------------------------------------- Old: ---- libhubbub-0.3.0-is_error.patch New: ---- 0001-do-not-use-deprecated-is_error.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libhubbub.spec ++++++ --- /var/tmp/diff_new_pack.VYgK3o/_old 2020-07-06 16:34:05.388046632 +0200 +++ /var/tmp/diff_new_pack.VYgK3o/_new 2020-07-06 16:34:05.392046644 +0200 @@ -1,7 +1,7 @@ # # spec file for package libhubbub # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # 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/ # @@ -22,11 +22,11 @@ Summary: An HTML5 compliant parsing library License: MIT Group: Development/Libraries/C and C++ -Url: http://www.netsurf-browser.org/projects/hubbub/ +URL: http://www.netsurf-browser.org/projects/hubbub/ Source: http://download.netsurf-browser.org/libs/releases/%{name}-%{version}-src.tar.gz Patch0: libhubbub-0.3.0-notimestamp.patch Patch1: 0001-workaround-fail-on-ppc64.patch -Patch2: libhubbub-0.3.0-is_error.patch +Patch2: 0001-do-not-use-deprecated-is_error.patch BuildRequires: check-devel BuildRequires: doxygen BuildRequires: libjson-c-devel >= 0.11 ++++++ 0001-do-not-use-deprecated-is_error.patch ++++++ >From 2a7157c319d4de41af31f5ce08723a9ead09e53f Mon Sep 17 00:00:00 2001 From: David Tardon <dtar...@redhat.com> Date: Wed, 14 Feb 2018 08:49:32 +0100 Subject: [PATCH] do not use deprecated is_error() --- test/tokeniser2.c | 2 +- test/tokeniser3.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tokeniser2.c b/test/tokeniser2.c index c8ab9c0..c077276 100644 --- a/test/tokeniser2.c +++ b/test/tokeniser2.c @@ -48,7 +48,7 @@ int main(int argc, char **argv) } json = json_object_from_file(argv[1]); - assert(!is_error(json)); + assert(json); assert(strcmp((char *) ((json_object_get_object(json)->head)->k), "tests") == 0); diff --git a/test/tokeniser3.c b/test/tokeniser3.c index 949ddd0..db5686e 100644 --- a/test/tokeniser3.c +++ b/test/tokeniser3.c @@ -46,7 +46,7 @@ int main(int argc, char **argv) } json = json_object_from_file(argv[1]); - assert(!is_error(json)); + assert(json); assert(strcmp((char *) ((json_object_get_object(json)->head)->k), "tests") == 0); -- 2.14.3