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: # bar.patch:
#preamble: |- #preamble: |-
# BuildRequires: gcc-c++ # BuildRequires: gcc-c++
#post_prep: |- post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` chmod a+x corpus/test-bin-unix/0
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |- #post_install: |-
# sed on %{name}.files # sed on %{name}.files
#license: SUSE-NonFree #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 Wed Jul 22 08:54:32 UTC 2015 - coolo@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-File-Which # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: perl-File-Which Name: perl-File-Which
Version: 1.19 Version: 1.21
Release: 0 Release: 0
%define cpan_name File-Which %define cpan_name File-Which
Summary: Perl implementation of the which utility as an API Summary: Perl implementation of the which utility as an API
@ -33,12 +33,12 @@ BuildRequires: perl-macros
%{perl_requires} %{perl_requires}
%description %description
the File::Which manpage finds the full or relative paths to executable File::Which finds the full or relative paths to executable programs on the
programs on the system. This is normally the function of 'which' utility. system. This is normally the function of 'which' utility. 'which' is
'which' is typically implemented as either a program or a built in shell typically implemented as either a program or a built in shell command. On
command. On some platforms, such as Microsoft Windows it is not provided as some platforms, such as Microsoft Windows it is not provided as part of the
part of the core operating system. This module provides a consistent API to core operating system. This module provides a consistent API to this
this functionality regardless of the underlying platform. functionality regardless of the underlying platform.
The focus of this module is correctness and portability. As a consequence The focus of this module is correctness and portability. As a consequence
platforms where the current directory is implicitly part of the search path 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. explicitly added to the path.
If you need a portable 'which' on the command line in an environment that 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 does not provide it, install App::pwhich which provides a command line
command line interface to this API. interface to this API.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %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 %build
%{__perl} Makefile.PL INSTALLDIRS=vendor %{__perl} Makefile.PL INSTALLDIRS=vendor