diff --git a/File-Next-1.06.tar.gz b/File-Next-1.06.tar.gz deleted file mode 100644 index 256a8e7..0000000 --- a/File-Next-1.06.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:36cc0a4e5e4e44e04f7bea6f7453db517acc1a1b35a2b5fe5bc14cea0f560662 -size 13511 diff --git a/File-Next-1.12.tar.gz b/File-Next-1.12.tar.gz new file mode 100644 index 0000000..59460dc --- /dev/null +++ b/File-Next-1.12.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc3afd8eaf6294aba93b8152a269cc36a9df707c6dc2c149aaa04dabd869e60a +size 16842 diff --git a/perl-File-Next.changes b/perl-File-Next.changes index fbd836d..9922037 100644 --- a/perl-File-Next.changes +++ b/perl-File-Next.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +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 diff --git a/perl-File-Next.spec b/perl-File-Next.spec index bb56bb4..307bea6 100644 --- a/perl-File-Next.spec +++ b/perl-File-Next.spec @@ -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-1.0+ or Artistic-1.0 +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.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