Accepting request 295989 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/295989
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Quoted?expand=0&rev=11
This commit is contained in:
Stephan Kulow
2015-04-14 05:02:26 +00:00
committed by Git OBS Bridge
parent a0525349f6
commit 44b365fb65
4 changed files with 58 additions and 33 deletions

View File

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

3
Text-Quoted-2.09.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 13 18:55:02 UTC 2015 - coolo@suse.com
- updated to 2.09
see /usr/share/doc/packages/perl-Text-Quoted/Changes
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 26 18:18:21 UTC 2013 - darin@darins.net Thu Sep 26 18:18:21 UTC 2013 - darin@darins.net

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-Text-Quoted # spec file for package perl-Text-Quoted
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,55 +17,74 @@
Name: perl-Text-Quoted Name: perl-Text-Quoted
%define real_name Text-Quoted Version: 2.09
Summary: Extract the structure of a quoted mail message
License: Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/perldoc?Text::Quoted
Version: 2.08
Release: 0 Release: 0
Source: %{real_name}-%{version}.tar.gz %define cpan_name Text-Quoted
BuildRequires: perl-Text-Autoformat Summary: Extract the structure of a quoted mail message
BuildRequires: perl-macros License: Artistic-1.0 or GPL-1.0+
Requires: perl-Text-Autoformat Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-Quoted/
Source: http://www.cpan.org/authors/id/A/AL/ALEXMV/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Text::Autoformat)
Requires: perl(Text::Autoformat)
%{perl_requires} %{perl_requires}
%description %description
Text::Quoted examines the structure of some text which may contain multiple 'Text::Quoted' examines the structure of some text which may contain
different levels of quoting, and turns the text into a nested data structure. multiple different levels of quoting, and turns the text into a nested data
structure.
The structure is an array reference containing hash references for each The structure is an array reference containing hash references for each
paragraph belonging to the same author. Each level of quoting recursively adds paragraph belonging to the same author. Each level of quoting recursively
another list reference. adds another list reference. So for instance, this:
Authors: > foo
-------- > # Bar
Kasei Limited > baz
Simon Cozens
Best Practical Solutions
quux
turns into:
[
[
{ text => 'foo', quoter => '>', raw => '> foo' },
[
{ text => 'Bar', quoter => '> #', raw => '> # Bar' }
],
{ text => 'baz', quoter => '>', raw => '> baz' }
],
{ empty => 1 },
{ text => 'quux', quoter => '', raw => 'quux' }
];
This also tells you about what's in the hash references: 'raw' is the
paragraph of text as it appeared in the original input; 'text' is what it
looked like when we stripped off the quotation characters, and 'quoter' is
the quotation string.
%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 %perl_process_packlist
%perl_gen_filelist %perl_gen_filelist
%clean %files -f %{name}.files
rm -rf %{buildroot} %defattr(-,root,root,755)
%doc Changes README
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes README MANIFEST
%changelog %changelog