forked from pool/perl-File-Next
Compare commits
13 Commits
039c5b499e
...
9aed745fa2
Author | SHA256 | Date | |
---|---|---|---|
9aed745fa2 | |||
|
1e61588e4f | ||
2a66d4bcfe | |||
|
855ae7abd3 | ||
|
d2064deb7e | ||
|
4e67b82ade | ||
|
0d9ad72b45 | ||
|
c0a2522ad0 | ||
|
83f5f0ea47 | ||
|
376b4d00fd | ||
|
f32469700a | ||
|
96efb58c3f | ||
|
6a798540f3 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:78cc843b34a78b6f00872513295ffbdaeb28ba5ce1b9ce93c78f3da404c485a9
|
||||
size 12455
|
3
File-Next-1.18.tar.gz
Normal file
3
File-Next-1.18.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f900cb39505eb6e168a9ca51a10b73f1bbde1914b923a09ecd72d9c02e6ec2ef
|
||||
size 18286
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# 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_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@@ -1,3 +1,101 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 05:09:50 UTC 2019 - Stephan Kulow <coolo@suse.com>
|
||||
|
||||
- updated to 1.18
|
||||
see /usr/share/doc/packages/perl-File-Next/Changes
|
||||
|
||||
1.18 Tue Aug 27 17:08:38 CDT 2019
|
||||
[SPEEDUP]
|
||||
Updated the internals to minimize the number of times that stat()
|
||||
gets called on each file or directory.
|
||||
|
||||
[FIXES]
|
||||
t/from_file.t would fail under Windows because File::Temp would
|
||||
put a backslash in front of the name of the tempfile. Thanks,
|
||||
Varadinsky. (GH#32)
|
||||
|
||||
Had to specify a minimum version of File::Temp. Thanks, Justin Mohr.
|
||||
(GH#29)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 9 05:17:44 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.16
|
||||
see /usr/share/doc/packages/perl-File-Next/Changes
|
||||
|
||||
1.16 Thu Jul 7 22:41:30 CDT 2016
|
||||
[FIXES]
|
||||
File::Next::from_file() would ignore the C<warning_handler> argument
|
||||
if it was passed in.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 13:03:20 UTC 2016 - coolo@suse.com
|
||||
|
||||
- updated to 1.14
|
||||
see /usr/share/doc/packages/perl-File-Next/Changes
|
||||
|
||||
1.14 Thu Jun 9 22:33:24 CDT 2016
|
||||
No changes since 1.13_02.
|
||||
|
||||
|
||||
1.13_02 Sun Jun 5 23:18:10 CDT 2016
|
||||
|
||||
[FIXES]
|
||||
t/follow.t would cause failures in other tests when running in
|
||||
parallel. Now it correctly uses a temp directory.
|
||||
|
||||
|
||||
1.13_01 Mon May 30 21:45:42 CDT 2016
|
||||
[FIXES]
|
||||
File::Next::from_file() was incorrectly using the error_handler parm
|
||||
for both error and warning handler.
|
||||
|
||||
[INTERNAL]
|
||||
Optimized -f/-p calls in files() to not repeat the variable.
|
||||
|
||||
Use File::Temp in tests, not POSIX::tmpnam, so that it works
|
||||
on Android. See https://github.com/petdance/file-next/issues/18
|
||||
Thanks, Brian Fraser.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 5 14:04:00 UTC 2013 - cfarrell@suse.com
|
||||
|
||||
- license update: Artistic-2.0
|
||||
See Readme.md
|
||||
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:32:23 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-File-Next (Version 1.06)
|
||||
# spec file for package perl-File-Next
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@@ -12,65 +12,49 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with pod
|
||||
|
||||
Name: perl-File-Next
|
||||
Version: 1.18
|
||||
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-2.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.bz2
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
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(File::Temp) >= 0.22
|
||||
BuildRequires: perl(Test::More) >= 0.88
|
||||
Requires: perl(File::Temp) >= 0.22
|
||||
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"
|
||||
%{__make} %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
make test
|
||||
|
||||
%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