Hello community,
here is the log from the commit of package perl-Text-Autoformat for
openSUSE:Factory checked in at 2015-05-06 07:49:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-Autoformat (Old)
and /work/SRC/openSUSE:Factory/.perl-Text-Autoformat.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Text-Autoformat"
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Text-Autoformat/perl-Text-Autoformat.changes
2015-04-23 08:03:45.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Text-Autoformat.new/perl-Text-Autoformat.changes
2015-05-06 07:49:39.000000000 +0200
@@ -1,0 +2,25 @@
+Tue May 5 08:45:00 UTC 2015 - [email protected]
+
+- updated to 1.71
+ see /usr/share/doc/packages/perl-Text-Autoformat/Changes
+
+ 1.71 2015-05-04 NEILB
+ - Previous release had a problem with PAUSE, caused by the two internal
+ packages not having a $VERSION. Identified and reported as PAUSE
+ issue GH#170 by KENTNL++. Added $VERSION to internal packages.
+
+-------------------------------------------------------------------
+Sat May 2 06:16:48 UTC 2015 - [email protected]
+
+- updated to 1.70
+ see /usr/share/doc/packages/perl-Text-Autoformat/Changes
+
+ 1.70 2015-05-01 NEILB
+ - Removed useless loading of utf8 and Data::Dumper. RJBS++
+ - Only renumber ASCII-digit lists, don't touch other \d things. RJBS++
+
+ 1.69_01 2015-04-25 NEILB
+ - This was a developer release containing the changes subsequently
+ released in 1.70 (see above).
+
+-------------------------------------------------------------------
Old:
----
Text-Autoformat-1.69.tar.gz
New:
----
Text-Autoformat-1.71.tar.gz
cpanspec.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Text-Autoformat.spec ++++++
--- /var/tmp/diff_new_pack.FuPpkT/_old 2015-05-06 07:49:40.000000000 +0200
+++ /var/tmp/diff_new_pack.FuPpkT/_new 2015-05-06 07:49:40.000000000 +0200
@@ -17,14 +17,15 @@
Name: perl-Text-Autoformat
-Version: 1.69
+Version: 1.71
Release: 0
%define cpan_name Text-Autoformat
Summary: Automatic text wrapping and reformatting
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Text-Autoformat/
-Source:
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+Source0:
http://www.cpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
++++++ Text-Autoformat-1.69.tar.gz -> Text-Autoformat-1.71.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Text-Autoformat-1.69/Changes
new/Text-Autoformat-1.71/Changes
--- old/Text-Autoformat-1.69/Changes 2015-02-15 10:54:21.000000000 +0100
+++ new/Text-Autoformat-1.71/Changes 2015-05-05 00:37:07.000000000 +0200
@@ -1,5 +1,18 @@
Revision history for Perl module Text::Autoformat
+1.71 2015-05-04 NEILB
+ - Previous release had a problem with PAUSE, caused by the two internal
+ packages not having a $VERSION. Identified and reported as PAUSE
+ issue GH#170 by KENTNL++. Added $VERSION to internal packages.
+
+1.70 2015-05-01 NEILB
+ - Removed useless loading of utf8 and Data::Dumper. RJBS++
+ - Only renumber ASCII-digit lists, don't touch other \d things. RJBS++
+
+1.69_01 2015-04-25 NEILB
+ - This was a developer release containing the changes subsequently
+ released in 1.70 (see above).
+
1.69 2015-02-15 NEILB
- Changed the internal packages Hang and NullHang to
Text::Autoformat::Hang and Text::Autoformat::NullHang respectively.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Text-Autoformat-1.69/MANIFEST
new/Text-Autoformat-1.71/MANIFEST
--- old/Text-Autoformat-1.69/MANIFEST 2015-02-15 10:55:14.000000000 +0100
+++ new/Text-Autoformat-1.71/MANIFEST 2015-04-25 10:16:07.000000000 +0200
@@ -7,6 +7,7 @@
lib/Text/Autoformat.pm
t/00.load.t
t/01.ignore.t
+t/02.wide-numbers.t
config.emacs
config.vim
-META.json Module JSON meta-data (added by
MakeMaker)
+META.json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Text-Autoformat-1.69/META.json
new/Text-Autoformat-1.71/META.json
--- old/Text-Autoformat-1.69/META.json 2015-02-15 10:55:14.000000000 +0100
+++ new/Text-Autoformat-1.71/META.json 2015-05-05 00:37:20.000000000 +0200
@@ -4,7 +4,7 @@
"Damian Conway <[email protected]>"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter
version 2.143240",
+ "generated_by" : "ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter
version 2.150001",
"license" : [
"unknown"
],
@@ -46,5 +46,5 @@
"web" : "https://github.com/neilbowers/Text-Autoformat"
}
},
- "version" : "1.69"
+ "version" : "1.71"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Text-Autoformat-1.69/META.yml
new/Text-Autoformat-1.71/META.yml
--- old/Text-Autoformat-1.69/META.yml 2015-02-15 10:55:14.000000000 +0100
+++ new/Text-Autoformat-1.71/META.yml 2015-05-05 00:37:20.000000000 +0200
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter version
2.143240'
+generated_by: 'ExtUtils::MakeMaker version 7.02, CPAN::Meta::Converter version
2.150001'
license: unknown
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -23,4 +23,4 @@
version: '0'
resources:
repository: git://github.com/neilbowers/Text-Autoformat.git
-version: '1.69'
+version: '1.71'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Text-Autoformat-1.69/lib/Text/Autoformat.pm
new/Text-Autoformat-1.71/lib/Text/Autoformat.pm
--- old/Text-Autoformat-1.69/lib/Text/Autoformat.pm 2015-02-15
10:53:31.000000000 +0100
+++ new/Text-Autoformat-1.71/lib/Text/Autoformat.pm 2015-05-05
00:34:33.000000000 +0200
@@ -4,7 +4,7 @@
use vars qw($VERSION @ISA @EXPORT @EXPORT_OK);
use Carp;
use 5.005;
-our $VERSION = '1.69';
+our $VERSION = '1.71';
require Exporter;
@@ -506,8 +506,6 @@
return $ignore;
}
-use utf8;
-
my $alpha = qr/[^\W\d_]/;
my $notalpha = qr/[\W\d_]/;
my $word = qr/\pL(?:\pL'?)*/;
@@ -521,7 +519,6 @@
my $text = "";
my @pieces = split /(&[a-z]+;)/i, $origtext;
- use Data::Dumper 'Dumper';
push @pieces, "" if @pieces % 2;
return $text unless @pieces;
local $_ = shift @pieces;
@@ -654,7 +651,10 @@
}
package Text::Autoformat::Hang;
+
+our $VERSION = '1.71';
use strict;
+use warnings;
# ROMAN NUMERALS
@@ -675,7 +675,7 @@
# BITS OF A NUMERIC VALUE
-my $num = q/(?:\d{1,3}\b(?!:\d\d\b))/; # Ignore 8:20 etc.
+my $num = q/(?:[0-9]{1,3}\b(?!:[0-9][0-9]\b))/; # Ignore 8:20 etc.
my $let = q/[A-Za-z]/;
my $pbr = q/[[(<]/;
my $sbr = q/])>/;
@@ -856,7 +856,11 @@
sub empty { 0 }
package Text::Autoformat::NullHang;
+
use strict;
+use warnings;
+
+our $VERSION = '1.71';
sub new { bless {}, $_[0] }
sub stringify { "" }
@@ -877,7 +881,7 @@
=head1 VERSION
-This document describes version 1.69 of Text::Autoformat
+This document describes version 1.70 of Text::Autoformat
=head1 SYNOPSIS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/Text-Autoformat-1.69/t/02.wide-numbers.t
new/Text-Autoformat-1.71/t/02.wide-numbers.t
--- old/Text-Autoformat-1.69/t/02.wide-numbers.t 1970-01-01
01:00:00.000000000 +0100
+++ new/Text-Autoformat-1.71/t/02.wide-numbers.t 2015-04-25
10:11:36.000000000 +0200
@@ -0,0 +1,24 @@
+use utf8;
+use strict;
+use Test::More tests => 1;
+use Text::Autoformat;
+
+my $str = <<'END';
+1. Analyze problem
+2. Design algorithm
+6. Code solution
+4. Test
+2. Ship
+END
+
+my $after = autoformat $str, {
+ lists => 'number',
+ all => 1, # rjbs thinks this should not be needed -- rjbs, 2015-04-24
+};
+
+unlike(
+ $after,
+ qr/2/,
+ "we do not mangle lists numbered with non-ASCII numbers",
+);
+
++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#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_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