8
0

Compare commits

...

13 Commits

Author SHA256 Message Date
9aed745fa2 Accepting request 726665 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/726665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Next?expand=0&rev=16
2019-08-28 16:37:13 +00:00
Stephan Kulow
1e61588e4f Accepting request 726627 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/726627
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=24
2019-08-28 06:31:56 +00:00
2a66d4bcfe Accepting request 407386 from devel:languages:perl
1

OBS-URL: https://build.opensuse.org/request/show/407386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Next?expand=0&rev=15
2016-07-12 21:52:31 +00:00
Stephan Kulow
855ae7abd3 Accepting request 407380 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/407380
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=22
2016-07-09 05:43:26 +00:00
Stephan Kulow
d2064deb7e Accepting request 401416 from devel:languages:perl:autoupdate
automatic update

OBS-URL: https://build.opensuse.org/request/show/401416
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=21
2016-06-12 14:10:18 +00:00
Stephan Kulow
4e67b82ade Accepting request 177770 from devel:languages:perl
license update: Artistic-2.0
See Readme.md (forwarded request 177746 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/177770
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Next?expand=0&rev=12
2013-06-06 11:13:12 +00:00
Stephan Kulow
0d9ad72b45 Accepting request 177746 from home:babelworx:ldig:branches:devel:languages:perl
license update: Artistic-2.0
See Readme.md

OBS-URL: https://build.opensuse.org/request/show/177746
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=19
2013-06-05 15:36:53 +00:00
Stephan Kulow
c0a2522ad0 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
2013-06-04 11:34:05 +00:00
Stephan Kulow
83f5f0ea47 replace license with spdx.org variant
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Next?expand=0&rev=9
2011-12-06 17:41:24 +00:00
Stephan Kulow
376b4d00fd Accepting request 92231 from devel:languages:perl
update

OBS-URL: https://build.opensuse.org/request/show/92231
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Next?expand=0&rev=8
2011-11-21 11:39:52 +00:00
Stephan Kulow
f32469700a use original .tar.gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=15
2011-11-18 11:37:26 +00:00
Stephan Kulow
96efb58c3f use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=14
2011-11-17 15:33:00 +00:00
Stephan Kulow
6a798540f3 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Next?expand=0&rev=12 2011-11-11 11:17:55 +00:00
5 changed files with 152 additions and 42 deletions

View File

@@ -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
View File

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

28
cpanspec.yml Normal file
View 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

View File

@@ -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

View File

@@ -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