Hello community,
here is the log from the commit of package perl-POSIX-strftime-Compiler for
openSUSE:Factory checked in at 2020-07-28 17:29:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-POSIX-strftime-Compiler (Old)
and /work/SRC/openSUSE:Factory/.perl-POSIX-strftime-Compiler.new.3592
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-POSIX-strftime-Compiler"
Tue Jul 28 17:29:42 2020 rev:6 rq:823163 version:0.43
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-POSIX-strftime-Compiler/perl-POSIX-strftime-Compiler.changes
2019-11-30 10:40:29.960149718 +0100
+++
/work/SRC/openSUSE:Factory/.perl-POSIX-strftime-Compiler.new.3592/perl-POSIX-strftime-Compiler.changes
2020-07-28 17:30:52.510281654 +0200
@@ -1,0 +2,11 @@
+Tue Jul 28 09:51:54 UTC 2020 - Tina Müller <[email protected]>
+
+- updated to 0.43
+ see /usr/share/doc/packages/perl-POSIX-strftime-Compiler/Changes
+
+ 0.43 2020-07-26T07:23:50Z
+
+ - Test issues with space in perl path name #9
+ - microoptimization: check for invalid number of parameters later #5
+
+-------------------------------------------------------------------
Old:
----
POSIX-strftime-Compiler-0.42.tar.gz
New:
----
POSIX-strftime-Compiler-0.43.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-POSIX-strftime-Compiler.spec ++++++
--- /var/tmp/diff_new_pack.CKkgYB/_old 2020-07-28 17:30:53.742283053 +0200
+++ /var/tmp/diff_new_pack.CKkgYB/_new 2020-07-28 17:30:53.742283053 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-POSIX-strftime-Compiler
#
-# Copyright (c) 2019 SUSE LINUX 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
@@ -17,20 +17,20 @@
Name: perl-POSIX-strftime-Compiler
-Version: 0.42
+Version: 0.43
Release: 0
%define cpan_name POSIX-strftime-Compiler
Summary: GNU C library compatible strftime for loggers and servers
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-Url: https://metacpan.org/release/%{cpan_name}
+URL: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/K/KA/KAZEBURO/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-BuildRequires: perl(Module::Build) >= 0.380000
+BuildRequires: perl(Module::Build::Tiny) >= 0.035
BuildRequires: perl(Test::More) >= 0.98
%{perl_requires}
# MANUAL BEGIN
@@ -49,14 +49,14 @@
%setup -q -n %{cpan_name}-%{version}
%build
-perl Build.PL installdirs=vendor
-./Build build flags=%{?_smp_mflags}
+perl Build.PL --installdirs=vendor
+./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
-./Build install destdir=%{buildroot} create_packlist=0
+./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
++++++ POSIX-strftime-Compiler-0.42.tar.gz ->
POSIX-strftime-Compiler-0.43.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/POSIX-strftime-Compiler-0.42/Build.PL
new/POSIX-strftime-Compiler-0.43/Build.PL
--- old/POSIX-strftime-Compiler-0.42/Build.PL 2016-07-11 12:04:45.000000000
+0200
+++ new/POSIX-strftime-Compiler-0.43/Build.PL 2020-07-26 09:24:03.000000000
+0200
@@ -4,62 +4,9 @@
# =========================================================================
use 5.008_001;
-
use strict;
-use warnings;
-use utf8;
-
-use Module::Build;
-use File::Basename;
-use File::Spec;
-
-my %args = (
- license => 'perl',
- dynamic_config => 0,
-
- configure_requires => {
- 'Module::Build' => 0.38,
- },
-
- name => 'POSIX-strftime-Compiler',
- module_name => 'POSIX::strftime::Compiler',
- allow_pureperl => 0,
-
- script_files => [glob('script/*'), glob('bin/*')],
- c_source => [qw()],
- PL_files => {},
-
- test_files => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt')
? 't/ xt/' : 't/',
- recursive_test_files => 1,
-
-
-);
-if (-d 'share') {
- $args{share_dir} = 'share';
-}
-
-my $builder = Module::Build->subclass(
- class => 'MyBuilder',
- code => q{
- sub ACTION_distmeta {
- die "Do not run distmeta. Install Minilla and `minil install`
instead.\n";
- }
- sub ACTION_installdeps {
- die "Do not run installdeps. Run `cpanm --installdeps .`
instead.\n";
- }
- }
-)->new(%args);
-$builder->create_build_script();
-
-use File::Copy;
-print "cp META.json MYMETA.json\n";
-copy("META.json","MYMETA.json") or die "Copy failed(META.json): $!";
+use Module::Build::Tiny 0.035;
-if (-f 'META.yml') {
- print "cp META.yml MYMETA.yml\n";
- copy("META.yml","MYMETA.yml") or die "Copy failed(META.yml): $!";
-} else {
- print "There is no META.yml... You may install this module from the
repository...\n";
-}
+Build_PL();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/POSIX-strftime-Compiler-0.42/Changes
new/POSIX-strftime-Compiler-0.43/Changes
--- old/POSIX-strftime-Compiler-0.42/Changes 2016-07-11 12:04:45.000000000
+0200
+++ new/POSIX-strftime-Compiler-0.43/Changes 2020-07-26 09:24:03.000000000
+0200
@@ -1,5 +1,10 @@
Revision history for Perl extension POSIX-strftime-Compiler
+0.43 2020-07-26T07:23:50Z
+
+ - Test issues with space in perl path name #9
+ - microoptimization: check for invalid number of parameters later #5
+
0.42 2016-07-11T10:04:37Z
- import musl patch
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/POSIX-strftime-Compiler-0.42/META.json
new/POSIX-strftime-Compiler-0.43/META.json
--- old/POSIX-strftime-Compiler-0.42/META.json 2016-07-11 12:04:45.000000000
+0200
+++ new/POSIX-strftime-Compiler-0.43/META.json 2020-07-26 09:24:03.000000000
+0200
@@ -4,7 +4,7 @@
"Masahiro Nagano <[email protected]>"
],
"dynamic_config" : 0,
- "generated_by" : "Minilla/v2.4.1",
+ "generated_by" : "Minilla/v3.0.16",
"license" : [
"perl_5"
],
@@ -28,7 +28,7 @@
"prereqs" : {
"configure" : {
"requires" : {
- "Module::Build" : "0.38"
+ "Module::Build::Tiny" : "0.035"
}
},
"develop" : {
@@ -61,7 +61,7 @@
"provides" : {
"POSIX::strftime::Compiler" : {
"file" : "lib/POSIX/strftime/Compiler.pm",
- "version" : "0.42"
+ "version" : "0.43"
}
},
"release_status" : "stable",
@@ -75,9 +75,11 @@
"web" : "https://github.com/kazeburo/POSIX-strftime-Compiler"
}
},
- "version" : "0.42",
+ "version" : "0.43",
"x_contributors" : [
- "Piotr Roszatycki <[email protected]>"
+ "Piotr Roszatycki <[email protected]>",
+ "Slaven Rezic <[email protected]>",
+ "Tom Bloor <[email protected]>"
],
- "x_serialization_backend" : "JSON::PP version 2.27203"
+ "x_serialization_backend" : "JSON::PP version 2.27400_02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/POSIX-strftime-Compiler-0.42/META.yml
new/POSIX-strftime-Compiler-0.43/META.yml
--- old/POSIX-strftime-Compiler-0.42/META.yml 2016-07-11 12:04:45.000000000
+0200
+++ new/POSIX-strftime-Compiler-0.43/META.yml 2020-07-26 09:24:03.000000000
+0200
@@ -5,9 +5,9 @@
build_requires:
Test::More: '0.98'
configure_requires:
- Module::Build: '0.38'
+ Module::Build::Tiny: '0.035'
dynamic_config: 0
-generated_by: 'Minilla/v2.4.1, CPAN::Meta::Converter version 2.150005'
+generated_by: 'Minilla/v3.0.16, 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.42'
+ version: '0.43'
requires:
Carp: '0'
Exporter: '0'
@@ -37,7 +37,9 @@
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.42'
+version: '0.43'
x_contributors:
- 'Piotr Roszatycki <[email protected]>'
-x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
+ - 'Slaven Rezic <[email protected]>'
+ - 'Tom Bloor <[email protected]>'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/POSIX-strftime-Compiler-0.42/lib/POSIX/strftime/Compiler.pm
new/POSIX-strftime-Compiler-0.43/lib/POSIX/strftime/Compiler.pm
--- old/POSIX-strftime-Compiler-0.42/lib/POSIX/strftime/Compiler.pm
2016-07-11 12:04:45.000000000 +0200
+++ new/POSIX-strftime-Compiler-0.43/lib/POSIX/strftime/Compiler.pm
2020-07-26 09:24:03.000000000 +0200
@@ -8,7 +8,7 @@
use POSIX qw//;
use base qw/Exporter/;
-our $VERSION = "0.42";
+our $VERSION = "0.43";
our @EXPORT_OK = qw/strftime/;
use constant {
@@ -341,11 +341,11 @@
}~;
}
my $code = q~sub {
+ ~ . $sprintf_code . q~
+ ~ . $need9char_code . q~
if ( @_ != 9 && @_ != 6 ) {
Carp::croak 'Usage: strftime(sec, min, hour, mday, mon, year, wday
= -1, yday = -1, isdst = -1)';
}
- ~ . $sprintf_code . q~
- ~ . $need9char_code . q~
POSIX::strftime(q!~ . $posix_fmt . q~!,@_);
}~;
my $sub = eval $code; ## no critic
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/POSIX-strftime-Compiler-0.42/t/01_basic.t
new/POSIX-strftime-Compiler-0.43/t/01_basic.t
--- old/POSIX-strftime-Compiler-0.42/t/01_basic.t 2016-07-11
12:04:45.000000000 +0200
+++ new/POSIX-strftime-Compiler-0.43/t/01_basic.t 2020-07-26
09:24:03.000000000 +0200
@@ -5,7 +5,7 @@
# Windows can't change timezone inside Perl script
if (($ENV{TZ}||'') ne 'GMT') {
$ENV{TZ} = 'GMT';
- exec $^X, (map { "-I\"$_\"" } @INC), $0;
+ exec $^X (map { "-I\"$_\"" } @INC), $0;
};
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/POSIX-strftime-Compiler-0.42/t/02_timezone.t
new/POSIX-strftime-Compiler-0.43/t/02_timezone.t
--- old/POSIX-strftime-Compiler-0.42/t/02_timezone.t 2016-07-11
12:04:45.000000000 +0200
+++ new/POSIX-strftime-Compiler-0.43/t/02_timezone.t 2020-07-26
09:24:03.000000000 +0200
@@ -11,7 +11,7 @@
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$/) {
+ if (`"$^X" $inc $dir/02_timezone.pl %z 0 0 0 1 1 112` =~ /^\+0[12]00$/) {
$found = 1;
last;
};
@@ -27,7 +27,7 @@
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{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})";