This commit is contained in:
parent
828a712d97
commit
c81ff7141c
@ -1,10 +0,0 @@
|
||||
--- Makefile.PL
|
||||
+++ Makefile.PL 2007/07/16 10:17:50
|
||||
@@ -23,6 +23,7 @@
|
||||
my %wm = (
|
||||
NAME => "Text::CSV_XS",
|
||||
ABSTRACT => "Comma-Separated Values manipulation routines",
|
||||
+ 'INSTALLMAN3DIR' => '$(PREFIX)/share/man/man3',
|
||||
AUTHOR => "H.Merijn Brand <h.merijn\@xs4all.nl>",
|
||||
VERSION_FROM => "CSV_XS.pm",
|
||||
PREREQ_PM => {
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dca077a68ad0b8505435adf3d2997e2139bbbec2ec1f437df388f635484fbfd8
|
||||
size 85570
|
3
Text-CSV_XS-0.67.tgz
Normal file
3
Text-CSV_XS-0.67.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b531158d7d8ababb69795ea30c1d40bfb736321f4dcd75f2f0b859b09c38d56
|
||||
size 101949
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 10 09:27:37 CEST 2009 - coolo@novell.com
|
||||
|
||||
- update 0.67
|
||||
* Fix empty_diag typo for attribute handler
|
||||
* Fix AUTOMATED_TESTING erroneous skip
|
||||
* Reordered examples in doc to show best method first
|
||||
* Fail if first arg to new () is not a hash ref
|
||||
* Implement empty_is_undef on request of Evan Carroll
|
||||
* error_diag () uses warn () in void context instead of STDERR
|
||||
* Add auto_diag attribute (still under construction)
|
||||
* Initial known errors can now be checked on number (1002)
|
||||
* Added -u option to examples/csv-check to validate utf-8 encoding
|
||||
* All error_diag () returns should now be dual-var (both numeric
|
||||
... see Changelog for many more fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 14 11:07:25 CEST 2008 - ug@suse.de
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package perl-Text-CSV_XS (Version 0.41)
|
||||
# spec file for package perl-Text-CSV_XS (Version 0.67)
|
||||
#
|
||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -19,227 +19,54 @@
|
||||
|
||||
|
||||
Name: perl-Text-CSV_XS
|
||||
Summary: Perl Module Text::CSV
|
||||
Version: 0.41
|
||||
Release: 34
|
||||
License: GPL v2 or later
|
||||
%define real_name Text-CSV_XS
|
||||
Summary: Comma-separated values manipulation routines
|
||||
Url: http://search.cpan.org/perldoc?Text::CSV_XS
|
||||
Group: Development/Libraries/Perl
|
||||
Source0: Text-CSV_XS-%{version}.tgz
|
||||
Patch: Text-CSV_XS-%{version}.dif
|
||||
Url: http://www.cpan.org
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Obsoletes: p_txtcsv
|
||||
Provides: p_txtcsv
|
||||
License: Artistic License ..
|
||||
Version: 0.67
|
||||
Release: 1
|
||||
Source: %{real_name}-%{version}.tgz
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
BuildRequires: perl-Test-Pod-Coverage
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
ext::CSV provides facilities for the composition and decomposition of
|
||||
comma-separated values. An instance of the Text::CSV class can combine
|
||||
Text::CSV_XS provides facilities for the composition and decomposition of
|
||||
comma-separated values. An instance of the Text::CSV_XS class can combine
|
||||
fields into a CSV string and parse a CSV string into fields.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jochen Wiedmann <joe@ispsoft.de>
|
||||
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.
|
||||
|
||||
%prep
|
||||
%setup -q -n Text-CSV_XS-%{version}
|
||||
%patch
|
||||
%setup -n %{real_name}-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
make
|
||||
perl Makefile.PL
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc README
|
||||
%doc ChangeLog README MANIFEST
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorarch}/Text
|
||||
%{perl_vendorarch}/auto/Text
|
||||
%dir %{perl_vendorarch}/Text
|
||||
%dir %{perl_vendorarch}/auto/Text
|
||||
%dir %{perl_vendorarch}/auto/Text/CSV_XS
|
||||
%{perl_vendorarch}/auto/Text/CSV_XS/.packlist
|
||||
%{perl_vendorarch}/auto/Text/CSV_XS/*
|
||||
%{perl_vendorarch}/Text/*
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
* Mon Apr 14 2008 ug@suse.de
|
||||
- version 0.41
|
||||
- error_diag () subclassable
|
||||
- typo in bind_columns () docs
|
||||
- examples/csv2xls now uses getline ()
|
||||
- better test for getline in t/75_hashref.t (makamata)
|
||||
- document return value of getline () with bind_columns ()
|
||||
- add perl version prereq to META.yml
|
||||
- Implemented getline_hr () and column_names () RT 34474
|
||||
(suggestions accepted from Mark Stosberg)
|
||||
- Corrected misspelled variable names in XS
|
||||
- Functions are now =head2 type doc entries (Mark Stosberg)
|
||||
- Make SetDiag() available to the perl level, so errors can
|
||||
be centralized and consistent
|
||||
- Integrate the non-XS errors into XS
|
||||
- Add t/75_hashref.t
|
||||
- Testcase for error 2023 (Michael P Randall)
|
||||
- Completely refactored the XS part of parse/getline, which
|
||||
is now up to 6%% faster. YMMV
|
||||
- Completed bind_columns. On straight fetches now up to three
|
||||
times as fast as normal fetches (both using getline ())
|
||||
* Fri Apr 04 2008 ug@suse.de
|
||||
- version to 0.37
|
||||
- Fix leak / make meta info available to getline () + tests
|
||||
- Updated ppport.h
|
||||
- auto-load IO::Handle when needed
|
||||
- Diagnostics for failed new ()
|
||||
- New 'blank_is_undef' option
|
||||
- Fixed allow_whitespace issue, revealed by blank_is_undef
|
||||
- Fixed parse error that passed for q{1, "bar",2} with escape_char +
|
||||
- Extended XS coverage
|
||||
- Removed error 2033
|
||||
- Text-CSV_XS now under git
|
||||
- Added $csv->error_diag () to SYNOPSIS
|
||||
- Added need for diag when new () fails to TODO
|
||||
- Fixed a sneaked-in defined or in examples/csv2xls
|
||||
- Plugged a 32byte memory leak in the cache code (valgrind++)
|
||||
- Improved usage for examples/csv2xls (GetOpt::Long now does --help/-?)
|
||||
- Extended examples/csv2xls to deal with Unicode (-u)
|
||||
- Serious bug in Text::CSV_XS::NV () type setting, causing the
|
||||
resulting field to be truncated to IV
|
||||
* Mon Jul 16 2007 ug@suse.de
|
||||
- version to 0.29
|
||||
* Removed an unused 'use Data::Dumper'
|
||||
* Added $csv->eof () RT 27424
|
||||
* Two typo's in the doc's (Amsterdam.pm)
|
||||
* Modified examples/speed.pl to better show the diffs between versions
|
||||
* Cache attribute settings and regain speed of 0.23! anmd beyond
|
||||
Relative overall speeds (YMMV, use examples/speed.pl to check),
|
||||
the 1.0x versions are from Text::CSV_PP.
|
||||
0.23 0.25 0.26 0.27 0.28 0.29 1.00 1.02 1.05
|
||||
==== ==== ==== ==== ==== ==== ==== ==== ====
|
||||
combine 1 62 61 61 60 58 100 14 14 14
|
||||
combine 10 41 41 41 42 42 100 6 6 6
|
||||
combine 100 35 35 36 36 36 100 5 5 5
|
||||
parse 1 100 92 87 90 81 96 19 19 17
|
||||
parse 10 95 100 86 97 94 94 15 16 14
|
||||
parse 100 90 95 84 94 92 100 16 16 14
|
||||
print io 93 89 91 91 95 100 0 0 6
|
||||
getline io 90 92 84 87 89 100 0 0 13
|
||||
---- ---- ---- ---- ---- ---- ---- ---- ----
|
||||
average 75 75 71 74 73 98 9 9 11
|
||||
* Removed prototypes
|
||||
* Added a SPECIFICATION section to the pod
|
||||
* Safe caching of eol, and a warning in the docs
|
||||
* Rewrote t/20_file.t do do actual file IO instead of IO_Scalar fake
|
||||
* Small optimilisation for parse (juerd)
|
||||
* Added make target test_speed
|
||||
* Merged the items from CAVEAT to SPECIFICATION
|
||||
* Updated the TODO and Release Plan sections
|
||||
* Speed up internals by using references instead of copies (juerd)
|
||||
* Reworked error_input, which also had an undetected internal error
|
||||
* Added IO tests for lexical IO handles and perlio IO to/from scalars
|
||||
* IMPORTANT CHANGE: new () returns undef if it gets unsupported
|
||||
attributes. Until now, new ({ esc_char => "\\" }) was just
|
||||
silently ignored. Rejecting it and failing is better than
|
||||
continuing with false assumptions.
|
||||
* Added allow_loose_quotes (see doc)
|
||||
* Added t/65_allow.t
|
||||
* Added allow_loose_escapes (see doc) RT 15076
|
||||
* More code cleanup in XS
|
||||
* Added allow_whitespace (see doc)
|
||||
* checked with perlcritic (still works under 5.00504)
|
||||
so 3-arg open cannot be used (except in the docs)
|
||||
* 3-arg open in docs too
|
||||
* Added a lot to the TODO list
|
||||
* Some more info on using escape character (jZed)
|
||||
* Mention Text::CSV_PP in README
|
||||
* Added t/45_eol.t, eol tests
|
||||
* Added a section about embedded newlines in the pod
|
||||
* Allow \r as eol ($/) for parsing
|
||||
* More docs for eol
|
||||
* More eol = \r fixes, tfrayner's test case added to t/45_eol.t
|
||||
* Add $csv->allow_undef (1) suggestion in TODO
|
||||
Still have to find the best spot to document
|
||||
the difference between empty string and undef
|
||||
* Spell-checked the pod and fixed some typo's
|
||||
* Added t/70_rt.t
|
||||
- Regression for RT 24386: \t doesn't work (WFM)
|
||||
- Regression and fix for RT 21530: getline () return at eof
|
||||
This one still passes under perl 5.00504
|
||||
- Regression for RT 18703: Fails to use quote_char of '~'
|
||||
* Added t/55_combi.t for most combinations of always_quote,
|
||||
sep_char, quote_char, and escape_char
|
||||
* Added docs about sep_char not allowed to be either quote_char
|
||||
or escape_char
|
||||
* Both combine () and parse () now return FALSE id sep_char is
|
||||
equal to either quote_char or escape_char. Done in XS, as it
|
||||
was a slowdown of 10%% when done in perl.
|
||||
* Merijn got the maintainership
|
||||
- code reformat and code cleanup
|
||||
- renamed internal (Encode, Decode) to (Combine, Parse) to
|
||||
prevent misinterpretation with upcoming Unicode changes
|
||||
and possible name clashes
|
||||
- added pod check (and fixed pod)
|
||||
- added pod coverage and small additions to the pod.
|
||||
More to do in this area
|
||||
- renamed test to fixate the sequence
|
||||
- Added t/50_utf8.t
|
||||
- tests now use Test::More
|
||||
. Makefile.PL requires Test::More
|
||||
- checked proclaimed version compatibility
|
||||
. 5.9.x-64int works @31159
|
||||
. 5.8.x-64int-dor works @31162
|
||||
. 5.8.0-dor works
|
||||
. 5.6.2 works
|
||||
. 5.005.04 works
|
||||
. 5.004.05 fails
|
||||
- 5.005 is now prerequisite
|
||||
- Added missing info in docs for new ()
|
||||
- Added meta_info () method and docs
|
||||
- Added keep_meta_info in new ()
|
||||
- Added t/15_flags.t
|
||||
- Added test_cover make target
|
||||
- Added test for error_input ()
|
||||
- Added tests for fields () and meta_info () before parse ()
|
||||
- Added tests for ->types () as method
|
||||
- Added tests for deleting types (coverage now over 99%%)
|
||||
- Added is_quoted (), is_binary () and tests
|
||||
- Added COPYRIGHT section to pod
|
||||
- Added the parse example from the pod to test.pl
|
||||
- Added accessor methods for internals: quote_char () et all
|
||||
- Added tests for the new accessor methods
|
||||
- Added always_quote to the missing places in the doc and in new ()
|
||||
- Changed the tests to use the accessors instead of the hash keys
|
||||
except for the ->{types} and ->{_types}
|
||||
- Moved test.pl to examples/speed.pl
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Sep 28 2005 dmueller@suse.de
|
||||
- add norootforbuild
|
||||
* Fri Aug 22 2003 mjancar@suse.cz
|
||||
- require the perl version we build with
|
||||
* Fri Jul 18 2003 nashif@suse.de
|
||||
- use DESTDIR
|
||||
- fixed filelist
|
||||
* Tue Jul 01 2003 ro@suse.de
|
||||
- use perl_process_packlist macro
|
||||
* Fri Jun 13 2003 nashif@suse.de
|
||||
- Fixed file list
|
||||
* Mon Jul 08 2002 nashif@suse.de
|
||||
- use mandir macro
|
||||
* Tue Dec 11 2001 nashif@suse.de
|
||||
- Update to version 0.23
|
||||
* Wed Mar 07 2001 nashif@suse.de
|
||||
- Update to version 0.22
|
||||
* Wed Nov 08 2000 nashif@suse.de
|
||||
- removed buiuld root path from packlist
|
||||
* Tue Nov 07 2000 nashif@suse.de
|
||||
- Changed to long package name
|
||||
* Wed Oct 11 2000 nashif@suse.de
|
||||
- Fixed man path
|
||||
* Thu Aug 24 2000 nashif@suse.de
|
||||
- Initial Release (0.20)
|
||||
|
Loading…
x
Reference in New Issue
Block a user