8
0

Accepting request 177391 from home:coolo:update-perl

- updated to 1.12
     [FIXES]
     Fix detection of named pipes under various flavors of BSD.
 
 
     [ENHANCEMENTS]
     Added the warning_handler argument to File::Next::from_file().
     This is so from_file() can throw a warning if a non-existent
     file is in the file it came from.
 
     [FIXES]
     from_file() should return undef if the file can't be opened.
 
     Fixed test failures and made tests more portable.
 
 
     [ENHANCEMENTS]
     Added File::Next::from_file() to get the list of files to iterate
     over from a file, or from STDIN.
 
     Named pipes are now supported.
 
     [INTERNAL]
     Add more tests, and clean up some Perl::Critic warnings.

OBS-URL: https://build.opensuse.org/request/show/177391
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=18
This commit is contained in:
Stephan Kulow
2013-06-04 11:34:05 +00:00
committed by Git OBS Bridge
parent f32469700a
commit c0a2522ad0
4 changed files with 48 additions and 37 deletions

View File

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

3
File-Next-1.12.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Tue Jun 4 08:55:23 UTC 2013 - coolo@suse.com
- updated to 1.12
[FIXES]
Fix detection of named pipes under various flavors of BSD.
[ENHANCEMENTS]
Added the warning_handler argument to File::Next::from_file().
This is so from_file() can throw a warning if a non-existent
file is in the file it came from.
[FIXES]
from_file() should return undef if the file can't be opened.
Fixed test failures and made tests more portable.
[ENHANCEMENTS]
Added File::Next::from_file() to get the list of files to iterate
over from a file, or from STDIN.
Named pipes are now supported.
[INTERNAL]
Add more tests, and clean up some Perl::Critic warnings.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 18 11:09:00 UTC 2011 - coolo@suse.com Fri Nov 18 11:09:00 UTC 2011 - coolo@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-File-Next # spec file for package perl-File-Next
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2013 SUSE LINUX Products 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
@@ -15,43 +15,33 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
%bcond_with pod
Name: perl-File-Next Name: perl-File-Next
Version: 1.12
Release: 0
%define cpan_name File-Next %define cpan_name File-Next
Summary: File::Next Perl module Summary: File-finding iterator
Version: 1.06 License: Artistic-1.0 or GPL-1.0+
Release: 3
License: GPL+ or Artistic
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-Next/ Url: http://search.cpan.org/dist/File-Next/
#Source: http://search.cpan.org/CPAN/authors/id/P/PE/PETDANCE/File-Next-1.06.tar.gz Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
%if %{with pod} BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Pod) >= 1.14 #BuildRequires: perl(File::Next)
BuildRequires: perl(Test::Pod::Coverage) >= 1.14 #BuildRequires: perl(Util)
%endif Requires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::More) %{perl_requires}
BuildRequires: perl(File::Spec)
#
Requires: perl(File::Spec)
%description %description
File::Next is an iterator-based module for finding files. It's File-finding iterator
lightweight, has no dependencies, runs under taint mode, and puts your
program more directly in control of file selection.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%check %check
@@ -60,17 +50,10 @@ program more directly in control of file selection.
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%clean %files -f %{name}.files
%{__rm} -rf $RPM_BUILD_ROOT %defattr(-,root,root,755)
%doc Changes README.md
%files
%defattr(-,root,root,-)
%doc Changes README
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/Next.pm
%dir %{perl_vendorarch}/auto/File
%{perl_vendorarch}/auto/File/Next
%doc %{perl_man3dir}/File::Next.%{perl_man3ext}*
%changelog %changelog