Hello community, here is the log from the commit of package libyaml for openSUSE:Factory checked in at 2019-02-02 21:45:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyaml (Old) and /work/SRC/openSUSE:Factory/.libyaml.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libyaml" Sat Feb 2 21:45:16 2019 rev:15 rq:669087 version:0.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libyaml/libyaml.changes 2018-01-09 14:35:56.292351285 +0100 +++ /work/SRC/openSUSE:Factory/.libyaml.new.28833/libyaml.changes 2019-02-02 21:45:17.468186533 +0100 @@ -1,0 +2,26 @@ +Mon Jan 28 13:21:05 UTC 2019 - Jan Engelhardt <[email protected]> + +- --with-pic is useless without static libs, remove it. +- Update RPM groups and descriptions. + +------------------------------------------------------------------- +Thu Jan 17 13:23:23 UTC 2019 - [email protected] + +- Add libyaml-revert-emitter-changes.patch: Revert "This code is + not needed and breaks tests" (gh#yaml/libyaml#122). + +------------------------------------------------------------------- +Tue Dec 4 08:48:50 UTC 2018 - Ondřej Súkup <[email protected]> + +- update to 0.2.1 + * Fixed most compiler warnings -Wall -Wextra + * Support static and dynamic libraries + * Add support for `make test` + * Apply old fix for `\/` that is not in master. + * Port bug fix from Perl binding + * Removed trailing-whitespaces + * Fix -Wformat compilation errors in tests + * Added missing Cflags path in pkg-config file + * Forbid escaped singlequote in doublequotes + +------------------------------------------------------------------- Old: ---- yaml-0.1.7.tar.gz New: ---- libyaml-revert-emitter-changes.patch yaml-0.2.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyaml.spec ++++++ --- /var/tmp/diff_new_pack.C3zaJd/_old 2019-02-02 21:45:18.440185692 +0100 +++ /var/tmp/diff_new_pack.C3zaJd/_new 2019-02-02 21:45:18.452185681 +0100 @@ -1,7 +1,7 @@ # # spec file for package libyaml # -# Copyright (c) 2017 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,18 +12,20 @@ # 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/ # Name: libyaml -Version: 0.1.7 +Version: 0.2.1 Release: 0 Summary: A YAML 1.1 parser and emitter written in C License: MIT Group: Development/Libraries/C and C++ -Url: http://pyyaml.org/wiki/LibYAML +URL: http://pyyaml.org/wiki/LibYAML Source: http://pyyaml.org/download/libyaml/yaml-%{version}.tar.gz +# PATCH-FIX-UPSTREAM libyaml-revert-emitter-changes.patch -- gh#yaml/libyaml#122 +Patch: libyaml-revert-emitter-changes.patch BuildRequires: pkgconfig %description @@ -32,12 +34,10 @@ %define lib_name libyaml-0-2 %package -n %{lib_name} -Summary: Shared library from libyaml -Group: Development/Libraries/C and C++ +Summary: A YAML 1.1 parser and emitter written in C +Group: System/Libraries %description -n %{lib_name} -A YAML 1.1 parser and emitter written in C - This package holds the shared library of libyaml. %package devel @@ -46,15 +46,15 @@ Requires: %{lib_name} = %{version} %description devel -A YAML 1.1 parser and emitter written in C - -This package holds the development files for libyaml. +This package holds the development files for libyaml, +a YAML 1.1 parser and emitter written in C. %prep %setup -q -n yaml-%{version} +%patch -p1 %build -%configure --with-pic --disable-static +%configure --disable-static make %{?_smp_mflags} %install ++++++ libyaml-revert-emitter-changes.patch ++++++ >From 8ee83c0da22fe9aa7dea667be8f899a7e32ffb83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= <[email protected]> Date: Fri, 29 Jun 2018 21:44:19 +0200 Subject: [PATCH 1/2] Revert removing of open_ended after top level plain scalar See also issue #60 Revert "This code is not needed and breaks tests" This reverts commit 56400d976a1999156b1abfd674c3122843980260. --- src/emitter.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/emitter.c b/src/emitter.c index d31e075..32fe07c 100644 --- a/src/emitter.c +++ b/src/emitter.c @@ -1946,6 +1946,10 @@ yaml_emitter_write_plain_scalar(yaml_emitter_t *emitter, emitter->whitespace = 0; emitter->indention = 0; + if (emitter->root_context) + { + emitter->open_ended = 1; + } return 1; } >From 56f4b17221868593d6903ee58d6d679b690cf4df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tina=20M=C3=BCller?= <[email protected]> Date: Fri, 29 Jun 2018 23:16:26 +0200 Subject: [PATCH 2/2] Don't emit document-end marker at the end of stream (only when explicitly requested) @jrtc27++ for the patch. See #60 --- src/emitter.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/emitter.c b/src/emitter.c index 32fe07c..2744495 100644 --- a/src/emitter.c +++ b/src/emitter.c @@ -649,13 +649,6 @@ yaml_emitter_emit_document_start(yaml_emitter_t *emitter, else if (event->type == YAML_STREAM_END_EVENT) { - if (emitter->open_ended) - { - if (!yaml_emitter_write_indicator(emitter, "...", 1, 0, 0)) - return 0; - if (!yaml_emitter_write_indent(emitter)) - return 0; - } if (!yaml_emitter_flush(emitter)) return 0; ++++++ yaml-0.1.7.tar.gz -> yaml-0.2.1.tar.gz ++++++ ++++ 40275 lines of diff (skipped)
