Accepting request 296410 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/296410
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Which?expand=0&rev=20
This commit is contained in:
Stephan Kulow 2015-04-15 04:33:28 +00:00 committed by Git OBS Bridge
parent 5dd2b498cb
commit 5b2ec4ae77
4 changed files with 67 additions and 36 deletions

View File

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

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

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

View File

@ -1,3 +1,47 @@
-------------------------------------------------------------------
Tue Apr 14 19:56:03 UTC 2015 - coolo@suse.com
- updated to 1.16
see /usr/share/doc/packages/perl-File-Which/Changes
1.16 Sun 29 Mar 2015
- Remove use Test::Script from tests that escaped when this requirement
became optional.
1.15 Sun 29 Mar 2015
- Fixed small but important POD error
1.14 Sun 29 Mar 2015
- App::pwhich is no longer bundled with File::Which and included
in its own distribution.
- pwhich that comes with this distribution is deprecated, and will
report a warning if you try to use it, you should insted install
App::pwhich.
- pwhich that comes with this distribution will not be installed if
App::pwhich 1.14 or better is already installed.
- pwhich will be removed from this distribution, but not before
30 April 2015.
- Make Test::Script an optional dependency
1.12 Thu 26 Mar 2015
- Fixed bug in pwhich introduced in version 1.10 where only the
first file was searched for
1.11 Thu 26 Mar 2015
- Support for relative and fully qualified paths in Unix (gh#2)
1.10 Thu 26 Mar 2015
- Test::Script is now a test instead of runtime requirement
It will be entirely removed as a prerequisite in a subsequent
release
- Will now find .exe and .com files (as it should) on cygwin (rt83146)
- Declared required Perl version is now 5.005003
- Updated repository and maintainer information. Source for this
dist now lives on GitHub
- New module App::pwhich contains the guts of pwhich. It will be moved
into a separate dist in the near future. pwhich will be deprecated
and removed from this dist in the near future.
-------------------------------------------------------------------
Fri Nov 18 11:08:43 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-File-Which
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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
@ -15,48 +15,42 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-File-Which
Version: 1.16
Release: 0
%define cpan_name File-Which
Summary: Portable implementation of the `which' utility
Version: 1.09
Release: 7
License: GPL+ or Artistic
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/modules/by-module/File/File-Which-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Exporter)
BuildRequires: perl(File::Spec) >= 0.60
BuildRequires: perl(Getopt::Std)
BuildRequires: perl(Test::Script) >= 1.05
#
Requires: perl(Exporter)
Requires: perl(File::Spec) >= 0.60
Requires: perl(Getopt::Std)
Requires: perl(Test::Script) >= 1.05
BuildRequires: perl(Test::More) >= 0.80
%{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.
'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.
Authors:
--------
Per Einar Ellefsen <per.einar@skynet.be>
'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.)
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f -print0 | xargs -0 chmod 644
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
@ -64,18 +58,11 @@ Authors:
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(-,root,root,755)
%doc Changes LICENSE README
%changelog