Hello community,
here is the log from the commit of package perl-Parse-Win32Registry for
openSUSE:Factory checked in at 2020-10-07 14:16:48
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Parse-Win32Registry (Old)
and /work/SRC/openSUSE:Factory/.perl-Parse-Win32Registry.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Parse-Win32Registry"
Wed Oct 7 14:16:48 2020 rev:12 rq:839034 version:1.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Parse-Win32Registry/perl-Parse-Win32Registry.changes
2019-06-12 13:19:27.716547197 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Parse-Win32Registry.new.4249/perl-Parse-Win32Registry.changes
2020-10-07 14:16:57.137412481 +0200
@@ -1,0 +2,19 @@
+Wed Sep 30 10:45:42 UTC 2020 - Tina Müller <[email protected]>
+
+- Remove fix-time-local.patch (not needed anymore)
+
+-------------------------------------------------------------------
+Sun Sep 27 03:14:55 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 1.1
+ see /usr/share/doc/packages/perl-Parse-Win32Registry/Changes
+
+ ** 1.1 2020-09-19
+
+ Added fix for errors decoding registry timestamps. (This was due to the
+ interpretation of dates in timegm changing in recent versions of Perl.)
+ Thanks to B.M.W. and Slaven Rezic for their help with this.
+
+ Updated as_regedit_export to handle undefined REG_SZ values.
+
+-------------------------------------------------------------------
Old:
----
Parse-Win32Registry-1.0.tar.gz
fix-time-local.patch
New:
----
Parse-Win32Registry-1.1.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Parse-Win32Registry.spec ++++++
--- /var/tmp/diff_new_pack.3ZFyaH/_old 2020-10-07 14:16:58.477413547 +0200
+++ /var/tmp/diff_new_pack.3ZFyaH/_new 2020-10-07 14:16:58.481413550 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Parse-Win32Registry
#
-# Copyright (c) 2012 SUSE LINUX Products 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,30 +12,24 @@
# 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: perl-Parse-Win32Registry
-Version: 1.0
+Version: 1.1
Release: 0
%define cpan_name Parse-Win32Registry
Summary: Parse Windows Registry Files
-License: GPL-1.0+ or Artistic-1.0
+License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Parse-Win32Registry/
-Source:
http://search.cpan.org/CPAN/authors/id/J/JM/JMACFARLA/Parse-Win32Registry-%{version}.tar.gz
-Patch0: fix-time-local.patch
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/J/JM/JMACFARLA/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
+BuildArch: noarch
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Carp)
-BuildRequires: perl(Data::Dumper)
-BuildRequires: perl(File::Basename)
-Requires: perl(Carp)
-Requires: perl(Data::Dumper)
-Requires: perl(File::Basename)
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
%{perl_requires}
%description
@@ -61,7 +55,6 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -75,11 +68,8 @@
%perl_process_packlist
%perl_gen_filelist
-%clean
-rm -rf %{buildroot}
-
%files -f %{name}.files
-%defattr(644,root,root,755)
+%defattr(-,root,root,755)
%doc Changes README
%changelog
++++++ Parse-Win32Registry-1.0.tar.gz -> Parse-Win32Registry-1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/Changes
new/Parse-Win32Registry-1.1/Changes
--- old/Parse-Win32Registry-1.0/Changes 2012-04-29 12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/Changes 2020-09-26 23:44:57.000000000 +0200
@@ -1,5 +1,13 @@
Revision history for Perl extension Parse::Win32Registry.
+** 1.1 2020-09-19
+
+Added fix for errors decoding registry timestamps. (This was due to the
+interpretation of dates in timegm changing in recent versions of Perl.)
+Thanks to B.M.W. and Slaven Rezic for their help with this.
+
+Updated as_regedit_export to handle undefined REG_SZ values.
+
** 1.0 2012-04-29
Added support for decoding System Mandatory Label ACEs (a feature
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/MANIFEST
new/Parse-Win32Registry-1.1/MANIFEST
--- old/Parse-Win32Registry-1.0/MANIFEST 2012-04-29 12:22:00.000000000
+0200
+++ new/Parse-Win32Registry-1.1/MANIFEST 2020-09-26 23:52:24.000000000
+0200
@@ -80,3 +80,4 @@
t/winnt_security_tests.rf
t/winnt_value_tests.rf
META.yml Module meta-data (added by MakeMaker)
+META.json Module JSON meta-data (added by
MakeMaker)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/META.json
new/Parse-Win32Registry-1.1/META.json
--- old/Parse-Win32Registry-1.0/META.json 1970-01-01 01:00:00.000000000
+0100
+++ new/Parse-Win32Registry-1.1/META.json 2020-09-26 23:52:24.000000000
+0200
@@ -0,0 +1,47 @@
+{
+ "abstract" : "Parse Windows Registry Files",
+ "author" : [
+ "James Macfarlane"
+ ],
+ "dynamic_config" : 1,
+ "generated_by" : "ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter
version 2.150010",
+ "license" : [
+ "perl_5"
+ ],
+ "meta-spec" : {
+ "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+ "version" : 2
+ },
+ "name" : "Parse-Win32Registry",
+ "no_index" : {
+ "directory" : [
+ "t",
+ "inc"
+ ]
+ },
+ "prereqs" : {
+ "build" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "configure" : {
+ "requires" : {
+ "ExtUtils::MakeMaker" : "0"
+ }
+ },
+ "runtime" : {
+ "requires" : {
+ "Carp" : "0",
+ "Data::Dumper" : "0",
+ "Encode" : "0",
+ "File::Basename" : "0",
+ "Test::More" : "0",
+ "Time::Local" : "0"
+ }
+ }
+ },
+ "release_status" : "stable",
+ "version" : "1.1",
+ "x_serialization_backend" : "JSON::PP version 4.04"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/META.yml
new/Parse-Win32Registry-1.1/META.yml
--- old/Parse-Win32Registry-1.0/META.yml 2012-04-29 13:54:22.000000000
+0200
+++ new/Parse-Win32Registry-1.1/META.yml 2020-09-26 23:52:24.000000000
+0200
@@ -1,27 +1,28 @@
---- #YAML:1.0
-name: Parse-Win32Registry
-version: 1.0
-abstract: Parse Windows Registry Files
+---
+abstract: 'Parse Windows Registry Files'
author:
- - James Macfarlane
-license: perl
-distribution_type: module
-configure_requires:
- ExtUtils::MakeMaker: 0
+ - 'James Macfarlane'
build_requires:
- ExtUtils::MakeMaker: 0
-requires:
- Carp: 0
- Data::Dumper: 0
- Encode: 0
- File::Basename: 0
- Test::More: 0
- Time::Local: 0
-no_index:
- directory:
- - t
- - inc
-generated_by: ExtUtils::MakeMaker version 6.55_02
+ ExtUtils::MakeMaker: '0'
+configure_requires:
+ ExtUtils::MakeMaker: '0'
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 7.3, CPAN::Meta::Converter version
2.150010'
+license: perl
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: '1.4'
+name: Parse-Win32Registry
+no_index:
+ directory:
+ - t
+ - inc
+requires:
+ Carp: '0'
+ Data::Dumper: '0'
+ Encode: '0'
+ File::Basename: '0'
+ Test::More: '0'
+ Time::Local: '0'
+version: '1.1'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.011'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/README
new/Parse-Win32Registry-1.1/README
--- old/Parse-Win32Registry-1.0/README 2012-04-29 12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/README 2020-09-26 23:47:52.000000000 +0200
@@ -25,7 +25,7 @@
COPYRIGHT AND LICENCE
-Copyright (C) 2006-2012 by James Macfarlane
+Copyright (C) 2006-2020 by James Macfarlane
This library 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/Parse-Win32Registry-1.0/lib/Parse/Win32Registry/Base.pm
new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry/Base.pm
--- old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry/Base.pm 2012-04-29
12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry/Base.pm 2020-09-26
23:44:58.000000000 +0200
@@ -167,7 +167,7 @@
# adjust the UNIX epoch time to the local OS's epoch time
# (see perlport's Time and Date section)
- my $epoch_offset = timegm(0, 0, 0, 1, 0, 70);
+ my $epoch_offset = timegm(0, 0, 0, 1, 0, 1970);
$epoch_time += $epoch_offset;
if ($epoch_time < 0 || $epoch_time > 0x7fffffff) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry/Win95/Value.pm
new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry/Win95/Value.pm
--- old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry/Win95/Value.pm
2012-04-29 12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry/Win95/Value.pm
2020-09-26 23:44:58.000000000 +0200
@@ -134,7 +134,9 @@
# }
if ($type == REG_SZ) {
- $export .= '"' . $self->get_data . '"';
+ my $data = $self->get_data;
+ $data = '' if !defined($data);
+ $export .= '"' . $data . '"';
$export .= "\n";
}
elsif ($type == REG_BINARY) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry/WinNT/Value.pm
new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry/WinNT/Value.pm
--- old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry/WinNT/Value.pm
2012-04-29 12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry/WinNT/Value.pm
2020-09-26 23:44:58.000000000 +0200
@@ -280,7 +280,9 @@
# }
if ($type == REG_SZ) {
- $export .= '"' . $self->get_data . '"';
+ my $data = $self->get_data;
+ $data = '' if !defined($data);
+ $export .= '"' . $data . '"';
$export .= "\n";
}
elsif ($type == REG_BINARY) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry.pm
new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry.pm
--- old/Parse-Win32Registry-1.0/lib/Parse/Win32Registry.pm 2012-04-29
12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/lib/Parse/Win32Registry.pm 2020-09-26
23:44:58.000000000 +0200
@@ -4,7 +4,7 @@
use strict;
use warnings;
-our $VERSION = '1.0';
+our $VERSION = '1.1';
use base qw(Exporter);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/t/misc.t
new/Parse-Win32Registry-1.1/t/misc.t
--- old/Parse-Win32Registry-1.0/t/misc.t 2012-04-29 12:22:00.000000000
+0200
+++ new/Parse-Win32Registry-1.1/t/misc.t 2020-09-26 23:44:58.000000000
+0200
@@ -502,7 +502,7 @@
if (defined($time)) {
# The test data time is a Unix epoch time
# so is adjusted to the local OS's epoch time
- my $epoch_offset = timegm(0, 0, 0, 1, 0, 70);
+ my $epoch_offset = timegm(0, 0, 0, 1, 0, 1970);
$time += $epoch_offset;
cmp_ok($unpacked_time1, '==', $time,
"$desc (scalar) unpack_windows_time");
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Parse-Win32Registry-1.0/t/use.t
new/Parse-Win32Registry-1.1/t/use.t
--- old/Parse-Win32Registry-1.0/t/use.t 2012-04-29 12:22:00.000000000 +0200
+++ new/Parse-Win32Registry-1.1/t/use.t 2020-09-26 23:44:58.000000000 +0200
@@ -5,7 +5,7 @@
BEGIN { use_ok('Parse::Win32Registry') };
-is($Parse::Win32Registry::VERSION, '1.0', 'correct version');
+is($Parse::Win32Registry::VERSION, '1.1', 'correct version');
can_ok('Parse::Win32Registry', 'new');
can_ok('Parse::Win32Registry', 'convert_filetime_to_epoch_time');
can_ok('Parse::Win32Registry', 'iso8601');
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module