Update to 1.13

- New upstream release 1.13
  - Simplify code path for old perl
  - Fix quote_binary (CPAN RT#100676)
  - Fix csv() for hashrefs with aliased headers
  - Update copyright to 2015
- Drop upstreamed UTF8 patch
epel9
Paul Howarth 10 years ago
parent ac34a3f59a
commit 8aa214b5f4

@ -1,11 +0,0 @@
--- CSV_XS.pm
+++ CSV_XS.pm
@@ -1691,7 +1691,7 @@
quote_space => 0,
});
- my $row = $csv->parse (q{1,,"", ," ",f,"g","h""h",hëlp,"hélp"});
+ my $row = $csv->parse (q{1,,"", ," ",f,"g","h""h",hëlp,"hélp"});
$csv->print (*STDOUT, \@row);
# 1,,, , ,f,g,"h""h",h?lp,h?lp

@ -1,27 +1,27 @@
Name: perl-Text-CSV_XS
Version: 1.12
Version: 1.13
Release: 1%{?dist}
Summary: Comma-separated values manipulation routines
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Text-CSV_XS/
Source0: http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
Patch0: Text-CSV_XS-1.12-utf8.patch
# Build:
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict)
# Run-time:
BuildRequires: perl(Carp)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(strict)
BuildRequires: perl(vars)
BuildRequires: perl(warnings)
# Tests:
BuildRequires: perl(base)
BuildRequires: perl(Config)
BuildRequires: perl(charnames)
# Specific version >= 2.51 for Encode is recommended but not required
BuildRequires: perl(Config)
# Specific version ≥ 2.51 for Encode is recommended but not required
BuildRequires: perl(Encode)
BuildRequires: perl(Test::More)
BuildRequires: perl(Tie::Scalar)
@ -42,9 +42,6 @@ fields into a CSV string and parse a CSV string into fields.
%prep
%setup -q -n Text-CSV_XS-%{version}
# Have documentation in UTF8 encoding
%patch0
chmod -c a-x examples/*
# Upstream does this on purpose (2011-03-23):
@ -72,6 +69,14 @@ make test %{?_smp_mflags}
%{_mandir}/man3/Text::CSV_XS.3*
%changelog
* Mon Jan 5 2015 Paul Howarth <paul@city-fan.org> - 1.13-1
- Update to 1.13:
- Simplify code path for old perl
- Fix quote_binary (CPAN RT#100676)
- Fix csv() for hashrefs with aliased headers
- Update copyright to 2015
- Drop upstreamed UTF8 patch
* Sun Nov 16 2014 Paul Howarth <paul@city-fan.org> - 1.12-1
- Update to 1.12:
- Add field number to error_diag

@ -1 +1 @@
b91f2d806054b68c2a29d3da5821fe87 Text-CSV_XS-1.12.tgz
c1e560fa74af21c7eb6b07c5a6d9b3d6 Text-CSV_XS-1.13.tgz

Loading…
Cancel
Save