Hello community, here is the log from the commit of package perl-POSIX-strftime-Compiler for openSUSE:Factory checked in at 2020-08-13 10:20:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-POSIX-strftime-Compiler (Old) and /work/SRC/openSUSE:Factory/.perl-POSIX-strftime-Compiler.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-POSIX-strftime-Compiler" Thu Aug 13 10:20:02 2020 rev:7 rq:826131 version:0.44 Changes: -------- --- /work/SRC/openSUSE:Factory/perl-POSIX-strftime-Compiler/perl-POSIX-strftime-Compiler.changes 2020-07-28 17:30:52.510281654 +0200 +++ /work/SRC/openSUSE:Factory/.perl-POSIX-strftime-Compiler.new.3399/perl-POSIX-strftime-Compiler.changes 2020-08-13 10:25:52.878899520 +0200 @@ -1,0 +2,10 @@ +Tue Aug 11 03:15:36 UTC 2020 - Tina Müller <timueller+p...@suse.de> + +- updated to 0.44 + see /usr/share/doc/packages/perl-POSIX-strftime-Compiler/Changes + + 0.44 2020-08-10T07:10:35Z + + - Check tzdata before test + +------------------------------------------------------------------- Old: ---- POSIX-strftime-Compiler-0.43.tar.gz New: ---- POSIX-strftime-Compiler-0.44.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-POSIX-strftime-Compiler.spec ++++++ --- /var/tmp/diff_new_pack.2pO1wd/_old 2020-08-13 10:25:53.666899498 +0200 +++ /var/tmp/diff_new_pack.2pO1wd/_new 2020-08-13 10:25:53.670899498 +0200 @@ -17,7 +17,7 @@ Name: perl-POSIX-strftime-Compiler -Version: 0.43 +Version: 0.44 Release: 0 %define cpan_name POSIX-strftime-Compiler Summary: GNU C library compatible strftime for loggers and servers ++++++ POSIX-strftime-Compiler-0.43.tar.gz -> POSIX-strftime-Compiler-0.44.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/Changes new/POSIX-strftime-Compiler-0.44/Changes --- old/POSIX-strftime-Compiler-0.43/Changes 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/Changes 2020-08-10 09:10:42.000000000 +0200 @@ -1,5 +1,9 @@ Revision history for Perl extension POSIX-strftime-Compiler +0.44 2020-08-10T07:10:35Z + + - Check tzdata before test + 0.43 2020-07-26T07:23:50Z - Test issues with space in perl path name #9 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/META.json new/POSIX-strftime-Compiler-0.44/META.json --- old/POSIX-strftime-Compiler-0.43/META.json 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/META.json 2020-08-10 09:10:42.000000000 +0200 @@ -4,7 +4,7 @@ "Masahiro Nagano <kazeb...@gmail.com>" ], "dynamic_config" : 0, - "generated_by" : "Minilla/v3.0.16", + "generated_by" : "Minilla/v3.1.10", "license" : [ "perl_5" ], @@ -35,7 +35,7 @@ "requires" : { "Test::CPAN::Meta" : "0", "Test::MinimumVersion::Fast" : "0.04", - "Test::PAUSE::Permissions" : "0.04", + "Test::PAUSE::Permissions" : "0.07", "Test::Pod" : "1.41", "Test::Spellunker" : "v0.2.7" } @@ -61,7 +61,7 @@ "provides" : { "POSIX::strftime::Compiler" : { "file" : "lib/POSIX/strftime/Compiler.pm", - "version" : "0.43" + "version" : "0.44" } }, "release_status" : "stable", @@ -75,11 +75,12 @@ "web" : "https://github.com/kazeburo/POSIX-strftime-Compiler" } }, - "version" : "0.43", + "version" : "0.44", "x_contributors" : [ "Piotr Roszatycki <piotr.roszaty...@gmail.com>", "Slaven Rezic <slaven.re...@idealo.de>", "Tom Bloor <tbsli...@shadow.cat>" ], - "x_serialization_backend" : "JSON::PP version 2.27400_02" + "x_serialization_backend" : "JSON::PP version 4.04", + "x_static_install" : 1 } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/META.yml new/POSIX-strftime-Compiler-0.44/META.yml --- old/POSIX-strftime-Compiler-0.43/META.yml 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/META.yml 2020-08-10 09:10:42.000000000 +0200 @@ -7,7 +7,7 @@ configure_requires: Module::Build::Tiny: '0.035' dynamic_config: 0 -generated_by: 'Minilla/v3.0.16, CPAN::Meta::Converter version 2.150010' +generated_by: 'Minilla/v3.1.10, CPAN::Meta::Converter version 2.150010' license: perl meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.4.html @@ -26,7 +26,7 @@ provides: POSIX::strftime::Compiler: file: lib/POSIX/strftime/Compiler.pm - version: '0.43' + version: '0.44' requires: Carp: '0' Exporter: '0' @@ -37,9 +37,10 @@ bugtracker: https://github.com/kazeburo/POSIX-strftime-Compiler/issues homepage: https://github.com/kazeburo/POSIX-strftime-Compiler repository: git://github.com/kazeburo/POSIX-strftime-Compiler.git -version: '0.43' +version: '0.44' x_contributors: - 'Piotr Roszatycki <piotr.roszaty...@gmail.com>' - 'Slaven Rezic <slaven.re...@idealo.de>' - 'Tom Bloor <tbsli...@shadow.cat>' x_serialization_backend: 'CPAN::Meta::YAML version 0.018' +x_static_install: 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/README.md new/POSIX-strftime-Compiler-0.44/README.md --- old/POSIX-strftime-Compiler-0.43/README.md 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/README.md 2020-08-10 09:10:42.000000000 +0200 @@ -49,25 +49,25 @@ # A RECOMMEND MODULE -- [Time::TZOffset](https://metacpan.org/pod/Time::TZOffset) +- [Time::TZOffset](https://metacpan.org/pod/Time%3A%3ATZOffset) - If [Time::TZOffset](https://metacpan.org/pod/Time::TZOffset) is available, P::s::Compiler use it for more faster time zone offset calculation. + If [Time::TZOffset](https://metacpan.org/pod/Time%3A%3ATZOffset) is available, P::s::Compiler use it for more faster time zone offset calculation. I strongly recommend you to install this if you use `%z`. # PERFORMANCE ISSUES ON WINDOWS Windows and Cygwin and some system may not support `%z` and `%Z`. For these system, POSIX::strftime::Compiler calculate time zone offset and find zone name. This is not fast. -If you need performance on Windows and Cygwin, please install [Time::TZOffset](https://metacpan.org/pod/Time::TZOffset) +If you need performance on Windows and Cygwin, please install [Time::TZOffset](https://metacpan.org/pod/Time%3A%3ATZOffset) # SEE ALSO -- [POSIX::strftime::GNU](https://metacpan.org/pod/POSIX::strftime::GNU) +- [POSIX::strftime::GNU](https://metacpan.org/pod/POSIX%3A%3Astrftime%3A%3AGNU) POSIX::strftime::Compiler is built on POSIX::strftime::GNU::PP code - [POSIX](https://metacpan.org/pod/POSIX) -- [Apache::LogFormat::Compiler](https://metacpan.org/pod/Apache::LogFormat::Compiler) +- [Apache::LogFormat::Compiler](https://metacpan.org/pod/Apache%3A%3ALogFormat%3A%3ACompiler) # LICENSE diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/lib/POSIX/strftime/Compiler.pm new/POSIX-strftime-Compiler-0.44/lib/POSIX/strftime/Compiler.pm --- old/POSIX-strftime-Compiler-0.43/lib/POSIX/strftime/Compiler.pm 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/lib/POSIX/strftime/Compiler.pm 2020-08-10 09:10:42.000000000 +0200 @@ -8,7 +8,7 @@ use POSIX qw//; use base qw/Exporter/; -our $VERSION = "0.43"; +our $VERSION = "0.44"; our @EXPORT_OK = qw/strftime/; use constant { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/t/02_timezone.pl new/POSIX-strftime-Compiler-0.44/t/02_timezone.pl --- old/POSIX-strftime-Compiler-0.43/t/02_timezone.pl 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/t/02_timezone.pl 2020-08-10 09:10:42.000000000 +0200 @@ -3,6 +3,14 @@ use strict; use warnings; +BEGIN { + # Windows can't change timezone inside Perl script + if ($ENV{TEST_TZ}) { + $ENV{TZ} = delete $ENV{TEST_TZ}; + exec $^X (map { "-I\"$_\"" } @INC), $0, @ARGV; + }; +} + use Time::Local; use POSIX::strftime::Compiler; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/t/02_timezone.t new/POSIX-strftime-Compiler-0.44/t/02_timezone.t --- old/POSIX-strftime-Compiler-0.43/t/02_timezone.t 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/t/02_timezone.t 2020-08-10 09:10:42.000000000 +0200 @@ -8,26 +8,24 @@ my $inc = join ' ', map { "-I\"$_\"" } @INC; my $dir = dirname(__FILE__); -my $found; -for my $tz (qw( Europe/Paris CET-1CEST )) { - $ENV{TZ} = $tz; - if (`"$^X" $inc $dir/02_timezone.pl %z 0 0 0 1 1 112` =~ /^\+0[12]00$/) { - $found = 1; - last; - }; -}; +$ENV{TEST_TZ} = 'CET-1CEST'; -if ($found) { - plan tests => 4; -} -else { - plan skip_all => 'Missing tzdata on this system'; +eval { + my $d = `"$^X" $inc $dir/02_timezone.pl %z 0 0 0 1 7 112`; + if ($d !~ m!^\+0200!) { + die "tzdada is not enough: $d"; + } }; +if ( $@ ) { + plan skip_all => $@; +} my @t1 = (0, 0, 0, 1, 1, 112); my @t2 = (0, 0, 0, 1, 7, 112); -is `"$^X" $inc $dir/02_timezone.pl %z @t1`, '+0100', "tmzone1($ENV{TZ})"; -is `"$^X" $inc $dir/02_timezone.pl %Z @t1`, 'CET', "tmname1($ENV{TZ})"; -is `"$^X" $inc $dir/02_timezone.pl %z @t2`, '+0200', "tmzone2($ENV{TZ})"; -is `"$^X" $inc $dir/02_timezone.pl %Z @t2`, 'CEST', "tmname2($ENV{TZ})"; +is `"$^X" $inc $dir/02_timezone.pl %z @t1`, '+0100', "tmzone1($ENV{TEST_TZ})"; +is `"$^X" $inc $dir/02_timezone.pl %Z @t1`, 'CET', "tmname1($ENV{TEST_TZ})"; +is `"$^X" $inc $dir/02_timezone.pl %z @t2`, '+0200', "tmzone2($ENV{TEST_TZ})"; +is `"$^X" $inc $dir/02_timezone.pl %Z @t2`, 'CEST', "tmname2($ENV{TEST_TZ})"; + +done_testing(); \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/POSIX-strftime-Compiler-0.43/t/04_tzset.t new/POSIX-strftime-Compiler-0.44/t/04_tzset.t --- old/POSIX-strftime-Compiler-0.43/t/04_tzset.t 2020-07-26 09:24:03.000000000 +0200 +++ new/POSIX-strftime-Compiler-0.44/t/04_tzset.t 2020-08-10 09:10:42.000000000 +0200 @@ -4,6 +4,10 @@ use POSIX qw//; use Time::Local; use POSIX::strftime::Compiler qw/strftime/; +use File::Basename; + +my $inc = join ' ', map { "-I\"$_\"" } @INC; +my $dir = dirname(__FILE__); eval { POSIX::tzset; @@ -11,6 +15,17 @@ }; if ( $@ ) { plan skip_all => $@; +} + +eval { + local $ENV{TEST_TZ} = 'Australia/Darwin'; + my $d = `"$^X" $inc $dir/02_timezone.pl %z 0 0 0 10 0 113`; + if ($d !~ m!^\+0930!) { + die "tzdada is not enough: $d"; + } +}; +if ( $@ ) { + plan skip_all => $@; } my @timezones = (