forked from pool/perl-File-Which
Accepting request 399270 from devel:languages:perl:autoupdate
- fix test suite with a chmod - 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) OBS-URL: https://build.opensuse.org/request/show/399270 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Which?expand=0&rev=28
This commit is contained in:
committed by
Git OBS Bridge
parent
fcf5c4354e
commit
9a6504549e
@@ -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
|
||||
|
Reference in New Issue
Block a user