Accepting request 304993 from devel:languages:perl:autoupdate
automatic update OBS-URL: https://build.opensuse.org/request/show/304993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Which?expand=0&rev=22
This commit is contained in:
parent
5b2ec4ae77
commit
6ff93d52b3
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f53ddcc3a2b04bcf51759352536087206f45efddcd50841ab820893bb831323c
|
||||
size 17194
|
3
File-Which-1.17.tar.gz
Normal file
3
File-Which-1.17.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e71d887ca9f76238e9d68aa45135f4540d955ee9e83a337946d576f518166663
|
||||
size 20497
|
23
cpanspec.yml
Normal file
23
cpanspec.yml
Normal file
@ -0,0 +1,23 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# 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_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat May 2 05:50:03 UTC 2015 - coolo@suse.com
|
||||
|
||||
- updated to 1.17
|
||||
see /usr/share/doc/packages/perl-File-Which/Changes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 14 19:56:03 UTC 2015 - coolo@suse.com
|
||||
|
||||
|
@ -17,33 +17,40 @@
|
||||
|
||||
|
||||
Name: perl-File-Which
|
||||
Version: 1.16
|
||||
Version: 1.17
|
||||
Release: 0
|
||||
%define cpan_name File-Which
|
||||
Summary: Portable implementation of the `which' utility
|
||||
Summary: Perl implementation of the which utility as an API
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/File-Which/
|
||||
Source: http://www.cpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
||||
Source0: http://www.cpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Test::More) >= 0.80
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
'File::Which' was created to be able to get the paths to executable
|
||||
programs on systems under which the `which' program wasn't implemented in
|
||||
the shell.
|
||||
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' searches the directories of the user's 'PATH' (as returned by
|
||||
'File::Spec->path()'), looking for executable files having the name
|
||||
specified as a parameter to 'which()'. Under Win32 systems, which do not
|
||||
have a notion of directly executable files, but uses special extensions
|
||||
such as '.exe' and '.bat' to identify them, 'File::Which' takes extra steps
|
||||
to assure that you will find the correct file (so for example, you might be
|
||||
searching for 'perl', it'll try _perl.exe_, _perl.bat_, etc.)
|
||||
The focus of this module is correctness and portability. As a consequence
|
||||
platforms where the current directory is implicitly part of the search path
|
||||
such as Microsoft Windows will find executables in the current directory,
|
||||
whereas on platforms such as UNIX where this is not the case executables in
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
Loading…
x
Reference in New Issue
Block a user