Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Mac-PropertyList for
openSUSE:Factory checked in at 2021-01-20 18:28:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Mac-PropertyList (Old)
and /work/SRC/openSUSE:Factory/.perl-Mac-PropertyList.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Mac-PropertyList"
Wed Jan 20 18:28:44 2021 rev:19 rq:864824 version:1.502
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Mac-PropertyList/perl-Mac-PropertyList.changes
2020-10-10 00:27:58.101111885 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Mac-PropertyList.new.28504/perl-Mac-PropertyList.changes
2021-01-20 18:29:10.471613982 +0100
@@ -1,0 +2,9 @@
+Wed Jan 20 03:08:09 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 1.502
+ see /usr/share/doc/packages/perl-Mac-PropertyList/Changes
+
+ 1.502 2021-01-19T10:17:29Z
+ * freshen distro, dump Travis CI, add Github Actions
+
+-------------------------------------------------------------------
Old:
----
Mac-PropertyList-1.501.tar.gz
New:
----
Mac-PropertyList-1.502.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Mac-PropertyList.spec ++++++
--- /var/tmp/diff_new_pack.3RmfrA/_old 2021-01-20 18:29:11.451614881 +0100
+++ /var/tmp/diff_new_pack.3RmfrA/_new 2021-01-20 18:29:11.455614885 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Mac-PropertyList
#
-# 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,18 +16,16 @@
#
+%define cpan_name Mac-PropertyList
Name: perl-Mac-PropertyList
-Version: 1.501
+Version: 1.502
Release: 0
-%define cpan_name Mac-PropertyList
Summary: Work with Mac plists at a low level
License: Artistic-2.0
-Group: Development/Libraries/Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/B/BD/BDFOY/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More) >= 1
@@ -59,11 +57,11 @@
request).
%prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+%make_build
%check
make test
@@ -74,7 +72,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc Changes examples
%license LICENSE
++++++ Mac-PropertyList-1.501.tar.gz -> Mac-PropertyList-1.502.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/Changes
new/Mac-PropertyList-1.502/Changes
--- old/Mac-PropertyList-1.501/Changes 2020-09-30 06:52:18.000000000 +0200
+++ new/Mac-PropertyList-1.502/Changes 2021-01-19 11:17:41.000000000 +0100
@@ -1,5 +1,8 @@
Revision history for Perl module Mac::PropertyList
+1.502 2021-01-19T10:17:29Z
+ * freshen distro, dump Travis CI, add Github Actions
+
1.501 2020-09-30T04:50:46Z
* Added create_plist_from_string()
* Merged Tom Wyant's code to handle CF$UID types
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/MANIFEST.SKIP
new/Mac-PropertyList-1.502/MANIFEST.SKIP
--- old/Mac-PropertyList-1.501/MANIFEST.SKIP 2020-09-30 06:52:18.000000000
+0200
+++ new/Mac-PropertyList-1.502/MANIFEST.SKIP 2021-01-19 11:17:41.000000000
+0100
@@ -58,7 +58,6 @@
#!end included /usr/local/perls/perl-5.18.1/lib/5.18.1/ExtUtils/MANIFEST.SKIP
hacks\b
-\.travis\.yml
\.appveyor\.yml
\.releaserc
\.lwpcookies
@@ -69,3 +68,8 @@
MANIFEST\s\d
CHANGES\s\d
+\bMANIFEST\s\d
+\bChanges\s\d
+\.icloud$
+\A\.github\b
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/META.json
new/Mac-PropertyList-1.502/META.json
--- old/Mac-PropertyList-1.501/META.json 2020-09-30 06:52:21.968155212
+0200
+++ new/Mac-PropertyList-1.502/META.json 2021-01-19 11:17:44.000000000
+0100
@@ -58,6 +58,6 @@
"web" : "https://github.com/briandfoy/mac-propertylist"
}
},
- "version" : "1.501",
+ "version" : "1.502",
"x_serialization_backend" : "JSON::PP version 4.02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/META.yml
new/Mac-PropertyList-1.502/META.yml
--- old/Mac-PropertyList-1.501/META.yml 2020-09-30 06:52:21.431024512 +0200
+++ new/Mac-PropertyList-1.502/META.yml 2021-01-19 11:17:43.000000000 +0100
@@ -30,5 +30,5 @@
bugtracker: https://github.com/briandfoy/mac-propertylist/issues
homepage: https://github.com/briandfoy/mac-propertylist
repository: https://github.com/briandfoy/mac-propertylist.git
-version: '1.501'
+version: '1.502'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/README.pod
new/Mac-PropertyList-1.502/README.pod
--- old/Mac-PropertyList-1.501/README.pod 2020-09-30 06:52:18.000000000
+0200
+++ new/Mac-PropertyList-1.502/README.pod 2021-01-19 11:17:41.000000000
+0100
@@ -2,7 +2,11 @@
=encoding utf8
-=for HTML <a href="https://travis-ci.org/briandfoy/mac-propertylist"><img
src="https://travis-ci.org/briandfoy/mac-propertylist.svg?branch=master" /></a>
+=for HTML <a href="../../actions?query=workflow%3Amacos"><img
src="../../workflows/macos/badge.svg"></a>
+
+=for HTML <a href="../../actions?query=workflow%3Aubuntu"><img
src="../../workflows/ubuntu/badge.svg"></a>
+
+=for HTML <a href="../../actions?query=workflow%3Awindows"><img
src="../../workflows/windows/badge.svg"></a>
=for HTML <a
href='https://ci.appveyor.com/project/briandfoy/mac-propertylist'><img
src='https://ci.appveyor.com/api/projects/status/6cqt6l1vxpjg6tif?svg=true'
/></a>
@@ -100,7 +104,7 @@
you diagnose your problem.
You might like to read L<brian's Guide to Solving Any Perl
-Problem|http://archive.oreilly.com/pub/a/perl/excerpts/9780596527242/brians-guide.html>.
+Problem|https://briandfoy.github.io/brians-guide-to-solving-any-perl-problem/>.
=head2 Copyright and License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mac-PropertyList-1.501/lib/Mac/PropertyList/ReadBinary.pm
new/Mac-PropertyList-1.502/lib/Mac/PropertyList/ReadBinary.pm
--- old/Mac-PropertyList-1.501/lib/Mac/PropertyList/ReadBinary.pm
2020-09-30 06:52:18.000000000 +0200
+++ new/Mac-PropertyList-1.502/lib/Mac/PropertyList/ReadBinary.pm
2021-01-19 11:17:41.000000000 +0100
@@ -1,9 +1,9 @@
+use v5.10;
+
package Mac::PropertyList::ReadBinary;
use strict;
use warnings;
-use vars qw( $VERSION );
-
use Carp;
use Data::Dumper;
use Encode qw(decode);
@@ -13,7 +13,7 @@
use POSIX qw(SEEK_END SEEK_SET);
use XML::Entities ();
-$VERSION = '1.501';
+our $VERSION = '1.502';
__PACKAGE__->_run( @ARGV ) unless caller;
@@ -406,7 +406,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright ?? 2004-2020, brian d foy <[email protected]>. All rights reserved.
+Copyright ?? 2004-2021, brian d foy <[email protected]>. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License 2.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Mac-PropertyList-1.501/lib/Mac/PropertyList/WriteBinary.pm
new/Mac-PropertyList-1.502/lib/Mac/PropertyList/WriteBinary.pm
--- old/Mac-PropertyList-1.501/lib/Mac/PropertyList/WriteBinary.pm
2020-09-30 06:52:18.000000000 +0200
+++ new/Mac-PropertyList-1.502/lib/Mac/PropertyList/WriteBinary.pm
2021-01-19 11:17:41.000000000 +0100
@@ -1,9 +1,9 @@
+use v5.10;
+
package Mac::PropertyList::WriteBinary;
use strict;
use warnings;
-use vars qw( $VERSION @EXPORT_OK );
-
use Encode ();
use Mac::PropertyList ();
use Math::BigInt;
@@ -102,8 +102,8 @@
havePack64 => ( eval { pack('Q>', 1153202979583557643) eq
"\x10\x01\0\0\0\0\0\x0B" } ? 1 : 0 ),
};
-$VERSION = '1.413';
-@EXPORT_OK = qw( as_string );
+our $VERSION = '1.502';
+our @EXPORT_OK = qw( as_string );
sub as_string {
my($value) = @_;
@@ -454,7 +454,7 @@
Wim Lewis, C<< <[email protected]> >>
-Copyright ?? 2012-2014 Wim Lewis. All rights reserved.
+Copyright ?? 2012-2021 Wim Lewis. All rights reserved.
Tom Wyant added support for UID types.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/lib/Mac/PropertyList.pm
new/Mac-PropertyList-1.502/lib/Mac/PropertyList.pm
--- old/Mac-PropertyList-1.501/lib/Mac/PropertyList.pm 2020-09-30
06:52:18.000000000 +0200
+++ new/Mac-PropertyList-1.502/lib/Mac/PropertyList.pm 2021-01-19
11:17:41.000000000 +0100
@@ -1,17 +1,19 @@
+use v5.10;
+
package Mac::PropertyList;
use strict;
use warnings;
no warnings;
-use vars qw($ERROR $VERSION @EXPORT_OK %EXPORT_TAGS);
+use vars qw($ERROR);
use Carp qw(croak carp);
use Data::Dumper;
use XML::Entities;
use Exporter qw(import);
-@EXPORT_OK = qw(
+our @EXPORT_OK = qw(
parse_plist
parse_plist_fh
parse_plist_file
@@ -21,11 +23,11 @@
create_from_string
);
-%EXPORT_TAGS = (
+our %EXPORT_TAGS = (
'all' => \@EXPORT_OK,
);
-$VERSION = '1.501';
+our $VERSION = '1.502';
=encoding utf8
@@ -426,6 +428,9 @@
if( s[^\s* < (string|date|real|integer|data) > \s*(.*?)\s*
</\1> ][]sx ) {
$value = $Readers{$1}->( $2 );
}
+ elsif( s[^\s* < string / > ][]x ){
+ $value = $Readers{'string'}->( '' );
+ }
elsif( s[^\s* < (dict|array) > ][]x ) {
# We need to put back the unprocessed text if
# any because the <dict> and <array> readers
@@ -1020,7 +1025,7 @@
=head1 COPYRIGHT AND LICENSE
-Copyright ?? 2004-2020, brian d foy <[email protected]>. All rights reserved.
+Copyright ?? 2004-2021, brian d foy <[email protected]>. All rights reserved.
This program is free software; you can redistribute it and/or modify
it under the terms of the Artistic License 2.0.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Mac-PropertyList-1.501/t/parse.t
new/Mac-PropertyList-1.502/t/parse.t
--- old/Mac-PropertyList-1.501/t/parse.t 2020-09-30 06:52:18.000000000
+0200
+++ new/Mac-PropertyList-1.502/t/parse.t 2021-01-19 11:17:41.000000000
+0100
@@ -1,4 +1,4 @@
-use Test::More tests => 27;
+use Test::More tests => 30;
use Mac::PropertyList;
@@ -40,6 +40,14 @@
</plist>
HERE
+my $empty_string =<<"HERE";
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<string/>
+</plist>
+HERE
+
my $nested_dict =<<"HERE";
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@@ -109,3 +117,12 @@
isa_ok( $plist->value, 'Mac::PropertyList::dict' );
is( $hash->value->{Roscoe}->value, 1, 'Roscoe string has right value'
);
is( $hash->value->{Boolean}->value, 'true', 'Boolean string has right value'
);
+
+########################################################################
+
+$plist = Mac::PropertyList::parse_plist( $empty_string );
+
+isa_ok( $plist, 'Mac::PropertyList::string' );
+is( $plist->type, 'string', 'type key has right value for string' );
+is( $plist->value, '', 'value is right for string' );
+