Hello community,
here is the log from the commit of package perl-Unicode-LineBreak for
openSUSE:Factory checked in at 2017-04-20 20:47:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Unicode-LineBreak (Old)
and /work/SRC/openSUSE:Factory/.perl-Unicode-LineBreak.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Unicode-LineBreak"
Thu Apr 20 20:47:28 2017 rev:10 rq:487648 version:2017.004
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Unicode-LineBreak/perl-Unicode-LineBreak.changes
2016-04-03 23:06:14.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Unicode-LineBreak.new/perl-Unicode-LineBreak.changes
2017-04-20 20:47:28.997375202 +0200
@@ -1,0 +2,14 @@
+Wed Apr 12 06:55:05 UTC 2017 - [email protected]
+
+- updated to 2017.004
+ see /usr/share/doc/packages/perl-Unicode-LineBreak/Changes
+
+ 2017.004 Tue Apr 11 2017
+ # No new features.
+
+ 2016.007_02 Sat Jul 02 2016
+ ! lib/Text/LineFold.pm
+ ! t/04fold.t
+ - CPAN RT#115146: Space indenting not happening with "From" or " ".
+
+-------------------------------------------------------------------
Old:
----
Unicode-LineBreak-2016.003.tar.gz
New:
----
Unicode-LineBreak-2017.004.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Unicode-LineBreak.spec ++++++
--- /var/tmp/diff_new_pack.2OZgSZ/_old 2017-04-20 20:47:29.813259844 +0200
+++ /var/tmp/diff_new_pack.2OZgSZ/_new 2017-04-20 20:47:29.817259278 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Unicode-LineBreak
#
-# Copyright (c) 2016 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,14 +17,14 @@
Name: perl-Unicode-LineBreak
-Version: 2016.003
+Version: 2017.004
Release: 0
%define cpan_name Unicode-LineBreak
Summary: UAX #14 Unicode Line Breaking Algorithm
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Unicode-LineBreak/
-Source0:
http://www.cpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz
+Source0:
https://cpan.metacpan.org/authors/id/N/NE/NEZUMI/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
@@ -55,6 +55,7 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc ARTISTIC Changes Changes.REL1 GPL Makefile.PL.sombok README Todo.REL1
+%doc Changes Changes.REL1 GPL Makefile.PL.sombok README Todo.REL1
+%license ARTISTIC
%changelog
++++++ Unicode-LineBreak-2016.003.tar.gz -> Unicode-LineBreak-2017.004.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/Changes
new/Unicode-LineBreak-2017.004/Changes
--- old/Unicode-LineBreak-2016.003/Changes 2016-03-28 18:44:23.000000000
+0200
+++ new/Unicode-LineBreak-2017.004/Changes 2017-04-11 12:02:56.000000000
+0200
@@ -1,3 +1,11 @@
+2017.004 Tue Apr 11 2017
+# No new features.
+
+2016.007_02 Sat Jul 02 2016
+! lib/Text/LineFold.pm
+! t/04fold.t
+ - CPAN RT#115146: Space indenting not happening with "From" or " ".
+
2016.003 Tue Mar 29 2016
# No new features, version number as canonical numstring.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/META.json
new/Unicode-LineBreak-2017.004/META.json
--- old/Unicode-LineBreak-2016.003/META.json 2016-03-28 18:53:53.000000000
+0200
+++ new/Unicode-LineBreak-2017.004/META.json 2017-04-11 12:15:06.000000000
+0200
@@ -4,7 +4,7 @@
"Hatuka*nezumi - IKEDA Soji <[email protected]>"
],
"dynamic_config" : "1",
- "generated_by" : "ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter
version 2.150001",
+ "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
@@ -48,5 +48,6 @@
"url" : "https://github.com/hatukanezumi/Unicode-LineBreak/"
}
},
- "version" : "2016.003"
+ "version" : "2017.004",
+ "x_serialization_backend" : "JSON::PP version 2.27400_02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/META.yml
new/Unicode-LineBreak-2017.004/META.yml
--- old/Unicode-LineBreak-2016.003/META.yml 2016-03-28 18:53:52.000000000
+0200
+++ new/Unicode-LineBreak-2017.004/META.yml 2017-04-11 12:15:06.000000000
+0200
@@ -8,7 +8,7 @@
configure_requires:
ExtUtils::MakeMaker: '6.26'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.0401, CPAN::Meta::Converter
version 2.150001'
+generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,4 +25,5 @@
resources:
license: http://dev.perl.org/licenses/
repository: https://github.com/hatukanezumi/Unicode-LineBreak/
-version: '2016.003'
+version: '2017.004'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/README
new/Unicode-LineBreak-2017.004/README
--- old/Unicode-LineBreak-2016.003/README 2013-10-29 03:00:44.000000000
+0100
+++ new/Unicode-LineBreak-2017.004/README 2017-04-11 12:06:50.000000000
+0200
@@ -2,7 +2,7 @@
Unicode-LineBreak - UAX #14 Unicode Line Breaking Algorithm
===========================================================
-Unicode-LineBreak Package is Copyright (C) 2009-2013,
+Unicode-LineBreak Package is Copyright (C) 2009-2017,
by Hatuka*nezumi - IKEDA Soji.
This package is free software; you can redistribute it and/or modify it
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Unicode-LineBreak-2016.003/lib/POD2/JA/Unicode/LineBreak.pod
new/Unicode-LineBreak-2017.004/lib/POD2/JA/Unicode/LineBreak.pod
--- old/Unicode-LineBreak-2016.003/lib/POD2/JA/Unicode/LineBreak.pod
2015-06-21 04:01:29.000000000 +0200
+++ new/Unicode-LineBreak-2017.004/lib/POD2/JA/Unicode/LineBreak.pod
2017-04-11 12:07:57.000000000 +0200
@@ -909,7 +909,7 @@
=head1 AUTHOR
-Copyright (C) 2009-2013 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>.
+Copyright (C) 2009-2017 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/lib/Text/LineFold.pm
new/Unicode-LineBreak-2017.004/lib/Text/LineFold.pm
--- old/Unicode-LineBreak-2016.003/lib/Text/LineFold.pm 2013-11-21
06:48:58.000000000 +0100
+++ new/Unicode-LineBreak-2017.004/lib/Text/LineFold.pm 2017-04-11
11:53:07.000000000 +0200
@@ -48,7 +48,7 @@
### Globals
### The package Version
-our $VERSION = '2012.04';
+our $VERSION = '2016.00702';
### Public Configuration Attributes
our $Config = {
@@ -93,8 +93,6 @@
if ($action eq 'sol') {
if ($self->{_}->{prefix}) {
return $self->{_}->{prefix}.' '.$str;
- } elsif ($str =~ /^(?: |From |>)/) {
- return ' '.$str;
}
} elsif ($action =~ /^so/) {
$self->{_} = {};
@@ -102,11 +100,12 @@
$self->{_}->{prefix} = $1;
} else {
$self->{_}->{prefix} = '';
- if ($str =~ /^(?: |From )/) {
- return ' '.$str;
- }
}
} elsif ($action eq "") {
+ if ($str =~ /^(?: |From )/
+ or $str =~ /^>/ and !length $self->{_}->{prefix}) {
+ return $self->{_}->{line} = ' ' . $str;
+ }
$self->{_}->{line} = $str;
} elsif ($action eq 'eol') {
$str = ' ' if length $str;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/lib/Unicode/LineBreak.pm
new/Unicode-LineBreak-2017.004/lib/Unicode/LineBreak.pm
--- old/Unicode-LineBreak-2016.003/lib/Unicode/LineBreak.pm 2016-03-28
18:38:25.000000000 +0200
+++ new/Unicode-LineBreak-2017.004/lib/Unicode/LineBreak.pm 2017-04-11
12:04:11.000000000 +0200
@@ -25,7 +25,7 @@
### Globals
### The package version
-our $VERSION = '2016.003';
+our $VERSION = '2017.004';
### Public Configuration Attributes
our @Config = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/lib/Unicode/LineBreak.pod
new/Unicode-LineBreak-2017.004/lib/Unicode/LineBreak.pod
--- old/Unicode-LineBreak-2016.003/lib/Unicode/LineBreak.pod 2015-06-21
04:00:59.000000000 +0200
+++ new/Unicode-LineBreak-2017.004/lib/Unicode/LineBreak.pod 2017-04-11
12:07:24.000000000 +0200
@@ -975,7 +975,7 @@
=head1 AUTHOR
-Copyright (C) 2009-2013 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>.
+Copyright (C) 2009-2017 Hatuka*nezumi - IKEDA Soji <hatuka(at)nezumi.nu>.
This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/Unicode-LineBreak-2016.003/perl-Unicode-LineBreak.spec
new/Unicode-LineBreak-2017.004/perl-Unicode-LineBreak.spec
--- old/Unicode-LineBreak-2016.003/perl-Unicode-LineBreak.spec 2016-03-28
18:53:53.000000000 +0200
+++ new/Unicode-LineBreak-2017.004/perl-Unicode-LineBreak.spec 2017-04-11
12:15:06.000000000 +0200
@@ -1,5 +1,5 @@
%define module Unicode-LineBreak
-%define version 2016.003
+%define version 2017.004
%define release 1%{?dist}
%define sombok_version 2.4.0
%define sombok_max_version 2.99.99
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Unicode-LineBreak-2016.003/t/04fold.t
new/Unicode-LineBreak-2017.004/t/04fold.t
--- old/Unicode-LineBreak-2016.003/t/04fold.t 2013-10-29 03:00:44.000000000
+0100
+++ new/Unicode-LineBreak-2017.004/t/04fold.t 2017-04-11 11:53:07.000000000
+0200
@@ -2,11 +2,27 @@
use Test::More;
require "t/lf.pl";
-BEGIN { plan tests => 15 }
+BEGIN { plan tests => 15 + 2 }
foreach my $lang (qw(fr ja quotes)) {
do5tests($lang, $lang);
}
+my $in = <<EOF;
+This is a very long piece of text that wraps appropriately to have a From at
the start of the line. From should be space indented.
+ It never wraps at a space so let us start this paragraph with one so that the
behaviour there can be observed; it should have two spaces.
+EOF
+my $out = <<EOF;
+This is a very long piece of text that wraps appropriately to have a
+ From at the start of the line. From should be space indented.
+
+ It never wraps at a space so let us start this paragraph with one so
+that the behaviour there can be observed; it should have two spaces.
+
+EOF
+my $lf = Text::LineFold->new(ColMax => 72);
+is($lf->fold($in, 'FLOWED'), $out, 'CPAN RT 115146');
+is($lf->unfold($out, 'FLOWED'), $in, 'reversal');
+
1;