Accepting request 399271 from devel:languages:perl

1

OBS-URL: https://build.opensuse.org/request/show/399271
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Which?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2016-06-03 14:37:06 +00:00 committed by Git OBS Bridge
commit 5b14669c73
5 changed files with 36 additions and 17 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4bad2708c7efa1e756a94c285a64eebbedf9335d2da1b7d3bbed6409c86e9656
size 21165

3
File-Which-1.21.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9def5f10316bfd944e56b7f8a2501be1d44c288325309462aa9345e340854bcc
size 21456

View File

@ -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

View File

@ -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

View File

@ -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