Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Test-Compile for 
openSUSE:Factory checked in at 2023-04-20 15:15:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Compile (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Compile.new.2023 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Compile"

Thu Apr 20 15:15:05 2023 rev:17 rq:1080871 version:3.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Compile/perl-Test-Compile.changes      
2023-04-03 17:47:39.190918035 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Test-Compile.new.2023/perl-Test-Compile.changes
    2023-04-20 15:16:16.310593775 +0200
@@ -1,0 +2,12 @@
+Thu Apr  6 03:10:25 UTC 2023 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 3.2.2
+   see /usr/share/doc/packages/perl-Test-Compile/Changes
+
+  v3.2.2         2023-04-06
+      - Finally understand (and fix?) the test failures on windows
+
+  v3.2.1         2023-04-05
+      - Try to resolve some issues highlighted by CpanTesters
+
+-------------------------------------------------------------------

Old:
----
  Test-Compile-v3.2.0.tar.gz

New:
----
  Test-Compile-v3.2.2.tar.gz

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

Other differences:
------------------
++++++ perl-Test-Compile.spec ++++++
--- /var/tmp/diff_new_pack.bOcEdI/_old  2023-04-20 15:16:16.754596786 +0200
+++ /var/tmp/diff_new_pack.bOcEdI/_new  2023-04-20 15:16:16.762596841 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name Test-Compile
 Name:           perl-Test-Compile
-Version:        3.2.0
+Version:        3.2.2
 Release:        0
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Assert that your Perl files compile OK

++++++ Test-Compile-v3.2.0.tar.gz -> Test-Compile-v3.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Compile-v3.2.0/Changes 
new/Test-Compile-v3.2.2/Changes
--- old/Test-Compile-v3.2.0/Changes     2023-04-02 22:14:39.000000000 +0200
+++ new/Test-Compile-v3.2.2/Changes     2023-04-05 22:50:07.000000000 +0200
@@ -1,5 +1,11 @@
 Revision history for Perl extension Test-Compile
 
+v3.2.2   2023-04-06
+    - Finally understand (and fix?) the test failures on windows
+
+v3.2.1   2023-04-05
+    - Try to resolve some issues highlighted by CpanTesters
+
 v3.2.0   2023-04-03
     - Sort the output of all_pl_files() and all_pm_files()
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Compile-v3.2.0/META.json 
new/Test-Compile-v3.2.2/META.json
--- old/Test-Compile-v3.2.0/META.json   2023-04-02 22:14:39.000000000 +0200
+++ new/Test-Compile-v3.2.2/META.json   2023-04-05 22:50:07.000000000 +0200
@@ -31,11 +31,11 @@
    "provides" : {
       "Test::Compile" : {
          "file" : "lib/Test/Compile.pm",
-         "version" : "v3.2.0"
+         "version" : "v3.2.2"
       },
       "Test::Compile::Internal" : {
          "file" : "lib/Test/Compile/Internal.pm",
-         "version" : "v3.2.0"
+         "version" : "v3.2.2"
       }
    },
    "release_status" : "stable",
@@ -47,6 +47,6 @@
          "url" : "http://github.com/egiles/test-compile";
       }
    },
-   "version" : "v3.2.0",
+   "version" : "v3.2.2",
    "x_serialization_backend" : "JSON::PP version 4.04"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Compile-v3.2.0/META.yml 
new/Test-Compile-v3.2.2/META.yml
--- old/Test-Compile-v3.2.0/META.yml    2023-04-02 22:14:39.000000000 +0200
+++ new/Test-Compile-v3.2.2/META.yml    2023-04-05 22:50:07.000000000 +0200
@@ -16,10 +16,10 @@
 provides:
   Test::Compile:
     file: lib/Test/Compile.pm
-    version: v3.2.0
+    version: v3.2.2
   Test::Compile::Internal:
     file: lib/Test/Compile/Internal.pm
-    version: v3.2.0
+    version: v3.2.2
 requires:
   Exporter: '5.68'
   parent: '0.225'
@@ -27,5 +27,5 @@
 resources:
   license: http://dev.perl.org/licenses/
   repository: http://github.com/egiles/test-compile
-version: v3.2.0
+version: v3.2.2
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Compile-v3.2.0/lib/Test/Compile/Internal.pm 
new/Test-Compile-v3.2.2/lib/Test/Compile/Internal.pm
--- old/Test-Compile-v3.2.0/lib/Test/Compile/Internal.pm        2023-04-02 
22:14:39.000000000 +0200
+++ new/Test-Compile-v3.2.2/lib/Test/Compile/Internal.pm        2023-04-05 
22:50:07.000000000 +0200
@@ -3,8 +3,9 @@
 use warnings;
 use strict;
 
-use version; our $VERSION = version->declare("v3.2.0");
+use version; our $VERSION = version->declare("v3.2.2");
 use File::Find;
+use File::Spec;
 use Test::Builder;
 use IPC::Open3 ();
 
@@ -228,25 +229,26 @@
 
 =over 4
 
-=item C<done_testing()>
+=item C<ok($test, $name)>
 
-Declares that you are done testing, no more tests will be run after this point.
+Your basic test. Pass if C<$test> is true, fail if C<$test> is false. Just
+like C<Test::Simple>'s C<ok()>.
 
 =cut
-sub done_testing {
+sub ok {
     my ($self, @args) = @_;
-    $self->{test}->done_testing(@args);
+    $self->{test}->ok(@args);
 }
 
-=item C<ok($test, $name)>
+=item C<done_testing()>
 
-Your basic test. Pass if C<$test> is true, fail if C<$test> is false. Just
-like C<Test::Simple>'s C<ok()>.
+Declares that you got to the end of your test plan, no more tests will be run 
after
+this point.
 
 =cut
-sub ok {
+sub done_testing {
     my ($self, @args) = @_;
-    $self->{test}->ok(@args);
+    $self->{test}->done_testing(@args);
 }
 
 =item C<plan(tests =E<gt> $count)>
@@ -328,8 +330,9 @@
     my ($self, @searchlist) = @_;
 
     my @filelist;
-    my $findfunc = sub {
-        my $fname = $File::Find::name;
+    my $addFile = sub {
+        my ($fname) = @_;
+
         if ( -f $fname ) {
             if ( !($fname =~ m/CVS|\.svn|\.git/) ) {
                 push @filelist, $fname;
@@ -337,8 +340,13 @@
         }
     };
 
-    no warnings 'File::Find';
-    find({wanted => $findfunc, no_chdir => 1}, @searchlist);
+    for my $item ( @searchlist ) {
+        $addFile->($item);
+        if ( -d $item ) {
+            no warnings 'File::Find';
+            find({wanted => sub{$addFile->($File::Find::name)}, no_chdir => 
1}, $item);
+        }
+    }
     return (sort @filelist);
 }
 
@@ -377,7 +385,7 @@
     my $prefix = -e 'blib' ? "blib" : ".";
     for my $dir ( @dirs ) {
         my $location = File::Spec->catfile($prefix, $dir);
-       if ( -e $location ) {
+        if ( -e $location ) {
             push @locations, $location;
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Compile-v3.2.0/lib/Test/Compile.pm 
new/Test-Compile-v3.2.2/lib/Test/Compile.pm
--- old/Test-Compile-v3.2.0/lib/Test/Compile.pm 2023-04-02 22:14:39.000000000 
+0200
+++ new/Test-Compile-v3.2.2/lib/Test/Compile.pm 2023-04-05 22:50:07.000000000 
+0200
@@ -3,7 +3,7 @@
 use warnings;
 use strict;
 
-use version; our $VERSION = version->declare("v3.2.0");
+use version; our $VERSION = version->declare("v3.2.2");
 use parent 'Exporter';
 use Test::Compile::Internal;
 
@@ -182,8 +182,8 @@
 
 B<This function is deprecated>.  Please use
 L<Test::Compile::Internal/all_pm_files_ok(@dirs)> instead.  It's pretty much 
the
-same, except you can't specify a test name, and it can handle more than one 
file at a
-time.
+same, except it won't allow you to specify a test name, and it can handle more 
than
+one file at a time.
 
 C<pm_file_ok()> will okay the test if $filename compiles as a perl module.
 
@@ -243,9 +243,6 @@
 defaults to F<blib> if F<blib> exists, or else F<lib> if not. Skips any files
 in F<CVS>, F<.svn>, or F<.git> directories.
 
-The order of the files returned is machine-dependent. If you want them
-sorted, you'll have to sort them yourself.
-
 =cut
 
 sub all_pm_files {
@@ -265,9 +262,6 @@
 
 Skips any files in F<CVS>, F<.svn>, or F<.git> directories.
 
-The order of the files returned is machine-dependent. If you want them
-sorted, you'll have to sort them yourself.
-
 =cut
 
 sub all_pl_files {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Test-Compile-v3.2.0/t/scripts/messWithLib.pl 
new/Test-Compile-v3.2.2/t/scripts/messWithLib.pl
--- old/Test-Compile-v3.2.0/t/scripts/messWithLib.pl    2023-04-02 
22:14:39.000000000 +0200
+++ new/Test-Compile-v3.2.2/t/scripts/messWithLib.pl    2023-04-05 
22:50:07.000000000 +0200
@@ -6,9 +6,10 @@
     require parent;
     require Test::Builder;
     require File::Find;
+    require File::Spec;
     require IPC::Open3;
     require version;
-    @INC = grep { $_ eq 'blib/lib' } @INC;
+    @INC = grep { $_ =~ m/blib.lib/ } @INC;
 }
 use Test::Compile;
 

Reply via email to