From daae482a605a93c425853e66ffbc34bfbd096b9a47d68517980da21094ab89e0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 16 Feb 2012 08:16:34 +0000 Subject: [PATCH] - updated to 6.04 Minor mistake in module description Test parsing of dosftp listings This modulue works with 5.6.2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Listing?expand=0&rev=8 --- File-Listing-6.03.tar.gz | 3 --- File-Listing-6.04.tar.gz | 3 +++ perl-File-Listing.changes | 8 ++++++++ perl-File-Listing.spec | 17 ++++++++--------- 4 files changed, 19 insertions(+), 12 deletions(-) delete mode 100644 File-Listing-6.03.tar.gz create mode 100644 File-Listing-6.04.tar.gz diff --git a/File-Listing-6.03.tar.gz b/File-Listing-6.03.tar.gz deleted file mode 100644 index 6d12ca7..0000000 --- a/File-Listing-6.03.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23e96035f2759f211d3e9027d608c5fb6c81ba1b7cdd1079c6fa597613b99094 -size 51415 diff --git a/File-Listing-6.04.tar.gz b/File-Listing-6.04.tar.gz new file mode 100644 index 0000000..875d618 --- /dev/null +++ b/File-Listing-6.04.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1e0050fcd6789a2179ec0db282bf1e90fb92be35d1171588bd9c47d52d959cf5 +size 51536 diff --git a/perl-File-Listing.changes b/perl-File-Listing.changes index a5cda06..57013f3 100644 --- a/perl-File-Listing.changes +++ b/perl-File-Listing.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Feb 16 08:16:03 UTC 2012 - coolo@suse.com + +- updated to 6.04 + Minor mistake in module description + Test parsing of dosftp listings + This modulue works with 5.6.2 + ------------------------------------------------------------------- Mon Dec 19 15:43:14 UTC 2011 - coolo@suse.de diff --git a/perl-File-Listing.spec b/perl-File-Listing.spec index 9f89a74..1612740 100644 --- a/perl-File-Listing.spec +++ b/perl-File-Listing.spec @@ -1,7 +1,7 @@ # # spec file for package perl-File-Listing # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 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 @@ -17,19 +17,21 @@ Name: perl-File-Listing -Version: 6.03 +Version: 6.04 Release: 0 %define cpan_name File-Listing Summary: parse directory listing -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/File-Listing/ -Source: http://www.cpan.org/authors/id/G/GA/GAAS/File-Listing-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/G/GA/GAAS/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(HTTP::Date) >= 6 +#BuildRequires: perl(File::Listing) +#BuildRequires: perl(LWP::Simple) Requires: perl(HTTP::Date) >= 6 %{perl_requires} @@ -46,7 +48,7 @@ the listing. If this value is undefined, then the local time zone is assumed. The third parameter is the type of listing to assume. Currently supported -formats are 'unix', 'apache' and 'dosftp'. The default value 'unix'. +formats are 'unix', 'apache' and 'dosftp'. The default value is 'unix'. Ideally, the listing type should be determined automatically. The fourth parameter specifies how unparseable lines should be treated. @@ -79,11 +81,8 @@ letters 'f', 'd', 'l' or '?'. The $filetime value is the seconds since Jan %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) +%defattr(-,root,root,755) %doc Changes README %changelog