From 1e61588e4f6211c5ea32e8a4e84a78bf63d2e84d3e7bebe576a61dde4b86cabd Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 28 Aug 2019 06:31:56 +0000 Subject: [PATCH] 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 --- File-Next-1.16.tar.gz | 3 --- File-Next-1.18.tar.gz | 3 +++ perl-File-Next.changes | 19 +++++++++++++++++++ perl-File-Next.spec | 18 ++++++++++-------- 4 files changed, 32 insertions(+), 11 deletions(-) delete mode 100644 File-Next-1.16.tar.gz create mode 100644 File-Next-1.18.tar.gz diff --git a/File-Next-1.16.tar.gz b/File-Next-1.16.tar.gz deleted file mode 100644 index 3af8a9a..0000000 --- a/File-Next-1.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6965f25c2c132d0ba7a6f72b57b8bc6d25cf8c1b7032caa3a9bda8612e41d759 -size 17914 diff --git a/File-Next-1.18.tar.gz b/File-Next-1.18.tar.gz new file mode 100644 index 0000000..d3227fe --- /dev/null +++ b/File-Next-1.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f900cb39505eb6e168a9ca51a10b73f1bbde1914b923a09ecd72d9c02e6ec2ef +size 18286 diff --git a/perl-File-Next.changes b/perl-File-Next.changes index 006afbf..6d62d3d 100644 --- a/perl-File-Next.changes +++ b/perl-File-Next.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Wed Aug 28 05:09:50 UTC 2019 - Stephan Kulow + +- 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 diff --git a/perl-File-Next.spec b/perl-File-Next.spec index b9e1ad6..6ac93e9 100644 --- a/perl-File-Next.spec +++ b/perl-File-Next.spec @@ -1,7 +1,7 @@ # # spec file for package perl-File-Next # -# Copyright (c) 2016 SUSE LINUX 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,24 +12,26 @@ # 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/ # Name: perl-File-Next -Version: 1.16 +Version: 1.18 Release: 0 %define cpan_name File-Next Summary: File-finding iterator License: Artistic-2.0 Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/File-Next/ -Source0: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz +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 BuildRequires: perl BuildRequires: perl-macros +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} @@ -40,11 +42,11 @@ File-finding iterator %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install