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 2024-03-10 20:23:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-YAML-LibYAML (Old)
and /work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-YAML-LibYAML"
Sun Mar 10 20:23:49 2024 rev:26 rq:1156526 version:0.890.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-YAML-LibYAML/perl-YAML-LibYAML.changes
2023-06-04 00:12:01.213325136 +0200
+++
/work/SRC/openSUSE:Factory/.perl-YAML-LibYAML.new.1770/perl-YAML-LibYAML.changes
2024-03-10 20:23:58.780590349 +0100
@@ -1,0 +2,14 @@
+Fri Mar 8 23:12:12 UTC 2024 - Tina Müller <[email protected]>
+
+- Fix disabling of __perllib_provides
+
+-------------------------------------------------------------------
+Sat Jan 27 03:10:33 UTC 2024 - Tina Müller <[email protected]>
+
+- updated to 0.89
+ see /usr/share/doc/packages/perl-YAML-LibYAML/Changes
+
+ 0.89 Sat 27 Jan 2024 01:44:08 AM CET
+ - Recognise core booleans on Perl 5.36+ at dump time (PR#114 PEVANS++)
+
+-------------------------------------------------------------------
Old:
----
YAML-LibYAML-0.88.tar.gz
New:
----
YAML-LibYAML-0.89.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-YAML-LibYAML.spec ++++++
--- /var/tmp/diff_new_pack.zhEDU0/_old 2024-03-10 20:23:59.308609742 +0100
+++ /var/tmp/diff_new_pack.zhEDU0/_new 2024-03-10 20:23:59.308609742 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-YAML-LibYAML
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,23 +18,27 @@
%define cpan_name YAML-LibYAML
Name: perl-YAML-LibYAML
-Version: 0.88
+Version: 0.890.0
Release: 0
+%define cpan_version 0.89
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl YAML Serialization using XS and libyaml
URL: https://metacpan.org/release/%{cpan_name}
-Source0:
https://cpan.metacpan.org/authors/id/I/IN/INGY/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/T/TI/TINITA/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 0.9
+Provides: perl(YAML::LibYAML) = %{version}
+Provides: perl(YAML::XS) = %{version}
+%undefine __perllib_provides
%{perl_requires}
%description
Perl YAML Serialization using XS and libyaml
%prep
-%autosetup -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{cpan_version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod
644
++++++ YAML-LibYAML-0.88.tar.gz -> YAML-LibYAML-0.89.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-0.88/CONTRIBUTING
new/YAML-LibYAML-0.89/CONTRIBUTING
--- old/YAML-LibYAML-0.88/CONTRIBUTING 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/CONTRIBUTING 2024-01-27 01:44:20.000000000 +0100
@@ -57,4 +57,4 @@
-# This file generated by Zilla-Dist-0.1.14
+# This file generated by Zilla-Dist-0.1.23
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-0.88/Changes
new/YAML-LibYAML-0.89/Changes
--- old/YAML-LibYAML-0.88/Changes 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/Changes 2024-01-27 01:44:20.000000000 +0100
@@ -1,3 +1,6 @@
+0.89 Sat 27 Jan 2024 01:44:08 AM CET
+ - Recognise core booleans on Perl 5.36+ at dump time (PR#114 PEVANS++)
+
0.88 Fri May 12 05:28:05 AM PDT 2023
- REVERT "Turn off internal POK flag for number scalars"
@@ -29,7 +32,7 @@
- Breaking Change: Set $YAML::XS::LoadBlessed default to false to make it
more secure
-0.8 Thu 22 Aug 2019 01:17:13 PM CEST
+0.80 Thu 22 Aug 2019 01:17:13 PM CEST
- Fix memory leak when loading invalid YAML (PR#93 tinita)
0.79 Tue 11 Jun 2019 09:35:22 PM CEST
@@ -65,7 +68,7 @@
- When disabling $LoadBlessed, return scalars not refs (tinita)
- Save anchors also for blessed scalars (tinita)
-0.7 Sat Jun 9 21:53:05 CEST 2018
+0.70 Sat Jun 9 21:53:05 CEST 2018
- Fix format specifier/argument mismatch PR#79 @a3f++
- Travis CI: Test on Perl 5.26 PR#80 @a3f++
- Fix a C90-compatibility issue PR#81 @stphnlyd++
@@ -111,7 +114,7 @@
0.61 Sat Feb 20 18:04:19 UTC 2016
- Apply PR/37 @perlpunk++ (includes PR/36 @lameventanas++)
-0.6 Tue Feb 9 14:36:09 EST 2016
+0.60 Tue Feb 9 14:36:09 EST 2016
- Apply PR/33. @andygrundman++. Solaris fixes.
0.59 Mon Jan 26 15:04:10 PST 2015
@@ -145,7 +148,7 @@
0.51 Sat Aug 16 14:28:45 PDT 2014
- Remove =travis section
-0.5 Sat Aug 16 12:57:04 PDT 2014
+0.50 Sat Aug 16 12:57:04 PDT 2014
- Meta 0.0.2
0.49 Sat Aug 16 04:23:17 PDT 2014
@@ -178,7 +181,7 @@
0.41 Wed Mar 13 10:34:55 PDT 2013
- Removed another C++ // style comment. jdb++
-0.4 Tue Mar 12 11:05:34 PDT 2013
+0.40 Tue Mar 12 11:05:34 PDT 2013
- Removed C++ // style comments, for better portability. jdb++
0.39 Mon Feb 11 18:08:04 PST 2013
@@ -222,7 +225,7 @@
- Fix the leak test so it doesn't load an unused, undeclared dependency
(Test::LongString)
-0.3 Sun Jan 11 12:53:55 IST 2009
+0.30 Sun Jan 11 12:53:55 IST 2009
- Plug a leak in Load
- More efficient intermediate structure allocation
@@ -265,7 +268,7 @@
- Support !foo private tags for Load - for David Garamond
- Support Dump/Load of strings with nulls
-0.2 Mon Jun 18 16:29:33 PDT 2007
+0.20 Mon Jun 18 16:29:33 PDT 2007
- Better parse error messaging
0.19 Mon Jun 18 00:54:40 PDT 2007
@@ -299,7 +302,7 @@
- Fixed false YAML::Tiny dependency
- Support blessed hashes and arrays
-0.1 Mon May 28 03:17:29 PDT 2007
+0.10 Mon May 28 03:17:29 PDT 2007
- Integrated with YAML::Tests test suite.
0.09 Mon May 28 00:38:19 PDT 2007
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-0.88/LICENSE
new/YAML-LibYAML-0.89/LICENSE
--- old/YAML-LibYAML-0.88/LICENSE 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/LICENSE 2024-01-27 01:44:20.000000000 +0100
@@ -1,4 +1,4 @@
-This software is copyright (c) 2023 by Ingy döt Net.
+This software is copyright (c) 2024 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) 2023 by Ingy döt Net.
+This software is Copyright (c) 2024 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) 2023 by Ingy döt Net.
+This software is Copyright (c) 2024 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.88/LibYAML/perl_libyaml.c
new/YAML-LibYAML-0.89/LibYAML/perl_libyaml.c
--- old/YAML-LibYAML-0.88/LibYAML/perl_libyaml.c 2023-05-12
14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/LibYAML/perl_libyaml.c 2024-01-27
01:44:20.000000000 +0100
@@ -1,5 +1,9 @@
#include <perl_libyaml.h>
+#if (PERL_REVISION > 5) || (PERL_REVISION == 5 && PERL_VERSION >= 36)
+# define PERL_HAVE_BOOLEANS
+#endif
+
static SV *
call_coderef(SV *code, AV *args)
{
@@ -1152,12 +1156,20 @@
string_len = 1;
style = YAML_PLAIN_SCALAR_STYLE;
}
- else if (node == &PL_sv_yes) {
+ else if (node == &PL_sv_yes
+#ifdef PERL_HAVE_BOOLEANS
+ || (SvIsBOOL(node) && SvTRUE(node))
+#endif
+ ) {
string = "true";
string_len = 4;
style = YAML_PLAIN_SCALAR_STYLE;
}
- else if (node == &PL_sv_no) {
+ else if (node == &PL_sv_no
+#ifdef PERL_HAVE_BOOLEANS
+ || (SvIsBOOL(node) && !SvTRUE(node))
+#endif
+ ) {
string = "false";
string_len = 5;
style = YAML_PLAIN_SCALAR_STYLE;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-0.88/META.json
new/YAML-LibYAML-0.89/META.json
--- old/YAML-LibYAML-0.88/META.json 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/META.json 2024-01-27 01:44:20.000000000 +0100
@@ -55,9 +55,9 @@
"web" : "https://github.com/ingydotnet/yaml-libyaml-pm"
}
},
- "version" : "0.88",
- "x_generated_by_perl" : "v5.28.0",
- "x_serialization_backend" : "Cpanel::JSON::XS version 4.06",
+ "version" : "0.89",
+ "x_generated_by_perl" : "v5.30.3",
+ "x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
"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.88/META.yml
new/YAML-LibYAML-0.89/META.yml
--- old/YAML-LibYAML-0.88/META.yml 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/META.yml 2024-01-27 01:44:20.000000000 +0100
@@ -25,7 +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.88'
-x_generated_by_perl: v5.28.0
+version: '0.89'
+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.88/Makefile.PL
new/YAML-LibYAML-0.89/Makefile.PL
--- old/YAML-LibYAML-0.88/Makefile.PL 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/Makefile.PL 2024-01-27 01:44:20.000000000 +0100
@@ -20,7 +20,7 @@
"TEST_REQUIRES" => {
"Test::More" => "0.9"
},
- "VERSION" => "0.88",
+ "VERSION" => "0.89",
"test" => {
"TESTS" => "t/*.t"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-0.88/README new/YAML-LibYAML-0.89/README
--- old/YAML-LibYAML-0.88/README 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/README 2024-01-27 01:44:20.000000000 +0100
@@ -84,7 +84,17 @@
* $YAML::XS::Boolean (since v0.67)
- Default is undef.
+ Default: undef
+
+ When used with perl 5.36 or later, builtin booleans will work out of
+ the box. They will be created by Load and recognized by Dump
+ automatically (since YAML::XS 0.89).
+
+ say Dump({ truth => builtin::true });
+ # truth: true
+
+ For older perl versions you can use the following configuration to
+ serialize data as YAML booleans:
When set to "JSON::PP" or "boolean", the plain (unquoted) strings
true and false will be loaded as JSON::PP::Boolean or boolean.pm
@@ -161,7 +171,7 @@
COPYRIGHT AND LICENSE
- Copyright 2007-2023 - Ingy döt Net
+ Copyright 2007-2024 - 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.88/lib/YAML/LibYAML.pm
new/YAML-LibYAML-0.89/lib/YAML/LibYAML.pm
--- old/YAML-LibYAML-0.88/lib/YAML/LibYAML.pm 2023-05-12 14:28:28.000000000
+0200
+++ new/YAML-LibYAML-0.89/lib/YAML/LibYAML.pm 2024-01-27 01:44:20.000000000
+0100
@@ -1,6 +1,6 @@
use strict; use warnings;
package YAML::LibYAML;
-our $VERSION = '0.88';
+our $VERSION = '0.89';
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.88/lib/YAML/XS.pm
new/YAML-LibYAML-0.89/lib/YAML/XS.pm
--- old/YAML-LibYAML-0.88/lib/YAML/XS.pm 2023-05-12 14:28:28.000000000
+0200
+++ new/YAML-LibYAML-0.89/lib/YAML/XS.pm 2024-01-27 01:44:20.000000000
+0100
@@ -1,7 +1,7 @@
use strict; use warnings;
package YAML::XS;
-our $VERSION = '0.88';
+our $VERSION = '0.89';
use base 'Exporter';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/YAML-LibYAML-0.88/lib/YAML/XS.pod
new/YAML-LibYAML-0.89/lib/YAML/XS.pod
--- old/YAML-LibYAML-0.88/lib/YAML/XS.pod 2023-05-12 14:28:28.000000000
+0200
+++ new/YAML-LibYAML-0.89/lib/YAML/XS.pod 2024-01-27 01:44:20.000000000
+0100
@@ -78,7 +78,14 @@
=item * C<$YAML::XS::Boolean> (since v0.67)
-Default is undef.
+Default: undef
+
+When used with perl 5.36 or later, builtin booleans will work out of the box.
They will be created by C<Load> and recognized by C<Dump> automatically (since
YAML::XS 0.89).
+
+ say Dump({ truth => builtin::true });
+ # truth: true
+
+For older perl versions you can use the following configuration to serialize
data as YAML booleans:
When set to C<"JSON::PP"> or C<"boolean">, the plain (unquoted) strings
C<true> and C<false> will be loaded as C<JSON::PP::Boolean> or C<boolean.pm>
objects. Those objects will be dumped again as plain "true" or "false".
@@ -146,7 +153,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright 2007-2023 - Ingy döt Net
+Copyright 2007-2024 - 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.88/t/boolean.t
new/YAML-LibYAML-0.89/t/boolean.t
--- old/YAML-LibYAML-0.88/t/boolean.t 2023-05-12 14:28:28.000000000 +0200
+++ new/YAML-LibYAML-0.89/t/boolean.t 2024-01-27 01:44:20.000000000 +0100
@@ -1,6 +1,7 @@
use FindBin '$Bin';
use lib $Bin;
-use TestYAMLTests tests => 5;
+use constant HAVE_BOOLEANS => ($^V ge v5.36);
+use TestYAMLTests tests => 5 + (HAVE_BOOLEANS ? 2 : 0);
my $yaml = <<'...';
---
@@ -39,3 +40,22 @@
is $yaml4, $yaml3,
"Everything related to boolean YNY roundtrips";
+
+if( HAVE_BOOLEANS ) {
+ no if HAVE_BOOLEANS, warnings => "experimental::builtin";
+
+ is Dump({ true => builtin::true, false => builtin::false }),
+ <<'...',
+---
+'false': false
+'true': true
+...
+ 'core booleans dump as booleans';
+
+ ok builtin::is_bool(Load(<<'...',)->{false}),
+---
+'false': false
+'true': true
+...
+ 'booleans loaded as core booleans';
+}