Hello community,

here is the log from the commit of package perl-File-Which for openSUSE:Factory 
checked in at 2016-06-03 16:37:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Which (Old)
 and      /work/SRC/openSUSE:Factory/.perl-File-Which.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-File-Which"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Which/perl-File-Which.changes  
2015-07-27 09:08:54.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-File-Which.new/perl-File-Which.changes     
2016-06-03 16:37:07.000000000 +0200
@@ -1,0 +2,17 @@
+Tue May 31 18:30:51 UTC 2016 - [email protected]
+
+- fix test suite with a chmod
+
+-------------------------------------------------------------------
+Tue May 31 10:26:09 UTC 2016 - [email protected]
+
+- updated to 1.21
+   see /usr/share/doc/packages/perl-File-Which/Changes
+
+  1.21      2016-03-02 14:20:43 -0500
+    - Workaround for nutty cygwin filesystem rules
+  
+  1.20      2016-03-01 15:06:54 -0500
+    - Fix bug where executable named "0" would not be found (gh#7)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-File-Which.spec ++++++
--- /var/tmp/diff_new_pack.DkygkM/_old  2016-06-03 16:37:08.000000000 +0200
+++ /var/tmp/diff_new_pack.DkygkM/_new  2016-06-03 16:37:08.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-File-Which
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-File-Which
-Version:        1.19
+Version:        1.21
 Release:        0
 %define cpan_name File-Which
 Summary:        Perl implementation of the which utility as an API
@@ -33,12 +33,12 @@
 %{perl_requires}
 
 %description
-the File::Which manpage finds the full or relative paths to executable
-programs on the system. This is normally the function of 'which' utility.
-'which' is typically implemented as either a program or a built in shell
-command. On some platforms, such as Microsoft Windows it is not provided as
-part of the core operating system. This module provides a consistent API to
-this functionality regardless of the underlying platform.
+File::Which finds the full or relative paths to executable programs on the
+system. This is normally the function of 'which' utility. 'which' is
+typically implemented as either a program or a built in shell command. On
+some platforms, such as Microsoft Windows it is not provided as part of the
+core operating system. This module provides a consistent API to this
+functionality regardless of the underlying platform.
 
 The focus of this module is correctness and portability. As a consequence
 platforms where the current directory is implicitly part of the search path
@@ -48,12 +48,15 @@
 explicitly added to the path.
 
 If you need a portable 'which' on the command line in an environment that
-does not provide it, install the App::pwhich manpage which provides a
-command line interface to this API.
+does not provide it, install App::pwhich which provides a command line
+interface to this API.
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+# MANUAL BEGIN
+chmod a+x corpus/test-bin-unix/0
+# MANUAL END
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor

++++++ File-Which-1.19.tar.gz -> File-Which-1.21.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/Changes new/File-Which-1.21/Changes
--- old/File-Which-1.19/Changes 2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/Changes 2016-03-02 20:20:45.000000000 +0100
@@ -1,5 +1,11 @@
 Revision history for File-Which
 
+1.21      2016-03-02 14:20:43 -0500
+  - Workaround for nutty cygwin filesystem rules
+
+1.20      2016-03-01 15:06:54 -0500
+  - Fix bug where executable named "0" would not be found (gh#7)
+
 1.19      2015-07-21 09:23:54 -0400
   - Relax required Perl back to 5.6.x as this module is upriver to
     a large number of modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/MANIFEST new/File-Which-1.21/MANIFEST
--- old/File-Which-1.19/MANIFEST        2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/MANIFEST        2016-03-02 20:20:45.000000000 +0100
@@ -1,4 +1,4 @@
-# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.036.
+# This file was automatically generated by Dist::Zilla::Plugin::Manifest 
v5.043.
 Changes
 INSTALL
 LICENSE
@@ -7,23 +7,24 @@
 META.yml
 Makefile.PL
 README
+corpus/test-bin-unix/0
+corpus/test-bin-unix/README.txt
+corpus/test-bin-unix/all
+corpus/test-bin-unix/test3
+corpus/test-bin-unix/test4/foo.txt
+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
 cpanfile
 dist.ini
 lib/File/Which.pm
 t/00_diag.t
-t/00_diag.txt
 t/01_compile.t
 t/02_all.t
 t/03_simple.t
 t/04_pwhich.t
-t/test-bin/README.txt
-t/test-bin/all
-t/test-bin/all.bat
-t/test-bin/all.exe
-t/test-bin/test1.exe
-t/test-bin/test2.bat
-t/test-bin/test3
-t/test-bin/test4/foo.txt
 xt/release/eol.t
 xt/release/fixme.t
 xt/release/no_tabs.t
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/META.json 
new/File-Which-1.21/META.json
--- old/File-Which-1.19/META.json       2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/META.json       2016-03-02 20:20:45.000000000 +0100
@@ -6,13 +6,13 @@
       "Graham Ollis <[email protected]>"
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Dist::Zilla version 5.036, CPAN::Meta::Converter version 
2.150001",
+   "generated_by" : "Dist::Zilla version 5.043, CPAN::Meta::Converter version 
2.150005",
    "license" : [
       "perl_5"
    ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec";,
-      "version" : "2"
+      "version" : 2
    },
    "name" : "File-Which",
    "prereqs" : {
@@ -22,6 +22,24 @@
             "perl" : "5.006"
          }
       },
+      "develop" : {
+         "recommends" : {
+            "YAML::XS" : "0"
+         },
+         "requires" : {
+            "FindBin" : "0",
+            "Test::EOL" : "0",
+            "Test::Fixme" : "0.07",
+            "Test::More" : "0.47",
+            "Test::NoTabs" : "0",
+            "Test::Pod" : "0",
+            "Test::Pod::Coverage" : "0",
+            "Test::Pod::Spelling::CommonMistakes" : "0",
+            "Test::Spelling" : "0",
+            "Test::Strict" : "0",
+            "YAML" : "0"
+         }
+      },
       "runtime" : {
          "requires" : {
             "perl" : "5.006"
@@ -46,6 +64,6 @@
          "web" : "https://github.com/plicease/File-Which";
       }
    },
-   "version" : "1.19"
+   "version" : "1.21"
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/META.yml new/File-Which-1.21/META.yml
--- old/File-Which-1.19/META.yml        2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/META.yml        2016-03-02 20:20:45.000000000 +0100
@@ -11,7 +11,7 @@
   ExtUtils::MakeMaker: '0'
   perl: '5.006'
 dynamic_config: 0
-generated_by: 'Dist::Zilla version 5.036, CPAN::Meta::Converter version 
2.150001'
+generated_by: 'Dist::Zilla version 5.043, CPAN::Meta::Converter version 
2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,4 +23,4 @@
   bugtracker: https://github.com/plicease/File-Which/issues
   homepage: http://perl.wdlabs.com/File-Which
   repository: git://github.com/plicease/File-Which.git
-version: '1.19'
+version: '1.21'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/Makefile.PL 
new/File-Which-1.21/Makefile.PL
--- old/File-Which-1.19/Makefile.PL     2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/Makefile.PL     2016-03-02 20:20:45.000000000 +0100
@@ -1,10 +1,11 @@
+use strict; use warnings;
 BEGIN {
   unless(eval q{ use 5.006; 1}) {
     print "Perl 5.006 or better required\n";
     exit;
   }
 }
-# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.036.
+# This file was automatically generated by Dist::Zilla::Plugin::MakeMaker 
v5.043.
 use strict;
 use warnings;
 
@@ -19,7 +20,6 @@
     "ExtUtils::MakeMaker" => 0
   },
   "DISTNAME" => "File-Which",
-  "EXE_FILES" => [],
   "LICENSE" => "perl",
   "MIN_PERL_VERSION" => "5.006",
   "NAME" => "File::Which",
@@ -27,7 +27,7 @@
   "TEST_REQUIRES" => {
     "Test::More" => "0.47"
   },
-  "VERSION" => "1.19",
+  "VERSION" => "1.21",
   "test" => {
     "TESTS" => "t/*.t"
   }
@@ -35,7 +35,6 @@
 
 
 my %FallbackPrereqs = (
-  "ExtUtils::MakeMaker" => 0,
   "Test::More" => "0.47"
 );
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/README new/File-Which-1.21/README
--- old/File-Which-1.19/README  2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/README  2016-03-02 20:20:45.000000000 +0100
@@ -4,7 +4,7 @@
 
 VERSION
 
-    version 1.19
+    version 1.21
 
 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/corpus/test-bin-unix/README.txt 
new/File-Which-1.21/corpus/test-bin-unix/README.txt
--- old/File-Which-1.19/corpus/test-bin-unix/README.txt 1970-01-01 
01:00:00.000000000 +0100
+++ new/File-Which-1.21/corpus/test-bin-unix/README.txt 2016-03-02 
20:20:45.000000000 +0100
@@ -0,0 +1,5 @@
+The files included in this directory are only used for testing: they
+should not be executed: especially the *.exe files which aren't really
+compiled programs, only empty files with special filenames (as
+File::Which only cares about special attributes). Do NOT try to run
+them.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/corpus/test-bin-unix/all 
new/File-Which-1.21/corpus/test-bin-unix/all
--- old/File-Which-1.19/corpus/test-bin-unix/all        1970-01-01 
01:00:00.000000000 +0100
+++ new/File-Which-1.21/corpus/test-bin-unix/all        2016-03-02 
20:20:45.000000000 +0100
@@ -0,0 +1,2 @@
+#!bash
+# above shebang needed so Cygwin treats it as -x
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/corpus/test-bin-unix/test3 
new/File-Which-1.21/corpus/test-bin-unix/test3
--- old/File-Which-1.19/corpus/test-bin-unix/test3      1970-01-01 
01:00:00.000000000 +0100
+++ new/File-Which-1.21/corpus/test-bin-unix/test3      2016-03-02 
20:20:45.000000000 +0100
@@ -0,0 +1,5 @@
+#!sh
+
+# ^ above shebang is needed for Cygwin
+echo "Just testing File::Which"
+echo "Nothing interesting here"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/corpus/test-bin-unix/test4/foo.txt 
new/File-Which-1.21/corpus/test-bin-unix/test4/foo.txt
--- old/File-Which-1.19/corpus/test-bin-unix/test4/foo.txt      1970-01-01 
01:00:00.000000000 +0100
+++ new/File-Which-1.21/corpus/test-bin-unix/test4/foo.txt      2016-03-02 
20:20:45.000000000 +0100
@@ -0,0 +1 @@
+This file only needs to be here to test4 dir is copied over.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/corpus/test-bin-win/test1.exe 
new/File-Which-1.21/corpus/test-bin-win/test1.exe
--- old/File-Which-1.19/corpus/test-bin-win/test1.exe   1970-01-01 
01:00:00.000000000 +0100
+++ new/File-Which-1.21/corpus/test-bin-win/test1.exe   2016-03-02 
20:20:45.000000000 +0100
@@ -0,0 +1,2 @@
+DO NOT RUN THIS PROGRAM
+IT IS ONLY TO TEST File::Which
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/corpus/test-bin-win/test2.bat 
new/File-Which-1.21/corpus/test-bin-win/test2.bat
--- old/File-Which-1.19/corpus/test-bin-win/test2.bat   1970-01-01 
01:00:00.000000000 +0100
+++ new/File-Which-1.21/corpus/test-bin-win/test2.bat   2016-03-02 
20:20:45.000000000 +0100
@@ -0,0 +1,3 @@
+@echo off
+echo This is for testing File::Which
+echo Nothing interesting here!
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/cpanfile new/File-Which-1.21/cpanfile
--- old/File-Which-1.19/cpanfile        2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/cpanfile        2016-03-02 20:20:45.000000000 +0100
@@ -9,3 +9,21 @@
   requires "ExtUtils::MakeMaker" => "0";
   requires "perl" => "5.006";
 };
+
+on 'develop' => sub {
+  requires "FindBin" => "0";
+  requires "Test::EOL" => "0";
+  requires "Test::Fixme" => "0.07";
+  requires "Test::More" => "0.47";
+  requires "Test::NoTabs" => "0";
+  requires "Test::Pod" => "0";
+  requires "Test::Pod::Coverage" => "0";
+  requires "Test::Pod::Spelling::CommonMistakes" => "0";
+  requires "Test::Spelling" => "0";
+  requires "Test::Strict" => "0";
+  requires "YAML" => "0";
+};
+
+on 'develop' => sub {
+  recommends "YAML::XS" => "0";
+};
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/dist.ini new/File-Which-1.21/dist.ini
--- old/File-Which-1.19/dist.ini        2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/dist.ini        2016-03-02 20:20:45.000000000 +0100
@@ -5,14 +5,16 @@
 license          = Perl_5
 copyright_holder = Per Einar Ellefsen <[email protected]>
 copyright_year   = 2002
-version          = 1.19
+version          = 1.21
 
 [@Author::Plicease]
-:version           = 1.83
+:version           = 2.00
+travis_status      = 1
 release_tests      = 1
 installer          = MakeMaker
 release_tests_skip = changes\.t
 upgrade            = Test::More = 0.47
+appveyor           = rxvw61235dcy61gq
 
 [RemovePrereqs]
 remove = strict
@@ -21,9 +23,11 @@
 remove = Exporter
 remove = Getopt::Std
 remove = File::Spec
+remove = Env
 
 [Author::Plicease::Upload]
 cpan = 1
 
 [OnlyCorePrereqs]
 starting_version = 5.006002
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/lib/File/Which.pm 
new/File-Which-1.21/lib/File/Which.pm
--- old/File-Which-1.19/lib/File/Which.pm       2015-07-21 15:23:57.000000000 
+0200
+++ new/File-Which-1.21/lib/File/Which.pm       2016-03-02 20:20:45.000000000 
+0100
@@ -6,7 +6,7 @@
 use File::Spec ();
 
 # ABSTRACT: Perl implementation of the which utility as an API
-our $VERSION = '1.19'; # VERSION
+our $VERSION = '1.21'; # VERSION
 
 
 our @ISA       = 'Exporter';
@@ -43,7 +43,8 @@
 sub which {
   my ($exec) = @_;
 
-  return undef unless $exec;
+  return undef unless defined $exec;
+  return undef if $exec eq '';
 
   my $all = wantarray;
   my @results = ();
@@ -145,7 +146,7 @@
 
 =head1 VERSION
 
-version 1.19
+version 1.21
 
 =head1 SYNOPSIS
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/00_diag.t 
new/File-Which-1.21/t/00_diag.t
--- old/File-Which-1.19/t/00_diag.t     2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/t/00_diag.t     2016-03-02 20:20:45.000000000 +0100
@@ -2,24 +2,21 @@
 use warnings;
 use Config;
 use Test::More tests => 1;
-BEGIN {
-  my @modules;
-  eval q{
-    require FindBin;
-    require File::Spec;
-    1;
-  } || die $@;
-  do {
-    my $fh;
-    if(open($fh, '<', File::Spec->catfile($FindBin::Bin, '00_diag.pre.txt')))
-    {
-      @modules = <$fh>;
-      close $fh;
-      chomp @modules;
-    }
-  };
-  eval qq{ require $_ } for @modules;
-};
+
+# This .t file is generated.
+# make changes instead to dist.ini
+
+my %modules;
+my $post_diag;
+
+$modules{$_} = $_ for qw(
+  ExtUtils::MakeMaker
+  Test::More
+);
+
+
+
+my @modules = sort keys %modules;
 
 sub spacer ()
 {
@@ -30,15 +27,6 @@
 
 pass 'okay';
 
-my @modules;
-do {
-  my $fh;
-  open($fh, '<', File::Spec->catfile($FindBin::Bin, '00_diag.txt'));
-  @modules = <$fh>;
-  close $fh;
-  chomp @modules;
-};
-
 my $max = 1;
 $max = $_ > $max ? $_ : $max for map { length $_ } @modules;
 our $format = "%-${max}s %s"; 
@@ -68,10 +56,7 @@
   spacer;
 }
 
-diag sprintf $format, 'perl ', $^V;
-
-require(File::Spec->catfile($FindBin::Bin, '00_diag.pl'))
-  if -e File::Spec->catfile($FindBin::Bin, '00_diag.pl');
+diag sprintf $format, 'perl ', $];
 
 foreach my $module (@modules)
 {
@@ -87,5 +72,11 @@
   }
 }
 
+if($post_diag)
+{
+  spacer;
+  $post_diag->();
+}
+
 spacer;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/00_diag.txt 
new/File-Which-1.21/t/00_diag.txt
--- old/File-Which-1.19/t/00_diag.txt   2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/t/00_diag.txt   1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-ExtUtils::MakeMaker
-Test::More
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/02_all.t 
new/File-Which-1.21/t/02_all.t
--- old/File-Which-1.19/t/02_all.t      2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/t/02_all.t      2016-03-02 20:20:45.000000000 +0100
@@ -1,16 +1,17 @@
 use strict;
 use warnings;
-
-use Test::More tests => 4;
+use Env qw( @PATH );
+use Test::More tests => 6;
 use File::Spec ();
 use File::Which qw(which where);
 
 # Where is the test application
-my $test_bin = File::Spec->catdir( 't', 'test-bin' );
+my $test_bin = File::Spec->catdir( 'corpus', $^O =~ /^(MSWin32|dos|os2)$/ ? 
'test-bin-win' : 'test-bin-unix' );
 ok( -d $test_bin, 'Found test-bin' );
 
 # Set up for running the test application
-local $ENV{PATH} = $test_bin;
+@PATH = ($test_bin);
+push @PATH, File::Spec->catdir( 'corpus', 'test-bin-win' ) if $^O eq 'cygwin';
 unless (
   File::Which::IS_VMS
   or
@@ -32,3 +33,18 @@
   scalar(where('all')),
   'Scalar which result matches where result',
 );
+
+my $zero = which '0';
+
+ok(
+  $zero,
+  "zero = $zero"
+);
+  
+my $empty_string = which '';
+
+is(
+  $empty_string,
+  undef,
+  "empty string"
+);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/03_simple.t 
new/File-Which-1.21/t/03_simple.t
--- old/File-Which-1.19/t/03_simple.t   2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/t/03_simple.t   2016-03-02 20:20:45.000000000 +0100
@@ -3,6 +3,7 @@
 use Test::More tests => 10;
 use File::Spec  ();
 use File::Which qw{which where};
+use Env qw( @PATH );
 
 use constant IS_VMS    => ($^O eq 'VMS');
 use constant IS_MAC    => ($^O eq 'MacOS');
@@ -20,11 +21,12 @@
 );
 
 # Where is the test application
-my $test_bin = File::Spec->catdir( 't', 'test-bin' );
+my $test_bin = File::Spec->catdir( 'corpus', IS_DOS ? 'test-bin-win' : 
'test-bin-unix' );
 ok( -d $test_bin, 'Found test-bin' );
 
 # Set up for running the test application
-local $ENV{PATH} = $test_bin;
+@PATH = $test_bin;
+push @PATH, File::Spec->catdir( 'corpus', 'test-bin-win' ) if IS_CYGWIN;
 unless (
   File::Which::IS_VMS
   or
@@ -38,8 +40,8 @@
 
 SKIP: {
   skip("Not on DOS-like filesystem", 3) unless IS_DOS;
-  is( lc scalar which('test1'), 't\test-bin\test1.exe', 'Looking for 
test1.exe' );
-  is( lc scalar which('test2'), 't\test-bin\test2.bat', 'Looking for 
test2.bat' );
+  is( lc scalar which('test1'), 'corpus\test-bin-win\test1.exe', 'Looking for 
test1.exe' );
+  is( lc scalar which('test2'), 'corpus\test-bin-win\test2.bat', 'Looking for 
test2.bat' );
   is( scalar which('test3'), undef, 'test3 returns undef' );
 }
 
@@ -60,7 +62,7 @@
   # Cygwin: should make test1.exe transparent
   is(
     scalar(which('test1')),
-    File::Spec->catfile( $test_bin, 'test1' ),
+    File::Spec->catfile( 'corpus', 'test-bin-win', 'test1' ),
     'Looking for test1 on Cygwin: transparent to test1.exe',
   );
   is(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/test-bin/README.txt 
new/File-Which-1.21/t/test-bin/README.txt
--- old/File-Which-1.19/t/test-bin/README.txt   2015-07-21 15:23:57.000000000 
+0200
+++ new/File-Which-1.21/t/test-bin/README.txt   1970-01-01 01:00:00.000000000 
+0100
@@ -1,5 +0,0 @@
-The files included in this directory are only used for testing: they
-should not be executed: especially the *.exe files which aren't really
-compiled programs, only empty files with special filenames (as
-File::Which only cares about special attributes). Do NOT try to run
-them.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/test-bin/all 
new/File-Which-1.21/t/test-bin/all
--- old/File-Which-1.19/t/test-bin/all  2015-07-21 15:23:57.000000000 +0200
+++ new/File-Which-1.21/t/test-bin/all  1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-#!bash
-# above shebang needed so Cygwin treats it as -x
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/test-bin/test1.exe 
new/File-Which-1.21/t/test-bin/test1.exe
--- old/File-Which-1.19/t/test-bin/test1.exe    2015-07-21 15:23:57.000000000 
+0200
+++ new/File-Which-1.21/t/test-bin/test1.exe    1970-01-01 01:00:00.000000000 
+0100
@@ -1,2 +0,0 @@
-DO NOT RUN THIS PROGRAM
-IT IS ONLY TO TEST File::Which
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/test-bin/test2.bat 
new/File-Which-1.21/t/test-bin/test2.bat
--- old/File-Which-1.19/t/test-bin/test2.bat    2015-07-21 15:23:57.000000000 
+0200
+++ new/File-Which-1.21/t/test-bin/test2.bat    1970-01-01 01:00:00.000000000 
+0100
@@ -1,3 +0,0 @@
-@echo off
-echo This is for testing File::Which
-echo Nothing interesting here!
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/test-bin/test3 
new/File-Which-1.21/t/test-bin/test3
--- old/File-Which-1.19/t/test-bin/test3        2015-07-21 15:23:57.000000000 
+0200
+++ new/File-Which-1.21/t/test-bin/test3        1970-01-01 01:00:00.000000000 
+0100
@@ -1,5 +0,0 @@
-#!sh
-
-# ^ above shebang is needed for Cygwin
-echo "Just testing File::Which"
-echo "Nothing interesting here"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/t/test-bin/test4/foo.txt 
new/File-Which-1.21/t/test-bin/test4/foo.txt
--- old/File-Which-1.19/t/test-bin/test4/foo.txt        2015-07-21 
15:23:57.000000000 +0200
+++ new/File-Which-1.21/t/test-bin/test4/foo.txt        1970-01-01 
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-This file only needs to be here to test4 dir is copied over.
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/File-Which-1.19/xt/release/pod_coverage.t 
new/File-Which-1.21/xt/release/pod_coverage.t
--- old/File-Which-1.19/xt/release/pod_coverage.t       2015-07-21 
15:23:57.000000000 +0200
+++ new/File-Which-1.21/xt/release/pod_coverage.t       2016-03-02 
20:20:45.000000000 +0100
@@ -2,6 +2,8 @@
 use warnings;
 use Test::More;
 BEGIN { 
+  plan skip_all => 'test requires 5.010 or better'
+    unless $] >= 5.010;
   plan skip_all => 'test requires Test::Pod::Coverage' 
     unless eval q{ use Test::Pod::Coverage; 1 };
   plan skip_all => 'test requires YAML'

++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.DkygkM/_old  2016-06-03 16:37:08.000000000 +0200
+++ /var/tmp/diff_new_pack.DkygkM/_new  2016-06-03 16:37:08.000000000 +0200
@@ -9,9 +9,8 @@
 #  bar.patch:
 #preamble: |-
 # BuildRequires:  gcc-c++
-#post_prep: |-
-# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
-# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
+post_prep: |-
+  chmod a+x corpus/test-bin-unix/0
 #post_install: |-
 # sed on %{name}.files
 #license: SUSE-NonFree


Reply via email to