diff --git a/Text-CSV-1.17.tar.bz2 b/Text-CSV-1.17.tar.bz2 deleted file mode 100644 index 4a08ea2..0000000 --- a/Text-CSV-1.17.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d226e2c0bdb005c4a3e6b7ebc8ed3d07cd125d3de96414f3e48e1225e9e7ad9e -size 43439 diff --git a/Text-CSV-1.19.tar.bz2 b/Text-CSV-1.19.tar.bz2 new file mode 100644 index 0000000..75d207b --- /dev/null +++ b/Text-CSV-1.19.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:42bc1b598b74b36e2e6d3b7f2fd7c9bc2a412c20a954f31f9e27973cfea29342 +size 44820 diff --git a/perl-Text-CSV.changes b/perl-Text-CSV.changes index ceb8aad..029562e 100644 --- a/perl-Text-CSV.changes +++ b/perl-Text-CSV.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Sun Oct 17 17:40:00 UTC 2010 - chris@computersalat.de + +- update to 1.19 + - getline didn't work correctly with 0 or null containing lines + (pointed by Bernhard Prott) + - updated the compatibility for Text::CSV_XS version 0.74 + * real eol support for parsing streams (beyond \n, \r and \r\n) + * clarify doc for always_quote to not quote undef fields + and XS and PP incompatibility of UTF8 process for print and combine +- 1.18 Sat Jun 19 10:34:07 2010 + - fixed a combine bug with quote_space reported and patched by rt#58356 + - updated test files compatible to CSV_XS 0.73 +- noarch pkg +- recreated by cpanspec 1.78 + ------------------------------------------------------------------- Wed Mar 17 08:16:11 UTC 2010 - lars@linux-schulserver.de diff --git a/perl-Text-CSV.spec b/perl-Text-CSV.spec index 07f19e1..c107e28 100644 --- a/perl-Text-CSV.spec +++ b/perl-Text-CSV.spec @@ -1,29 +1,54 @@ # -# spec file for package perl-Text-CSV +# spec file for package perl-Text-CSV (Version 1.19) +# +# Copyright (c) 2010 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ # # norootforbuild -Name: perl-Text-CSV -%define real_name Text-CSV -Summary: CSV - comma-separated values manipulator -Version: 1.17 -Release: 1 -Url: http://search.cpan.org/perldoc?Text::CSV -Group: Development/Libraries/Perl -License: Artistic License -Vendor: openSUSE-Education -Source: %{real_name}-%{version}.tar.bz2 -Requires: perl = %{perl_version} -BuildRequires: perl-Test-Pod -BuildRoot: %{_tmppath}/%{name}-%{version}-build +%bcond_with pod + +Name: perl-Text-CSV +%define cpan_name Text-CSV +Summary: Comma-separated values manipulator (using XS or PurePerl) +Version: 1.19 +Release: 1 +License: GPL+ or Artistic +Group: Development/Libraries/Perl +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 +BuildRequires: perl +%if 0%{?suse_version} < 1120 +BuildRequires: perl-macros +%endif +%if %{with pod} +BuildRequires: perl(Test::Pod) +%endif +BuildRequires: perl(Test::More) +BuildRequires: perl(IO::Handle) +Requires: perl = %{perl_version} +Requires: perl(IO::Handle) %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 Text::CSV_XS 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. +parse a CSV string into fields. The module accepts either strings or files as input and can utilize any user-specified characters as delimiters, separators, and escapes so it is @@ -36,27 +61,30 @@ Author: H.Merijn Brand Makamaka Hannyaharamitu - %prep -%setup -n %{real_name}-%{version} +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?jobs:-j%jobs} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install -%perl_process_packlist +# 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_gen_filelist %clean -rm -rf %{buildroot} +%{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files -%defattr(-, root, root) -%doc Changes README MANIFEST +%defattr(-,root,root,-) +%doc Changes README -%changelog +%changelog