update to 1.19, noarch pkg

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-CSV?expand=0&rev=4
This commit is contained in:
Christian Wittmer 2010-10-17 17:45:23 +00:00 committed by Git OBS Bridge
parent 6832584805
commit 411546936c
4 changed files with 73 additions and 29 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d226e2c0bdb005c4a3e6b7ebc8ed3d07cd125d3de96414f3e48e1225e9e7ad9e
size 43439

3
Text-CSV-1.19.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:42bc1b598b74b36e2e6d3b7f2fd7c9bc2a412c20a954f31f9e27973cfea29342
size 44820

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Oct 17 17:40:00 UTC 2010 - chris@computersalat.de
- update to 1.19
- getline didn't work correctly with 0 or null containing lines
(pointed by Bernhard Prott)
- updated the compatibility for Text::CSV_XS version 0.74
* real eol support for parsing streams (beyond \n, \r and \r\n)
* clarify doc for always_quote to not quote undef fields
and XS and PP incompatibility of UTF8 process for print and combine
- 1.18 Sat Jun 19 10:34:07 2010
- fixed a combine bug with quote_space reported and patched by rt#58356
- updated test files compatible to CSV_XS 0.73
- noarch pkg
- recreated by cpanspec 1.78
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 17 08:16:11 UTC 2010 - lars@linux-schulserver.de Wed Mar 17 08:16:11 UTC 2010 - lars@linux-schulserver.de

View File

@ -1,29 +1,54 @@
# #
# spec file for package perl-Text-CSV # spec file for package perl-Text-CSV (Version 1.19)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild # norootforbuild
Name: perl-Text-CSV %bcond_with pod
%define real_name Text-CSV
Summary: CSV - comma-separated values manipulator Name: perl-Text-CSV
Version: 1.17 %define cpan_name Text-CSV
Release: 1 Summary: Comma-separated values manipulator (using XS or PurePerl)
Url: http://search.cpan.org/perldoc?Text::CSV Version: 1.19
Group: Development/Libraries/Perl Release: 1
License: Artistic License License: GPL+ or Artistic
Vendor: openSUSE-Education Group: Development/Libraries/Perl
Source: %{real_name}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/Text-CSV/
Requires: perl = %{perl_version} #Source: http://www.cpan.org/modules/by-module/Text/Text-CSV-%{version}.tar.gz
BuildRequires: perl-Test-Pod Source: %{cpan_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
%if %{with pod}
BuildRequires: perl(Test::Pod)
%endif
BuildRequires: perl(Test::More)
BuildRequires: perl(IO::Handle)
Requires: perl = %{perl_version}
Requires: perl(IO::Handle)
%description %description
Text::CSV provides facilities for the composition and decomposition of Text::CSV provides facilities for the composition and decomposition of
comma-separated values using Text::CSV_XS or its pure Perl version. comma-separated values using Text::CSV_XS or its pure Perl version.
An instance of the Text::CSV class can combine fields into a CSV string and An instance of the Text::CSV class can combine fields into a CSV string and
parse a CSV string into fields. parse a CSV string into fields.
The module accepts either strings or files as input and can utilize any The module accepts either strings or files as input and can utilize any
user-specified characters as delimiters, separators, and escapes so it is user-specified characters as delimiters, separators, and escapes so it is
@ -36,27 +61,30 @@ Author:
H.Merijn Brand H.Merijn Brand
Makamaka Hannyaharamitu Makamaka Hannyaharamitu
%prep %prep
%setup -n %{real_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?jobs:-j%jobs} %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist # do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist %perl_gen_filelist
%clean %clean
rm -rf %{buildroot} %{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files %files -f %{name}.files
%defattr(-, root, root) %defattr(-,root,root,-)
%doc Changes README MANIFEST %doc Changes README
%changelog %changelog