Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-YAML-LibYAML for 
openSUSE:Factory checked in at 2021-05-12 19:31:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-YAML-LibYAML (Old)
 and      /work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-YAML-LibYAML"

Wed May 12 19:31:26 2021 rev:21 rq:891830 version:0.83

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-YAML-LibYAML/perl-YAML-LibYAML.changes      
2020-05-04 18:32:59.180131088 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new.2988/perl-YAML-LibYAML.changes
    2021-05-12 19:31:36.107188852 +0200
@@ -1,0 +2,10 @@
+Sun May  9 03:10:35 UTC 2021 - Tina M??ller <timueller+p...@suse.de>
+
+- updated to 0.83
+   see /usr/share/doc/packages/perl-YAML-LibYAML/Changes
+
+  0.83 Sat 08 May 2021 11:51:32 PM CEST
+   - Recognize tied variables (PR#101 tinita)
+   - Add license file from included libyaml code (PR#102 tinita)
+
+-------------------------------------------------------------------

Old:
----
  YAML-LibYAML-0.82.tar.gz

New:
----
  YAML-LibYAML-0.83.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-YAML-LibYAML.spec ++++++
--- /var/tmp/diff_new_pack.KxCBXk/_old  2021-05-12 19:31:36.679186411 +0200
+++ /var/tmp/diff_new_pack.KxCBXk/_new  2021-05-12 19:31:36.683186395 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-YAML-LibYAML
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,32 +16,30 @@
 #
 
 
+%define cpan_name YAML-LibYAML
 Name:           perl-YAML-LibYAML
-Version:        0.82
+Version:        0.83
 Release:        0
-%define cpan_name YAML-LibYAML
 Summary:        Perl YAML Serialization using XS and libyaml
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
 URL:            https://metacpan.org/release/%{cpan_name}
 Source0:        
https://cpan.metacpan.org/authors/id/T/TI/TINITA/%{cpan_name}-%{version}.tar.gz
 Source1:        cpanspec.yml
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Test::More) >= 0.90
 %{perl_requires}
 
 %description
 Perl YAML Serialization using XS and libyaml
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{version}
 find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-make %{?_smp_mflags}
+%make_build
 
 %check
 make test
@@ -52,7 +50,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes CONTRIBUTING README
 %license LICENSE
 

++++++ YAML-LibYAML-0.82.tar.gz -> YAML-LibYAML-0.83.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/CONTRIBUTING 
new/YAML-LibYAML-0.83/CONTRIBUTING
--- old/YAML-LibYAML-0.82/CONTRIBUTING  2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/CONTRIBUTING  2021-05-08 23:51:42.000000000 +0200
@@ -57,4 +57,4 @@
 
 
 
-# This file generated by Zilla-Dist-0.0.203
+# This file generated by Zilla-Dist-0.1.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/Changes 
new/YAML-LibYAML-0.83/Changes
--- old/YAML-LibYAML-0.82/Changes       2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/Changes       2021-05-08 23:51:42.000000000 +0200
@@ -1,3 +1,7 @@
+0.83 Sat 08 May 2021 11:51:32 PM CEST
+ - Recognize tied variables (PR#101 tinita)
+ - Add license file from included libyaml code (PR#102 tinita)
+
 0.82 Sat 02 May 2020 08:39:03 PM CEST
  - Updated libyaml sources to 0.2.4. Changes affecting YAML::XS are
  - Output '...' at the stream end after a block scalar with trailing empty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/LICENSE 
new/YAML-LibYAML-0.83/LICENSE
--- old/YAML-LibYAML-0.82/LICENSE       2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/LICENSE       2021-05-08 23:51:42.000000000 +0200
@@ -1,4 +1,4 @@
-This software is copyright (c) 2020 by Ingy d??t Net.
+This software is copyright (c) 2021 by Ingy d??t Net.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.
@@ -12,7 +12,7 @@
 
 --- The GNU General Public License, Version 1, February 1989 ---
 
-This software is Copyright (c) 2020 by Ingy d??t Net.
+This software is Copyright (c) 2021 by Ingy d??t Net.
 
 This is free software, licensed under:
 
@@ -272,7 +272,7 @@
 
 --- The Artistic License 1.0 ---
 
-This software is Copyright (c) 2020 by Ingy d??t Net.
+This software is Copyright (c) 2021 by Ingy d??t Net.
 
 This is free software, licensed under:
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/LibYAML/License 
new/YAML-LibYAML-0.83/LibYAML/License
--- old/YAML-LibYAML-0.82/LibYAML/License       1970-01-01 01:00:00.000000000 
+0100
+++ new/YAML-LibYAML-0.83/LibYAML/License       2021-05-08 23:51:42.000000000 
+0200
@@ -0,0 +1,24 @@
+License for the included libyaml code:
+
+Copyright (c) 2017-2020 Ingy d??t Net
+Copyright (c) 2006-2016 Kirill Simonov
+
+The MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/LibYAML/perl_libyaml.c 
new/YAML-LibYAML-0.83/LibYAML/perl_libyaml.c
--- old/YAML-LibYAML-0.82/LibYAML/perl_libyaml.c        2020-05-02 
20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/LibYAML/perl_libyaml.c        2021-05-08 
23:51:42.000000000 +0200
@@ -824,6 +824,7 @@
 {
     int i, len;
     U32 ref_type;
+    SvGETMAGIC(node);
 
     if (! (SvROK(node) || SvTYPE(node) == SVt_PVGV)) return;
 
@@ -862,11 +863,17 @@
     else if (ref_type == SVt_PVHV) {
         HV *hash = (HV *)SvRV(node);
         HE *he;
+        SV *key;
+        SV *val;
         hv_iterinit(hash);
+
         while ((he = hv_iternext(hash))) {
-            SV *val = HeVAL(he);
-            if (val)
+            key = hv_iterkeysv(he);
+            he = hv_fetch_ent(hash, key, 0, 0);
+            val = he ? HeVAL(he) : NULL;
+            if (val) {
                 dump_prewalk(dumper, val);
+            }
         }
     }
     else if (ref_type <= SVt_PVNV || ref_type == SVt_PVGV) {
@@ -896,6 +903,7 @@
     yaml_char_t *tag = NULL;
     const char *class = NULL;
 
+    SvGETMAGIC(node);
     if (SvTYPE(node) == SVt_PVGV) {
         SV **svr;
         tag = (yaml_char_t *)TAG_PERL_PREFIX "glob";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/MANIFEST 
new/YAML-LibYAML-0.83/MANIFEST
--- old/YAML-LibYAML-0.82/MANIFEST      2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/MANIFEST      2021-05-08 23:51:42.000000000 +0200
@@ -1,8 +1,9 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v6.017.
 CONTRIBUTING
 Changes
 LICENSE
 LibYAML/LibYAML.xs
+LibYAML/License
 LibYAML/Makefile.PL
 LibYAML/api.c
 LibYAML/config.h
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/META.json 
new/YAML-LibYAML-0.83/META.json
--- old/YAML-LibYAML-0.82/META.json     2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/META.json     2021-05-08 23:51:42.000000000 +0200
@@ -4,7 +4,7 @@
       "Ingy d\u00f6t Net <i...@cpan.org>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010",
+   "generated_by" : "Dist::Zilla version 6.017, CPAN::Meta::Converter version 
2.150010",
    "license" : [
       "perl_5"
    ],
@@ -39,7 +39,7 @@
       },
       "test" : {
          "requires" : {
-            "Test::More" : "0.88"
+            "Test::More" : "0.90"
          }
       }
    },
@@ -55,8 +55,9 @@
          "web" : "https://github.com/ingydotnet/yaml-libyaml-pm";
       }
    },
-   "version" : "0.82",
-   "x_generated_by_perl" : "v5.24.1",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.19"
+   "version" : "0.83",
+   "x_generated_by_perl" : "v5.30.3",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
+   "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/META.yml 
new/YAML-LibYAML-0.83/META.yml
--- old/YAML-LibYAML-0.82/META.yml      2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/META.yml      2021-05-08 23:51:42.000000000 +0200
@@ -3,11 +3,11 @@
 author:
   - 'Ingy d??t Net <i...@cpan.org>'
 build_requires:
-  Test::More: '0.88'
+  Test::More: '0.90'
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 6.012, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'Dist::Zilla version 6.017, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,6 +25,7 @@
   bugtracker: https://github.com/ingydotnet/yaml-libyaml-pm/issues
   homepage: https://github.com/ingydotnet/yaml-libyaml-pm
   repository: https://github.com/ingydotnet/yaml-libyaml-pm.git
-version: '0.82'
-x_generated_by_perl: v5.24.1
+version: '0.83'
+x_generated_by_perl: v5.30.3
 x_serialization_backend: 'YAML::Tiny version 1.73'
+x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/Makefile.PL 
new/YAML-LibYAML-0.83/Makefile.PL
--- old/YAML-LibYAML-0.82/Makefile.PL   2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/Makefile.PL   2021-05-08 23:51:42.000000000 +0200
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.012.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v6.017.
 use strict;
 use warnings;
 
@@ -18,9 +18,9 @@
   "NAME" => "YAML::LibYAML",
   "PREREQ_PM" => {},
   "TEST_REQUIRES" => {
-    "Test::More" => "0.88"
+    "Test::More" => "0.90"
   },
-  "VERSION" => "0.82",
+  "VERSION" => "0.83",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -28,7 +28,7 @@
 
 
 my %FallbackPrereqs = (
-  "Test::More" => "0.88"
+  "Test::More" => "0.90"
 );
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/README new/YAML-LibYAML-0.83/README
--- old/YAML-LibYAML-0.82/README        2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/README        2021-05-08 23:51:42.000000000 +0200
@@ -147,7 +147,7 @@
 
 COPYRIGHT AND LICENSE
 
-    Copyright 2007-2020. Ingy d??t Net.
+    Copyright 2007-2021. Ingy d??t Net.
 
     This program is free software; you can redistribute it and/or modify it
     under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/lib/YAML/LibYAML.pm 
new/YAML-LibYAML-0.83/lib/YAML/LibYAML.pm
--- old/YAML-LibYAML-0.82/lib/YAML/LibYAML.pm   2020-05-02 20:39:14.000000000 
+0200
+++ new/YAML-LibYAML-0.83/lib/YAML/LibYAML.pm   2021-05-08 23:51:42.000000000 
+0200
@@ -1,6 +1,6 @@
 use strict; use warnings;
 package YAML::LibYAML;
-our $VERSION = '0.82';
+our $VERSION = '0.83';
 
 sub import {
     die "YAML::LibYAML has been renamed to YAML::XS. Please use YAML::XS 
instead.";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/lib/YAML/LibYAML.pod 
new/YAML-LibYAML-0.83/lib/YAML/LibYAML.pod
--- old/YAML-LibYAML-0.82/lib/YAML/LibYAML.pod  2020-05-02 20:39:14.000000000 
+0200
+++ new/YAML-LibYAML-0.83/lib/YAML/LibYAML.pod  2021-05-08 23:51:42.000000000 
+0200
@@ -1,7 +1,7 @@
 =pod
 
 =for comment
-DO NOT EDIT. This Pod was generated by Swim v0.1.46.
+DO NOT EDIT. This Pod was generated by Swim v0.1.48.
 See http://github.com/ingydotnet/swim-pm#readme
 
 =encoding utf8
@@ -22,7 +22,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2007-2020. Ingy d??t Net.
+Copyright 2007-2021. Ingy d??t Net.
 
 This program is free software; you can redistribute it and/or modify it under
 the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/lib/YAML/XS.pm 
new/YAML-LibYAML-0.83/lib/YAML/XS.pm
--- old/YAML-LibYAML-0.82/lib/YAML/XS.pm        2020-05-02 20:39:14.000000000 
+0200
+++ new/YAML-LibYAML-0.83/lib/YAML/XS.pm        2021-05-08 23:51:42.000000000 
+0200
@@ -1,7 +1,7 @@
 use strict; use warnings;
 
 package YAML::XS;
-our $VERSION = '0.82';
+our $VERSION = '0.83';
 
 use base 'Exporter';
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/lib/YAML/XS.pod 
new/YAML-LibYAML-0.83/lib/YAML/XS.pod
--- old/YAML-LibYAML-0.82/lib/YAML/XS.pod       2020-05-02 20:39:14.000000000 
+0200
+++ new/YAML-LibYAML-0.83/lib/YAML/XS.pod       2021-05-08 23:51:42.000000000 
+0200
@@ -1,7 +1,7 @@
 =pod
 
 =for comment
-DO NOT EDIT. This Pod was generated by Swim v0.1.46.
+DO NOT EDIT. This Pod was generated by Swim v0.1.48.
 See http://github.com/ingydotnet/swim-pm#readme
 
 =encoding utf8
@@ -163,7 +163,7 @@
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright 2007-2020. Ingy d??t Net.
+Copyright 2007-2021. Ingy d??t Net.
 
 This program is free software; you can redistribute it and/or modify it under
 the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/YAML-LibYAML-0.82/t/tied.t 
new/YAML-LibYAML-0.83/t/tied.t
--- old/YAML-LibYAML-0.82/t/tied.t      2020-05-02 20:39:14.000000000 +0200
+++ new/YAML-LibYAML-0.83/t/tied.t      2021-05-08 23:51:42.000000000 +0200
@@ -1,48 +1,51 @@
+use warnings;
+use strict;
 use FindBin '$Bin';
 use lib $Bin;
-use TestYAMLTests;
+use Test::More;
+use YAML::XS qw/ Dump /;
 
 BEGIN {
     if ($] < 5.010000) {
         plan skip_all => 'needs perl 5.10 or higher';
     }
     else {
-        plan tests => 3;
+        plan tests => 4;
     }
 }
 
 use Tie::Array;
 use Tie::Hash;
 
-my $yaml1 = <<'...';
+subtest 'tie-array' => sub {
+    my $yaml = <<'...';
 ---
 - foo
 - bar
 - baz
 ...
 
-{
     tie my @av, 'Tie::StdArray';
     $av[0] = 'foo';
     $av[1] = 'bar';
     $av[2] = 'baz';
-    is Dump(\@av), $yaml1, 'Dumping tied array works';
-}
+    is Dump(\@av), $yaml, 'Dumping tied array works';
+};
 
-my $yaml2 = <<'...';
+subtest 'tie-hash' => sub {
+    my $yaml = <<'...';
 ---
 bar: bar
 baz: baz
 foo: foo
 ...
 
-{
     tie my %hv, 'Tie::StdHash';
     $hv{foo} = 'foo';
     $hv{bar} = 'bar';
     $hv{baz} = 'baz';
-    is Dump(\%hv), $yaml2, 'Dumping tied hash works';
-}
+    is Dump(\%hv), $yaml, 'Dumping tied hash works';
+};
 
 {
     package Tie::OneIterationOnly;
@@ -68,13 +71,55 @@
     }
 }
 
-my $yaml3 = <<'...';
+subtest 'tie-special' => sub {
+    my $yaml3 = <<'...';
 --- {}
 ...
 
-{
     tie my %hv, 'Tie::OneIterationOnly';
     is Dump(\%hv), $yaml3, 'Dumping tied hash works';
-}
+};
 
+subtest 'nested-tie' => sub {
+    my $ref =  [qw/ a b c /];
 
+    my %foo = (foo => $ref, bar => $ref );
+    tie my %bar, 'TestStdHash', %foo;
+    my $yaml = Dump \%bar;
+    my $exp = <<'EOM';
+---
+bar: &1
+- a
+- b
+- c
+foo: *1
+EOM
+    is $yaml, $exp, 'Dumping nested tied hash works';
+
+    my @foo = ($ref, $ref);
+    tie my @bar, 'TestStdArray', @foo;
+    $yaml = Dump \@bar;
+    $exp = <<'EOM';
+---
+- &1
+  - a
+  - b
+  - c
+- *1
+EOM
+    is $yaml, $exp, 'Dumping nested tied array works';
+};
+
+package TestStdHash;
+our @ISA = qw/ Tie::StdHash /;
+sub TIEHASH { my $class = shift; return bless {@_}, $class }
+sub FIRSTKEY { my $a = scalar keys %{$_[0]}; each %{$_[0]} }
+sub NEXTKEY { each %{$_[0]} }
+sub FETCH { $_[0]->{$_[1]} }
+
+
+package TestStdArray;
+our @ISA = qw/ Tie::StdArray /;
+sub TIEARRAY { my $class = shift; return bless [@_], $class }
+sub FETCH { $_[0]->[ $_[1]]  }
+sub FETCHSIZE { scalar @{ $_[0] } }

Reply via email to