diff --git a/File-Which-1.19.tar.gz b/File-Which-1.19.tar.gz deleted file mode 100644 index a4763d4..0000000 --- a/File-Which-1.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4bad2708c7efa1e756a94c285a64eebbedf9335d2da1b7d3bbed6409c86e9656 -size 21165 diff --git a/File-Which-1.21.tar.gz b/File-Which-1.21.tar.gz new file mode 100644 index 0000000..2bc811c --- /dev/null +++ b/File-Which-1.21.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9def5f10316bfd944e56b7f8a2501be1d44c288325309462aa9345e340854bcc +size 21456 diff --git a/cpanspec.yml b/cpanspec.yml index 9b7ec50..13298f8 100644 --- a/cpanspec.yml +++ b/cpanspec.yml @@ -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 diff --git a/perl-File-Which.changes b/perl-File-Which.changes index a13e098..25286b7 100644 --- a/perl-File-Which.changes +++ b/perl-File-Which.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue May 31 18:30:51 UTC 2016 - coolo@suse.com + +- fix test suite with a chmod + +------------------------------------------------------------------- +Tue May 31 10:26:09 UTC 2016 - coolo@suse.com + +- 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) + ------------------------------------------------------------------- Wed Jul 22 08:54:32 UTC 2015 - coolo@suse.com diff --git a/perl-File-Which.spec b/perl-File-Which.spec index 4236a8a..4748418 100644 --- a/perl-File-Which.spec +++ b/perl-File-Which.spec @@ -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 @@ BuildRequires: perl-macros %{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 @@ the current directory will only be found if the current directory is 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