- update to 1.21

* updated the compatibility for Text::CSV_XS version 0.80
  * added getline_all() and getaline_hr_all()
  * added missing test file

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV?expand=0&rev=12
This commit is contained in:
Stephan Kulow 2011-03-24 11:32:28 +00:00 committed by Git OBS Bridge
parent 52a33877eb
commit 1fe17beff2
4 changed files with 27 additions and 37 deletions

View File

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

3
Text-CSV-1.21.tar.gz Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Mar 24 11:30:38 UTC 2011 - coolo@novell.com
- update to 1.21
* updated the compatibility for Text::CSV_XS version 0.80
* added getline_all() and getaline_hr_all()
* added missing test file
-------------------------------------------------------------------
Wed Dec 1 13:35:43 UTC 2010 - coolo@novell.com

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-Text-CSV (Version 1.20)
# spec file for package perl-Text-CSV (Version 1.21)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -15,35 +15,28 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%bcond_with pod
Name: perl-Text-CSV
%define cpan_name Text-CSV
Summary: Comma-separated values manipulator (using XS or PurePerl)
Version: 1.20
Version: 1.21
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
%define cpan_name Text-CSV
Summary: comma-separated values manipulator (using XS or PurePerl)
Url: http://search.cpan.org/dist/Text-CSV/
#Source: http://www.cpan.org/modules/by-module/Text/Text-CSV-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/M/MA/MAKAMAKA/Text-CSV-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl(IO::Handle)
BuildRequires: perl
BuildRequires: perl-macros
%if %{with pod}
BuildRequires: perl(Test::Pod)
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(IO::Handle)
Requires: perl(IO::Handle)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{perl_requires}
%description
Text::CSV provides facilities for the composition and decomposition of
comma-separated values using Text::CSV_XS or its pure Perl version.
comma-separated values using the Text::CSV_XS manpage or its pure Perl
version.
An instance of the Text::CSV class can combine fields into a CSV string and
parse a CSV string into fields.
@ -52,13 +45,6 @@ The module accepts either strings or files as input and can utilize any
user-specified characters as delimiters, separators, and escapes so it is
perhaps better called ASV (anything separated values) rather than just CSV.
Author:
-------
Alan Citterman
Jochen Wiedmann
H.Merijn Brand
Makamaka Hannyaharamitu
%prep
%setup -q -n %{cpan_name}-%{version}
@ -71,18 +57,14 @@ Author:
%install
%perl_make_install
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(-,root,root,-)
%defattr(644,root,root,755)
%doc Changes README
%changelog