Hello community,

here is the log from the commit of package perl-Text-Template for 
openSUSE:Factory checked in at 2019-03-01 20:32:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-Template (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Text-Template.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Text-Template"

Fri Mar  1 20:32:22 2019 rev:21 rq:680367 version:1.55

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-Template/perl-Text-Template.changes    
2019-01-21 10:54:52.119691451 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Text-Template.new.28833/perl-Text-Template.changes
 2019-03-01 20:32:23.537967912 +0100
@@ -1,0 +2,14 @@
+Tue Feb 26 06:38:03 UTC 2019 - Stephan Kulow <co...@suse.com>
+
+- updated to 1.55
+   see /usr/share/doc/packages/perl-Text-Template/Changes
+
+  1.55  2019-02-25
+      - Improve AppVeyor tests for older Perls (Thanks Roy Ivy)
+      - Check for Test::More 0.94 and skip tests if not installed where
+        done_testing() is used (Thanks Roy Ivy).
+      - Improve workaround for broken Win32 File::Temp taint failure (Thanks 
Roy Ivy).
+      - Skip/todo tests which fail under Devel::Cover (Thanks Roy Ivy)
+      - Add checks and skip_all checks for non-core test modules (Thanks Roy 
Ivy)
+
+-------------------------------------------------------------------

Old:
----
  Text-Template-1.54.tar.gz

New:
----
  Text-Template-1.55.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Text-Template.spec ++++++
--- /var/tmp/diff_new_pack.AUFJt7/_old  2019-03-01 20:32:24.181967753 +0100
+++ /var/tmp/diff_new_pack.AUFJt7/_new  2019-03-01 20:32:24.181967753 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Text-Template
-Version:        1.54
+Version:        1.55
 Release:        0
 %define cpan_name Text-Template
 Summary:        Expand template text with embedded Perl

++++++ Text-Template-1.54.tar.gz -> Text-Template-1.55.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/Changes 
new/Text-Template-1.55/Changes
--- old/Text-Template-1.54/Changes      2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/Changes      2019-02-25 16:08:26.000000000 +0100
@@ -1,5 +1,13 @@
 Revision history for Text::Template
 
+1.55  2019-02-25
+    - Improve AppVeyor tests for older Perls (Thanks Roy Ivy)
+    - Check for Test::More 0.94 and skip tests if not installed where
+      done_testing() is used (Thanks Roy Ivy).
+    - Improve workaround for broken Win32 File::Temp taint failure (Thanks Roy 
Ivy).
+    - Skip/todo tests which fail under Devel::Cover (Thanks Roy Ivy)
+    - Add checks and skip_all checks for non-core test modules (Thanks Roy Ivy)
+
 1.54  2019-01-13
     - Fix tempfile creation during tests on Win32
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/META.json 
new/Text-Template-1.55/META.json
--- old/Text-Template-1.54/META.json    2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/META.json    2019-02-25 16:08:26.000000000 +0100
@@ -57,11 +57,11 @@
    "provides" : {
       "Text::Template" : {
          "file" : "lib/Text/Template.pm",
-         "version" : "1.54"
+         "version" : "1.55"
       },
       "Text::Template::Preprocess" : {
          "file" : "lib/Text/Template/Preprocess.pm",
-         "version" : "1.54"
+         "version" : "1.55"
       }
    },
    "release_status" : "stable",
@@ -76,7 +76,7 @@
          "web" : "https://github.com/mschout/perl-text-template";
       }
    },
-   "version" : "1.54",
+   "version" : "1.55",
    "x_generated_by_perl" : "v5.26.2",
    "x_serialization_backend" : "Cpanel::JSON::XS version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/META.yml 
new/Text-Template-1.55/META.yml
--- old/Text-Template-1.54/META.yml     2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/META.yml     2019-02-25 16:08:26.000000000 +0100
@@ -25,10 +25,10 @@
 provides:
   Text::Template:
     file: lib/Text/Template.pm
-    version: '1.54'
+    version: '1.55'
   Text::Template::Preprocess:
     file: lib/Text/Template/Preprocess.pm
-    version: '1.54'
+    version: '1.55'
 requires:
   Carp: '0'
   Encode: '0'
@@ -41,6 +41,6 @@
   bugtracker: https://github.com/mschout/perl-text-template/issues
   homepage: https://github.com/mschout/perl-text-template
   repository: https://github.com/mschout/perl-text-template.git
-version: '1.54'
+version: '1.55'
 x_generated_by_perl: v5.26.2
 x_serialization_backend: 'YAML::Tiny version 1.73'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/Makefile.PL 
new/Text-Template-1.55/Makefile.PL
--- old/Text-Template-1.54/Makefile.PL  2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/Makefile.PL  2019-02-25 16:08:26.000000000 +0100
@@ -34,7 +34,7 @@
     "utf8" => 0,
     "vars" => 0
   },
-  "VERSION" => "1.54",
+  "VERSION" => "1.55",
   "test" => {
     "TESTS" => "t/*.t"
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/SIGNATURE 
new/Text-Template-1.55/SIGNATURE
--- old/Text-Template-1.54/SIGNATURE    2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/SIGNATURE    2019-02-25 16:08:26.000000000 +0100
@@ -14,16 +14,16 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA256
 
-SHA1 6c97b7a4c0f9e0db73f97db0ed5eff7f67e8fbea Changes
+SHA1 8c173ebeeba1c70b9ee712f6c7e7a855180b2b9d Changes
 SHA1 b457bd56a70b838ccc55d183ab09de64b6996958 INSTALL
 SHA1 f12894289cb0f379f24b8d63e2e761dbcba1b216 LICENSE
 SHA1 2c21cb13f53da41c4b30011aca9014db2de46862 MANIFEST
-SHA1 f534c625d14297793ce113ed1fdec70fd78ac2b0 META.json
-SHA1 e4e497a9f430d109d45ac7f527a7951b8f162455 META.yml
-SHA1 aed98cb4e147791bf75d7049d32f9bcd75ae2ad8 Makefile.PL
+SHA1 2c7078ed83f5c43ce40e6d9ffe16f99f25fcc283 META.json
+SHA1 fb69aba94db2384187a1e20339bb507990f83c00 META.yml
+SHA1 2d186864e2cb58a4d9dd278e1754062e678dac69 Makefile.PL
 SHA1 b94aaad0a0bf2c323061bfefb9cf1fd532f14e7b README
-SHA1 e8d272f3b49178852530a634720d121e2a1fbd41 lib/Text/Template.pm
-SHA1 ffbab50853385910aa426dd64930de43db053adf lib/Text/Template/Preprocess.pm
+SHA1 2c4f88b5ff9d2aaf709f9359a9a3cf748c6ec3bc lib/Text/Template.pm
+SHA1 1d0c744faf126c916522c0fc549998503e6e6e3e lib/Text/Template/Preprocess.pm
 SHA1 8efad25309730a4d501fb40fc03eda4697303372 t/author-pod-syntax.t
 SHA1 19cc343f8a85c6805bbeb02580487483a6283887 t/author-signature.t
 SHA1 ae085010c9f08576ef8584f224e38e6a98c1c178 t/basic.t
@@ -33,33 +33,33 @@
 SHA1 c862dfc08e00e76b3f2aee953583d3cc8e5524a2 t/exported.t
 SHA1 50ef92bda3b6b5cbd5a9307e6f17ce49ee8f245c t/hash.t
 SHA1 d5dc210684aec8bb2c4817af96597c86047169c1 t/inline-comment.t
-SHA1 23f35d346a7e4d3e9adc3c80f2415f9982f18a83 t/nested-tags.t
+SHA1 31ff85f423178f2d6638d35edf859d73f63dd5c7 t/nested-tags.t
 SHA1 62ae0720aa86146bccfa23d2c903fa142cb86d50 t/ofh.t
 SHA1 68093417d49a2afdfcd4642bacea04466039b734 t/out.t
 SHA1 a8b21fdca0f1d243775a00758105e0fcc58022aa t/prepend.t
 SHA1 4e7e00eccede7c3231e93ef0f3cb011423be4eb5 t/preprocess.t
 SHA1 a52d61ef92e6a88d694db0be4893b88417a72f9c t/rt29928.t
 SHA1 5186ff459c6042af11bca92decd271887c7b2eae t/safe.t
-SHA1 ff68263e220e1520b6bce0be44cfa3a495b734e2 t/safe2.t
+SHA1 aa0c9ff96d66c1f74fc7ac73ce173c9f741f552e t/safe2.t
 SHA1 b50a51577c0f2c13c9a48113dc7f061385a02219 t/safe3.t
 SHA1 16d3abf7588da4c0056c6c6b7818470c8601577c t/strict.t
-SHA1 349c218b648f5c2c4c7b851737deb76dd713ece8 t/taint.t
-SHA1 d0019f6328aab66a632784f0edd696d93908524e t/template-encoding.t
-SHA1 8ae35600fa46c2d95377ffd7a955148efa7ecc27 t/warnings.t
+SHA1 f325ebf739e2aec3ae62427aef0c4e86de58ad29 t/taint.t
+SHA1 4dac28585388482f1719f404cc357991af77e345 t/template-encoding.t
+SHA1 ce1da9bf88d6ea62d7c756f0d730dfb3c5888b6e t/warnings.t
 -----BEGIN PGP SIGNATURE-----
 
-iQJFBAEBCAAvFiEE2EtuRfhGgngE8PsARAzvLrlUzY4FAlw7qcoRHG1zY2hvdXRA
-Y3Bhbi5vcmcACgkQRAzvLrlUzY76Bw//Ux2l8YOnST/5VhHMkAgSrOgRn8z7HvYN
-CyinIsJY5hkPgIL8XA8+V6zKk7OY2YsM+jhFovh1K52yYkIjIjaIL7MTDmajhwEl
-5/W8MHl2ToVxulYOaD14plPlMQEuRfERVqJ5o+tSt55INRipC+XjnotRZZNiXIOO
-IgUINYgXfbHMb1T/v/lol2ahoyD8JHB9x1V01vRC9oEazYZZOCYW1pR7svQInzfS
-BwTt61zU2EVcdZkWpBLinXWF18KRJMSl/OY9tqyZs/IuLrSeWLq+LXfH4YknGi2t
-GE+jJ43midhmirJnZ3AMp3hYrcs+0s8eiZcQSPOnDpAgZ6X8x2lp4BwDHoS6ch/P
-slnbePrYCKLb9CKAv5VOumtDpweDtcQk99O0lPidHB9vZg+r1KsnolrJFiyvCOPY
-3K3j7G2R026w8ixTKPhl1En27wzL0xnmFrE08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
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/lib/Text/Template/Preprocess.pm 
new/Text-Template-1.55/lib/Text/Template/Preprocess.pm
--- old/Text-Template-1.54/lib/Text/Template/Preprocess.pm      2019-01-13 
22:12:48.000000000 +0100
+++ new/Text-Template-1.55/lib/Text/Template/Preprocess.pm      2019-02-25 
16:08:26.000000000 +0100
@@ -1,6 +1,6 @@
 
 package Text::Template::Preprocess;
-$Text::Template::Preprocess::VERSION = '1.54';
+$Text::Template::Preprocess::VERSION = '1.55';
 # ABSTRACT: Expand template text with embedded Perl
 
 use strict;
@@ -53,7 +53,7 @@
 
 =head1 VERSION
 
-version 1.54
+version 1.55
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/lib/Text/Template.pm 
new/Text-Template-1.55/lib/Text/Template.pm
--- old/Text-Template-1.54/lib/Text/Template.pm 2019-01-13 22:12:48.000000000 
+0100
+++ new/Text-Template-1.55/lib/Text/Template.pm 2019-02-25 16:08:26.000000000 
+0100
@@ -10,7 +10,7 @@
 #
 
 package Text::Template;
-$Text::Template::VERSION = '1.54';
+$Text::Template::VERSION = '1.55';
 # ABSTRACT: Expand template text with embedded Perl
 
 use strict;
@@ -611,7 +611,7 @@
 
 =head1 VERSION
 
-version 1.54
+version 1.55
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/t/nested-tags.t 
new/Text-Template-1.55/t/nested-tags.t
--- old/Text-Template-1.54/t/nested-tags.t      2019-01-13 22:12:48.000000000 
+0100
+++ new/Text-Template-1.55/t/nested-tags.t      2019-02-25 16:08:26.000000000 
+0100
@@ -6,7 +6,15 @@
 use strict;
 use warnings;
 use Text::Template;
-use Test::More;
+
+BEGIN {
+    # Minimum Test::More version; 0.94+ is required for `done_testing`
+    unless (eval { require Test::More; "$Test::More::VERSION" >= 0.94; }) {
+        Test::More::plan(skip_all => '[ Test::More v0.94+ ] is required for 
testing');
+    }
+
+    Test::More->import;
+}
 
 my $tmpl = Text::Template->new(
     TYPE       => 'STRING',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/t/safe2.t 
new/Text-Template-1.55/t/safe2.t
--- old/Text-Template-1.54/t/safe2.t    2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/t/safe2.t    2019-02-25 16:08:26.000000000 +0100
@@ -44,8 +44,11 @@
 
 # (4) When a package is specified in safe mode, we should use the
 # default safe root, after aliasing to the specified package
-$text = $t->fill_in(SAFE => $c, PACKAGE => 'Q');
-is $text, 'package is Q';
+TODO: {
+    local $TODO = "test fails when tested with TAP/Devel::Cover" if defined 
$Devel::Cover::VERSION;
+    $text = $t->fill_in(SAFE => $c, PACKAGE => 'Q');
+    is $text, 'package is Q';
+}
 
 # Now let's see if hash vars are installed properly into safe templates
 $t = Text::Template->new(
@@ -64,14 +67,20 @@
 is $text, 'hash is good6';
 
 # (7) Now in the default root of the safe compartment
-$text = $t->fill_in(HASH => { H => 'good7' }, SAFE => $c);
-is $text, 'hash is good7';
+TODO: {
+    local $TODO = "test fails when tested with TAP/Devel::Cover" if defined 
$Devel::Cover::VERSION;
+    $text = $t->fill_in(HASH => { H => 'good7' }, SAFE => $c);
+    is $text, 'hash is good7';
+}
 
 # (8) Now in the default root after aliasing to a package that
 # got the hash stuffed in
 our $H;
-$text = $t->fill_in(HASH => { H => 'good8' }, SAFE => $c, PACKAGE => 'Q2');
-is $text, 'hash is good8';
+TODO: {
+    local $TODO = "test fails when tested with TAP/Devel::Cover" if defined 
$Devel::Cover::VERSION;
+    $text = $t->fill_in(HASH => { H => 'good8' }, SAFE => $c, PACKAGE => 'Q2');
+    is $text, 'hash is good8';
+}
 
 # Now let's make sure that none of the packages leaked on each other.
 # (9) This var should NOT have been installed into the main package
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/t/taint.t 
new/Text-Template-1.55/t/taint.t
--- old/Text-Template-1.54/t/taint.t    2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/t/taint.t    2019-02-25 16:08:26.000000000 +0100
@@ -9,7 +9,15 @@
 
 use_ok 'Text::Template' or exit 1;
 
-my $tmpfile = File::Temp->new( $^O eq 'MSWin32' ? (DIR => '.') : () );
+if ($^O eq 'MSWin32') {
+    # File::Temp (for all versions up to at least 0.2308) is currently bugged 
under MSWin32/taint mode [as of 2018-09]
+    # ... fails unless "/tmp" on the current windows drive is a writable 
directory OR either $ENV{TMP} or $ENV{TEMP} are untainted and point to a 
writable directory
+    # ref: [File-Temp: Fails under -T, Windows 7, Strawberry Perl 
5.12.1](https://rt.cpan.org/Public/Bug/Display.html?id=60340)
+    ($ENV{TEMP}) = $ENV{TEMP} =~ m/^.*$/gmsx; # untaint $ENV{TEMP}
+    ($ENV{TMP})  = $ENV{TMP}  =~ m/^.*$/gmsx; # untaint $ENV{TMP}
+}
+
+my $tmpfile = File::Temp->new;
 my $file    = $tmpfile->filename;
 
 # makes its arguments tainted
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/t/template-encoding.t 
new/Text-Template-1.55/t/template-encoding.t
--- old/Text-Template-1.54/t/template-encoding.t        2019-01-13 
22:12:48.000000000 +0100
+++ new/Text-Template-1.55/t/template-encoding.t        2019-02-25 
16:08:26.000000000 +0100
@@ -3,10 +3,16 @@
 use utf8;
 use strict;
 use warnings;
-use Test::More tests => 3;
+use Test::More;
 use Encode;
 use File::Temp;
-use Test::More::UTF8;
+
+# Non-CORE module(s)
+unless (eval { require Test::More::UTF8; 1; } ) {
+    plan skip_all => '[ Test::More::UTF8 ] is required for testing';
+}
+
+plan tests => 3;
 
 use_ok 'Text::Template' or exit 1;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Text-Template-1.54/t/warnings.t 
new/Text-Template-1.55/t/warnings.t
--- old/Text-Template-1.54/t/warnings.t 2019-01-13 22:12:48.000000000 +0100
+++ new/Text-Template-1.55/t/warnings.t 2019-02-25 16:08:26.000000000 +0100
@@ -2,10 +2,24 @@
 
 use strict;
 use warnings;
-use Test::More;
-use Test::Warnings;
 use Text::Template;
 
+# Minimum Test::More version; 0.94+ is required for `done_testing`
+BEGIN {
+    unless (eval { require Test::More; "$Test::More::VERSION" >= 0.94; }) {
+        Test::More::plan(skip_all => '[ Test::More v0.94+ ] is required for 
testing');
+    }
+
+    Test::More->import;
+
+    # Non-CORE module(s)
+    unless (eval { require Test::Warnings; 1; }) {
+        plan(skip_all => '[ Test::Warnings ] is required for testing');
+    }
+
+    Test::Warnings->import;
+}
+
 my $template = <<'EOT';
 {{
 if ($good =~ /good/) {


Reply via email to