Accepting request 459304 from devel:languages:perl
1 OBS-URL: https://build.opensuse.org/request/show/459304 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Text-CSV?expand=0&rev=17
This commit is contained in:
commit
c669d9484c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9c5b8fb9baffd58f02ed2b3f0b6d9a6454198f18a80e7f3a049680ddbdb24115
|
||||
size 64771
|
3
Text-CSV-1.91.tar.gz
Normal file
3
Text-CSV-1.91.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b16c36cc1705f9f5c5c0c190e9bf5b1dd9cb36980a6da342c8d5860f264b441f
|
||||
size 113028
|
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@ -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
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user