- updated to 1.32
see /usr/share/doc/packages/perl-Text-CSV_XS/ChangeLog 1.32 - 2017-09-15, H.Merijn Brand * Add keep_headers attribute to csv () * Fix on_in when used in combination with key * Fail on invalid arguments to csv * Fix header method on EOL = CR (RT#122764) 1.31 - 2017-06-13, H.Merijn Brand * Fix already decoded BOM in headers * New options in csv-check * Some perlcritic * "escape" is alias for "escape_char" for consistency. * Code cleanup and more tests (Devel::Cover) * Improve csv-check auto-sep-detection 1.30 - 2017-06-08, H.Merijn Brand * Add csv (..., out => ...) syntax examples (issue 7) * Disable escape_null for undefined escape_char * Fix ->say for bound columns (RT#121576) * Update to Devel::PPPort 3.36 * Tested under 5.26.0 and 5.27.0 * Doc changes and additions 1.29 - 2017-04-25, H.Merijn Brand * More docs for bind_colmns (RT#121350) * New attribute "strict" (also addresses RT#121350) 1.28 - 2017-03-22, H.Merijn Brand * Fix length problem with bound empty fields and UTF-8 (RT#120655) OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV_XS?expand=0&rev=39
This commit is contained in:
parent
b09d297882
commit
c62a20160b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d43a687a85ee24d2d6bf985f446eeb1354806d4599a04b7c472fa98b560a88f8
|
||||
size 133406
|
3
Text-CSV_XS-1.32.tgz
Normal file
3
Text-CSV_XS-1.32.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc4b6be6048df7f9e7aabc018a71a9d2a7884a94ee0fd55b7fb74dcb5f685d70
|
||||
size 168648
|
27
cpanspec.yml
Normal file
27
cpanspec.yml
Normal file
@ -0,0 +1,27 @@
|
||||
---
|
||||
#description_paragraphs: 3
|
||||
#description: |-
|
||||
# override description from CPAN
|
||||
#summary: override summary from CPAN
|
||||
#no_testing: broken upstream
|
||||
#sources:
|
||||
# - source1
|
||||
# - source2
|
||||
#patches:
|
||||
# foo.patch: -p1
|
||||
# bar.patch:
|
||||
#preamble: |-
|
||||
# BuildRequires: gcc-c++
|
||||
post_prep: |-
|
||||
sed -i -e 's,/pro/bin/perl,/usr/bin/perl,' examples/*
|
||||
#post_build: |-
|
||||
# rm unused.files
|
||||
#post_install: |-
|
||||
# sed on %{name}.files
|
||||
#license: SUSE-NonFree
|
||||
#skip_noarch: 1
|
||||
#custom_build: |-
|
||||
#./Build build flags=%{?_smp_mflags} --myflag
|
||||
#custom_test: |-
|
||||
#startserver && make test
|
||||
#ignore_requires: Bizarre::Module
|
@ -1,3 +1,175 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 8 08:18:22 UTC 2017 - coolo@suse.com
|
||||
|
||||
- updated to 1.32
|
||||
see /usr/share/doc/packages/perl-Text-CSV_XS/ChangeLog
|
||||
|
||||
1.32 - 2017-09-15, H.Merijn Brand
|
||||
* Add keep_headers attribute to csv ()
|
||||
* Fix on_in when used in combination with key
|
||||
* Fail on invalid arguments to csv
|
||||
* Fix header method on EOL = CR (RT#122764)
|
||||
|
||||
1.31 - 2017-06-13, H.Merijn Brand
|
||||
* Fix already decoded BOM in headers
|
||||
* New options in csv-check
|
||||
* Some perlcritic
|
||||
* "escape" is alias for "escape_char" for consistency.
|
||||
* Code cleanup and more tests (Devel::Cover)
|
||||
* Improve csv-check auto-sep-detection
|
||||
|
||||
1.30 - 2017-06-08, H.Merijn Brand
|
||||
* Add csv (..., out => ...) syntax examples (issue 7)
|
||||
* Disable escape_null for undefined escape_char
|
||||
* Fix ->say for bound columns (RT#121576)
|
||||
* Update to Devel::PPPort 3.36
|
||||
* Tested under 5.26.0 and 5.27.0
|
||||
* Doc changes and additions
|
||||
|
||||
1.29 - 2017-04-25, H.Merijn Brand
|
||||
* More docs for bind_colmns (RT#121350)
|
||||
* New attribute "strict" (also addresses RT#121350)
|
||||
|
||||
1.28 - 2017-03-22, H.Merijn Brand
|
||||
* Fix length problem with bound empty fields and UTF-8 (RT#120655)
|
||||
|
||||
1.27 - 2017-03-02, H.Merijn Brand
|
||||
* Remove unneeded done_testing (Paul Howarth)
|
||||
* Attribute sep/sep_char is not allowed to be undefined
|
||||
* Increased test coverage: added errors 1008 and 1014
|
||||
* Default for escape_null in csv () is now false
|
||||
* It's 2017
|
||||
* New error code for illegal argument(s)/parameter(s) (RT#119827)
|
||||
* Fix tests for perl without dot in @INC
|
||||
* Fix crlf issue for csv () on Windows (RT#120466)
|
||||
|
||||
1.26 - 2016-11-29, H.Merijn Brand
|
||||
* Disable some Unicode related tests for unhealthy $PERL_UNICODE
|
||||
(RT#117856)
|
||||
* is_missing (0) on empty line returns 1 for keep_meta_info = true
|
||||
(issue 27 on github)
|
||||
|
||||
1.25 - 2016-08-28, H.Merijn Brand
|
||||
* Allow lc, uc, and coderef for csv () headers attribute
|
||||
* Document for eof when the last line has an error (RT#115954)
|
||||
* Allow csv () to call header () with all supported arguments
|
||||
* Add some docs for bind_columns
|
||||
|
||||
1.24 - 2016-07-09, H.Merijn Brand
|
||||
* Fix typo in docs example code (issue#4, joevak)
|
||||
* Set auto-wrap on for csv2xls with embedded newlines
|
||||
* Add examples/csv2xlsx, the MSExcel-2007+ version of csv2xls
|
||||
Includes new feature to merge multiple CSV's into a single xlsx
|
||||
* Slight modification in examples
|
||||
* Fix parse error in complex option combo (RT#115953)
|
||||
- requires perl-5.6.2 or newer
|
||||
|
||||
1.23 - 2016-03-25, H.Merijn Brand
|
||||
* Skip unsupported encodings
|
||||
* Reorganize Unicode section and mention layers (Dan Book)
|
||||
* Amend some UTF-8 tests for PERL_UNICODE settings
|
||||
* Fix crash on error in parsing with bound columns (RT#113279)
|
||||
* Add predefined filters (not_blank, not_empty, filled)
|
||||
|
||||
1.22 - 2016-02-23, H.Merijn Brand
|
||||
* Small doc updates regarding blank_is_undef
|
||||
* Precedence error in doc
|
||||
* Add new method header
|
||||
|
||||
1.21 - 2016-01-06, H.Merijn Brand
|
||||
* Add confusion option to rewrite example
|
||||
* Alias %_ to row in hashref mode for csv function attributes
|
||||
on_in and before_out
|
||||
* Examples now use defined-or and thus require perl-5.10 or up
|
||||
* Fix
|
||||
ending with allow_loose_escapes (reported by Bas Bloemsaat)
|
||||
* It's 2016
|
||||
* Clarify $csv->csv (...) documentation (RT#110941)
|
||||
|
||||
1.20 - 2015-10-09, H.Merijn Brand
|
||||
* Use "say" in synopsis
|
||||
* Remove needless special characters in doc section
|
||||
* Change doc =item attributes for new to =head for index
|
||||
* Add known_attributes function/method
|
||||
* Add contributor notes
|
||||
* Allow undef as value for aliased attributes
|
||||
|
||||
1.19 - 2015-06-17, H.Merijn Brand
|
||||
* Guard tests against $PERL_UNICODE
|
||||
* Numeric options were sometimes interpreted as boolean
|
||||
* Safer meta_info use
|
||||
|
||||
1.18 - 2015-05-22, H.Merijn Brand
|
||||
* Add quote_empty attribute
|
||||
* Add database NULL documentation
|
||||
* Inherit csv attributes in csv () when called in void context
|
||||
* micro-optimisation for combine/print (empty fields will be faster)
|
||||
|
||||
1.17 - 2015-04-24, H.Merijn Brand
|
||||
* Enable overruling $csv in csv ()
|
||||
* Allow encoding to be shortened to enc in csv ()
|
||||
* Allow filter to alter content
|
||||
* Add say (print with default eol => $\)
|
||||
* Allow MS sep=; on first line (RT#100304)
|
||||
|
||||
1.16 - 2015-03-02, H.Merijn Brand
|
||||
* filter made more useful (access to other fields)
|
||||
|
||||
1.15 - 2015-02-11, H.Merijn Brand
|
||||
* Remove perl recommendation from META as it breaks cpan clients
|
||||
|
||||
1.14 - 2015-02-02, H.Merijn Brand
|
||||
* Move to github
|
||||
* Add csv (filter => {});
|
||||
* Change csv ()'s void context behavior
|
||||
|
||||
1.13 - 2015-01-03, H.Merijn Brand
|
||||
* Simplify code path for old perl
|
||||
* Fix quote_binary (#RT100676)
|
||||
* Fix csv () for hashrefs with aliased headers
|
||||
* Update copyright to 2015
|
||||
|
||||
1.12 - 2014-11-01, H.Merijn Brand
|
||||
* Add field number to error_diag
|
||||
* Fixed non-IO parsing multi-byte EOL
|
||||
* Fixed a possible missed multi-byte EOL
|
||||
* Allow hashref for csv ()'s headers attribute
|
||||
* Allow encoding on all output handles in csv ()
|
||||
* Include doc changes as ticketed in the Text::CSV queue
|
||||
* Fix parallel testing issue
|
||||
* Allow csv as method call (not using the object)
|
||||
* Rename quote_null to escape_null
|
||||
* Give meaning to keep_meta_info on output (RT#99941)
|
||||
|
||||
1.11 - 2014-08-16, H.Merijn Brand
|
||||
* Fixed eof (RT#97742)
|
||||
* Check for attribute conflicts early
|
||||
* csv (in => [..]) now defaults to *STDOUT for out
|
||||
* Support for multi-byte quote_char
|
||||
* New attribute "key" for csv ()
|
||||
|
||||
1.10 - 2014-08-04, H.Merijn Brand
|
||||
* Support for scalar ref in out: csv (out => \(my $x = ""), ...)
|
||||
* Support for multi-byte sep_char
|
||||
* Simplified the cache coding
|
||||
|
||||
1.09 - 2014-06-09, H.Merijn Brand
|
||||
* Missed defined-or need in csv2xls (RT#95787)
|
||||
|
||||
1.08 - 2014-05-17, H.Merijn Brand
|
||||
* Documentation updates
|
||||
* Allow disjointed CSV cell fragment lists
|
||||
|
||||
1.07 - 2014-04-28, H.Merijn Brand
|
||||
* Allow ref to scalar for csv (in => ...)
|
||||
* Allow CODE ref to in attribute
|
||||
* Allow * in fragment cellspec's bottom-right cell
|
||||
|
||||
1.06 - 2014-04-20, H.Merijn Brand
|
||||
* Fix possible fail in tests on Windows (Thanks Mithaldu for explaing)
|
||||
* Only close file handles in csv () for files
|
||||
* new callbacks for csv ()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 17 08:29:52 UTC 2014 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Text-CSV_XS
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX 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,31 +17,35 @@
|
||||
|
||||
|
||||
Name: perl-Text-CSV_XS
|
||||
Version: 1.05
|
||||
Version: 1.32
|
||||
Release: 0
|
||||
%define cpan_name Text-CSV_XS
|
||||
Summary: comma-separated values manipulation routines
|
||||
Summary: Comma-Separated Values Manipulation Routines
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Text-CSV_XS/
|
||||
Source: http://www.cpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz
|
||||
Source0: https://cpan.metacpan.org/authors/id/H/HM/HMBRAND/%{cpan_name}-%{version}.tgz
|
||||
Source1: cpanspec.yml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Recommends: perl(Encode) >= 2.57
|
||||
Recommends: perl(Encode) >= 2.92
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Text::CSV_XS provides facilities for the composition and decomposition of
|
||||
comma-separated values. An instance of the Text::CSV_XS class will combine
|
||||
fields into a CSV string and parse a CSV string into fields.
|
||||
fields into a 'CSV' string and parse a 'CSV' string into fields.
|
||||
|
||||
The module accepts either strings or files as input and support the use of
|
||||
user-specified characters for delimiters, separators, and escapes.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
# MANUAL BEGIN
|
||||
sed -i -e 's,/pro/bin/perl,/usr/bin/perl,' examples/*
|
||||
# MANUAL END
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
@ -57,6 +61,6 @@ find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc ChangeLog examples README
|
||||
%doc ChangeLog CONTRIBUTING.md examples README
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user