Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-File-Which for openSUSE:Factory 
checked in at 2021-05-12 19:31:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Which (Old)
 and      /work/SRC/openSUSE:Factory/.perl-File-Which.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-File-Which"

Wed May 12 19:31:27 2021 rev:30 rq:891832 version:1.27

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Which/perl-File-Which.changes  
2021-03-24 16:10:49.743805324 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-File-Which.new.2988/perl-File-Which.changes    
    2021-05-12 19:31:36.983185197 +0200
@@ -1,0 +2,17 @@
+Sun May  9 03:06:55 UTC 2021 - Tina M??ller <[email protected]>
+
+- updated to 1.27
+   see /usr/share/doc/packages/perl-File-Which/Changes
+
+  1.27      2021-05-07 04:54:31 -0600
+    - Production release identical to 1.26_01
+
+  1.26_01   2021-04-27 05:15:20 -0600
+    - Fix bug in test where test files sometimes didn't have
+      execute permissions (gh#31)
+    - Add Env as an explicit test prereq (gh#13, gh#32)
+
+  1.25_01   2021-04-25 07:35:41 -0600
+    - Tests should now work when Perl isn't in the PATH (gh#29, gh#30)
+
+-------------------------------------------------------------------

Old:
----
  File-Which-1.24.tar.gz

New:
----
  File-Which-1.27.tar.gz

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

Other differences:
------------------
++++++ perl-File-Which.spec ++++++
--- /var/tmp/diff_new_pack.1hjCOM/_old  2021-05-12 19:31:37.431183408 +0200
+++ /var/tmp/diff_new_pack.1hjCOM/_new  2021-05-12 19:31:37.439183376 +0200
@@ -18,7 +18,7 @@
 
 %define cpan_name File-Which
 Name:           perl-File-Which
-Version:        1.24
+Version:        1.27
 Release:        0
 Summary:        Perl implementation of the which utility as an API
 License:        Artistic-1.0 OR GPL-1.0-or-later

++++++ File-Which-1.24.tar.gz -> File-Which-1.27.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/Changes new/File-Which-1.27/Changes
--- old/File-Which-1.24/Changes 2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/Changes 2021-05-07 12:54:32.000000000 +0200
@@ -1,5 +1,16 @@
 Revision history for File-Which
 
+1.27      2021-05-07 04:54:31 -0600
+  - Production release identical to 1.26_01
+
+1.26_01   2021-04-27 05:15:20 -0600
+  - Fix bug in test where test files sometimes didn't have
+    execute permissions (gh#31)
+  - Add Env as an explicit test prereq (gh#13, gh#32)
+
+1.25_01   2021-04-25 07:35:41 -0600
+  - Tests should now work when Perl isn't in the PATH (gh#29, gh#30)
+
 1.24      2021-03-19 05:50:14 -0600
   - Documentation improvements
   - Moved repository to new github org
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/META.json 
new/File-Which-1.27/META.json
--- old/File-Which-1.24/META.json       2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/META.json       2021-05-07 12:54:32.000000000 +0200
@@ -52,6 +52,7 @@
       },
       "test" : {
          "requires" : {
+            "Env" : "0",
             "Test::More" : "0.47",
             "perl" : "5.006"
          }
@@ -69,9 +70,9 @@
          "web" : "https://github.com/uperl/File-Which";
       }
    },
-   "version" : "1.24",
-   "x_generated_by_perl" : "v5.33.7",
-   "x_serialization_backend" : "Cpanel::JSON::XS version 4.25",
+   "version" : "1.27",
+   "x_generated_by_perl" : "v5.33.9",
+   "x_serialization_backend" : "Cpanel::JSON::XS version 4.26",
    "x_spdx_expression" : "Artistic-1.0-Perl OR GPL-1.0-or-later",
    "x_use_unsafe_inc" : 0
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/META.yml new/File-Which-1.27/META.yml
--- old/File-Which-1.24/META.yml        2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/META.yml        2021-05-07 12:54:32.000000000 +0200
@@ -5,6 +5,7 @@
   - 'Adam Kennedy <[email protected]>'
   - 'Graham Ollis <[email protected]>'
 build_requires:
+  Env: '0'
   Test::More: '0.47'
   perl: '5.006'
 configure_requires:
@@ -24,8 +25,8 @@
   bugtracker: https://github.com/uperl/File-Which/issues
   homepage: https://metacpan.org/pod/File::Which
   repository: git://github.com/uperl/File-Which.git
-version: '1.24'
-x_generated_by_perl: v5.33.7
+version: '1.27'
+x_generated_by_perl: v5.33.9
 x_serialization_backend: 'YAML::Tiny version 1.73'
 x_spdx_expression: 'Artistic-1.0-Perl OR GPL-1.0-or-later'
 x_use_unsafe_inc: 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/Makefile.PL 
new/File-Which-1.27/Makefile.PL
--- old/File-Which-1.24/Makefile.PL     2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/Makefile.PL     2021-05-07 12:54:32.000000000 +0200
@@ -27,9 +27,10 @@
     "base" => 0
   },
   "TEST_REQUIRES" => {
+    "Env" => 0,
     "Test::More" => "0.47"
   },
-  "VERSION" => "1.24",
+  "VERSION" => "1.27",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -37,6 +38,7 @@
 
 
 my %FallbackPrereqs = (
+  "Env" => 0,
   "Test::More" => "0.47",
   "base" => 0
 );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/README new/File-Which-1.27/README
--- old/File-Which-1.24/README  2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/README  2021-05-07 12:54:32.000000000 +0200
@@ -4,7 +4,7 @@
 
 VERSION
 
-    version 1.24
+    version 1.27
 
 SYNOPSIS
 
@@ -167,7 +167,7 @@
 
     Bugs should be reported via the GitHub issue tracker
 
-    https://github.com/plicease/File-Which/issues
+    https://github.com/uperl/File-Which/issues
 
     For other issues, contact the maintainer.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/dist.ini new/File-Which-1.27/dist.ini
--- old/File-Which-1.24/dist.ini        2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/dist.ini        2021-05-07 12:54:32.000000000 +0200
@@ -5,7 +5,7 @@
 license          = Perl_5
 copyright_holder = Per Einar Ellefsen <[email protected]>
 copyright_year   = 2002
-version          = 1.24
+version          = 1.27
 
 [@Author::Plicease]
 :version           = 2.44
@@ -25,9 +25,7 @@
 remove = warnings
 remove = constant
 remove = Exporter
-remove = Getopt::Std
 remove = File::Spec
-remove = Env
 
 [Author::Plicease::Upload]
 cpan = 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/lib/File/Which.pm 
new/File-Which-1.27/lib/File/Which.pm
--- old/File-Which-1.24/lib/File/Which.pm       2021-03-19 12:50:16.000000000 
+0100
+++ new/File-Which-1.27/lib/File/Which.pm       2021-05-07 12:54:32.000000000 
+0200
@@ -6,7 +6,7 @@
 use File::Spec ();
 
 # ABSTRACT: Perl implementation of the which utility as an API
-our $VERSION = '1.24'; # VERSION
+our $VERSION = '1.27'; # VERSION
 
 
 our @EXPORT    = 'which';
@@ -159,7 +159,7 @@
 
 =head1 VERSION
 
-version 1.24
+version 1.27
 
 =head1 SYNOPSIS
 
@@ -323,7 +323,7 @@
 
 Bugs should be reported via the GitHub issue tracker
 
-L<https://github.com/plicease/File-Which/issues>
+L<https://github.com/uperl/File-Which/issues>
 
 For other issues, contact the maintainer.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/t/00_diag.t 
new/File-Which-1.27/t/00_diag.t
--- old/File-Which-1.24/t/00_diag.t     2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/t/00_diag.t     2021-05-07 12:54:32.000000000 +0200
@@ -10,6 +10,7 @@
 my $post_diag;
 
 $modules{$_} = $_ for qw(
+  Env
   ExtUtils::MakeMaker
   Test::More
 );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.24/t/file_which.t 
new/File-Which-1.27/t/file_which.t
--- old/File-Which-1.24/t/file_which.t  2021-03-19 12:50:16.000000000 +0100
+++ new/File-Which-1.27/t/file_which.t  2021-05-07 12:54:32.000000000 +0200
@@ -5,6 +5,21 @@
 use File::Spec ();
 use File::Which qw(which where);
 
+unless (File::Which::IS_VMS or File::Which::IS_MAC or File::Which::IS_WIN ) {
+  foreach my $path (qw(
+                    corpus/test-bin-unix/test3
+                    corpus/test-bin-unix/all
+                    corpus/test-bin-unix/0
+                    corpus/test-bin-win/0.exe
+                    corpus/test-bin-win/all.bat
+                    corpus/test-bin-win/all.exe
+                    corpus/test-bin-win/test1.exe
+                    corpus/test-bin-win/test2.bat
+  )) {
+    chmod 0755, $path;
+  }
+}
+
 {
 
   local $ENV{PATH} = $ENV{PATH};
@@ -26,16 +41,6 @@
   # Set up for running the test application
   @PATH = $test_bin;
   push @PATH, File::Spec->catdir( 'corpus', 'test-bin-win' ) if 
File::Which::IS_CYG;
-  unless (
-    File::Which::IS_VMS
-    or
-    File::Which::IS_MAC
-    or
-    File::Which::IS_WIN
-  ) {
-    my $test3 = File::Spec->catfile( $test_bin, 'test3' );
-    chmod 0755, $test3;
-  }
 
   SKIP: {
     skip("Not on DOS-like filesystem", 3) unless File::Which::IS_WIN;
@@ -100,16 +105,6 @@
   # Set up for running the test application
   @PATH = ($test_bin);
   push @PATH, File::Spec->catdir( 'corpus', 'test-bin-win' ) if $^O =~ 
/^(cygwin|msys)$/;
-  unless (
-    File::Which::IS_VMS
-    or
-    File::Which::IS_MAC
-    or
-    File::Which::IS_WIN
-  ) {
-    my $all = File::Spec->catfile( $test_bin, 'all' );
-    chmod 0755, $all;
-  }
 
   my @result = which('all');
   like( $result[0], qr/all/i, 'Found all' );
@@ -139,10 +134,24 @@
 
 }
 
-{
+# Look for Perl itself
+SKIP: {
+  local $ENV{PATH} = $ENV{PATH};
+  my $tool;
+
+  {
+    my ($volume,$directories,$file) = File::Spec->splitpath($^X);
+    $tool = $file;
+    my $dir = File::Spec->catpath($volume, $directories);
+    if(defined $dir && length $dir)
+    {
+      #diag "temporarily adding $dir to PATH";
+      push @PATH, $dir;
+    }
+  }
+
+  skip("Not able to find the name of Perl", 3) unless defined $tool;
 
-  # Look for a very common program
-  my $tool = 'perl';
   my $path = which($tool);
   ok( defined $path, "Found path to $tool" );
   ok( $path, "Found path to $tool" );

Reply via email to