From c0a2522ad05e283bf560d60b962160081b12c20d8a47a938e9ec40dea5584ddc Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Tue, 4 Jun 2013 11:34:05 +0000 Subject: [PATCH 1/2] 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 --- File-Next-1.06.tar.gz | 3 --- File-Next-1.12.tar.gz | 3 +++ perl-File-Next.changes | 28 +++++++++++++++++++++++ perl-File-Next.spec | 51 ++++++++++++++---------------------------- 4 files changed, 48 insertions(+), 37 deletions(-) delete mode 100644 File-Next-1.06.tar.gz create mode 100644 File-Next-1.12.tar.gz 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..73a3bdb 100644 --- a/perl-File-Next.changes +++ b/perl-File-Next.changes @@ -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 diff --git a/perl-File-Next.spec b/perl-File-Next.spec index 9a2c872..e2c12b3 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+ 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 From 0d9ad72b45d43bee66fb6ad044168666456d7ef8067dec0c5d0e63e8b48b770e Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 5 Jun 2013 15:36:53 +0000 Subject: [PATCH 2/2] 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 --- perl-File-Next.changes | 6 ++++++ perl-File-Next.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-File-Next.changes b/perl-File-Next.changes index 73a3bdb..9922037 100644 --- a/perl-File-Next.changes +++ b/perl-File-Next.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +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 diff --git a/perl-File-Next.spec b/perl-File-Next.spec index e2c12b3..307bea6 100644 --- a/perl-File-Next.spec +++ b/perl-File-Next.spec @@ -21,7 +21,7 @@ Version: 1.12 Release: 0 %define cpan_name File-Next Summary: File-finding iterator -License: Artistic-1.0 or GPL-1.0+ +License: Artistic-2.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/File-Next/ Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/%{cpan_name}-%{version}.tar.gz