diff --git a/Text-CSV-1.33.tar.gz b/Text-CSV-1.33.tar.gz deleted file mode 100644 index 09bcbab..0000000 --- a/Text-CSV-1.33.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9c5b8fb9baffd58f02ed2b3f0b6d9a6454198f18a80e7f3a049680ddbdb24115 -size 64771 diff --git a/Text-CSV-1.91.tar.gz b/Text-CSV-1.91.tar.gz new file mode 100644 index 0000000..4742269 --- /dev/null +++ b/Text-CSV-1.91.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b16c36cc1705f9f5c5c0c190e9bf5b1dd9cb36980a6da342c8d5860f264b441f +size 113028 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#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: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#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 diff --git a/perl-Text-CSV.changes b/perl-Text-CSV.changes index eabbe40..a719e6b 100644 --- a/perl-Text-CSV.changes +++ b/perl-Text-CSV.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Feb 14 07:47:26 UTC 2017 - coolo@suse.com + +- updated to 1.91 + see /usr/share/doc/packages/perl-Text-CSV/Changes + + 1.91 2017-01-28 + - production release + + 1.90_01 2017-01-20 + - Text::CSV_PP is totally refactored using the code/doc of + Text::CSV_XS 1.27. Almost all the code/docs in CSV_XS.pm are + copied and a large portion of CSV_XS.xs is ported verbatim, + and now CSV_PP passes all the tests for CSV_XS (with slight + modification like s/XS/PP/g). + ------------------------------------------------------------------- Tue Apr 14 21:12:13 UTC 2015 - coolo@suse.com diff --git a/perl-Text-CSV.spec b/perl-Text-CSV.spec index ec2295a..f277986 100644 --- a/perl-Text-CSV.spec +++ b/perl-Text-CSV.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Text-CSV # -# Copyright (c) 2015 SUSE LINUX 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,35 +17,32 @@ Name: perl-Text-CSV -Version: 1.33 +Version: 1.91 Release: 0 %define cpan_name Text-CSV -Summary: comma-separated values manipulator (using XS or PurePerl) +Summary: Comma-Separated Values Manipulator (Using Xs or Pureperl) License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Text-CSV/ -Source: http://www.cpan.org/authors/id/M/MA/MAKAMAKA/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +Recommends: perl(Text::CSV_XS) >= 1.02 %{perl_requires} %description -Text::CSV provides facilities for the composition and decomposition of -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. - -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. +Text::CSV is a thin wrapper for Text::CSV_XS-compatible modules now. All +the backend modules provide facilities for the composition and +decomposition of comma-separated values. Text::CSV uses Text::CSV_XS by +default, and when Text::CSV_XS is not available, falls back on +Text::CSV_PP, which is bundled in the same distribution as this module. %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 %build %{__perl} Makefile.PL INSTALLDIRS=vendor @@ -61,6 +58,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes README +%doc Changes README.md %changelog