forked from pool/perl-File-Next
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:
committed by
Git OBS Bridge
parent
f32469700a
commit
c0a2522ad0
@@ -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
3
File-Next-1.12.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cc3afd8eaf6294aba93b8152a269cc36a9df707c6dc2c149aaa04dabd869e60a
|
||||
size 16842
|
@@ -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
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,43 +15,33 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-File-Next
|
||||
Version: 1.12
|
||||
Release: 0
|
||||
%define cpan_name File-Next
|
||||
Summary: File::Next Perl module
|
||||
Version: 1.06
|
||||
Release: 3
|
||||
License: GPL+ or Artistic
|
||||
Summary: File-finding iterator
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
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: %{cpan_name}-%{version}.tar.gz
|
||||
Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
%if %{with pod}
|
||||
BuildRequires: perl(Test::Pod) >= 1.14
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.14
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(File::Spec)
|
||||
#
|
||||
Requires: perl(File::Spec)
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
#BuildRequires: perl(File::Next)
|
||||
#BuildRequires: perl(Util)
|
||||
Requires: perl(Test::More) >= 0.88
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
File::Next is an iterator-based module for finding files. It's
|
||||
lightweight, has no dependencies, runs under taint mode, and puts your
|
||||
program more directly in control of file selection.
|
||||
File-finding iterator
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
@@ -60,17 +50,10 @@ program more directly in control of file selection.
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%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}*
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user