diff -Nru libfile-bom-perl-0.15/Changes libfile-bom-perl-0.16/Changes --- libfile-bom-perl-0.15/Changes 2015-12-14 21:33:22.000000000 +0000 +++ libfile-bom-perl-0.16/Changes 2019-02-06 10:16:36.000000000 +0000 @@ -1,5 +1,8 @@ File::BOM changes document +0.16 - Wed Feb 6 2019 + - Fix tests failing under Encode 2.99. Thanks to Petr Pisar. + 0.15 - Mon Dec 14 2015 - Fix spelling errors spotted by debian team. Thanks to Gregor Herrmann. diff -Nru libfile-bom-perl-0.15/debian/changelog libfile-bom-perl-0.16/debian/changelog --- libfile-bom-perl-0.15/debian/changelog 2015-12-15 17:34:12.000000000 +0000 +++ libfile-bom-perl-0.16/debian/changelog 2019-02-09 01:19:56.000000000 +0000 @@ -1,3 +1,23 @@ +libfile-bom-perl (0.16-1) unstable; urgency=medium + + [ Salvatore Bonaccorso ] + * debian/control: Use HTTPS transport protocol for Vcs-Git URI + + [ gregor herrmann ] + * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. + * Remove Jonathan Yu from Uploaders. Thanks for your work! + + [ Salvatore Bonaccorso ] + * Update Vcs-* headers for switch to salsa.debian.org + + [ gregor herrmann ] + * Import upstream version 0.16. + * Add /me to Uploaders. + * Declare compliance with Debian Policy 4.3.0. + * Bump debhelper compatibility level to 11. + + -- gregor herrmann Sat, 09 Feb 2019 02:19:56 +0100 + libfile-bom-perl (0.15-1) unstable; urgency=medium * Team upload. diff -Nru libfile-bom-perl-0.15/debian/compat libfile-bom-perl-0.16/debian/compat --- libfile-bom-perl-0.15/debian/compat 2015-12-15 17:34:12.000000000 +0000 +++ libfile-bom-perl-0.16/debian/compat 2019-02-09 01:19:56.000000000 +0000 @@ -1 +1 @@ -9 +11 diff -Nru libfile-bom-perl-0.15/debian/control libfile-bom-perl-0.16/debian/control --- libfile-bom-perl-0.15/debian/control 2015-12-15 17:34:12.000000000 +0000 +++ libfile-bom-perl-0.16/debian/control 2019-02-09 01:19:56.000000000 +0000 @@ -1,19 +1,19 @@ Source: libfile-bom-perl Maintainer: Debian Perl Group -Uploaders: Jonathan Yu +Uploaders: gregor herrmann Section: perl Testsuite: autopkgtest-pkg-perl Priority: optional -Build-Depends: debhelper (>= 9), +Build-Depends: debhelper (>= 11), libmodule-build-perl Build-Depends-Indep: perl, libtest-exception-perl, libreadonly-perl, libtest-pod-perl, libtest-pod-coverage-perl -Standards-Version: 3.9.6 -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/libfile-bom-perl.git -Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libfile-bom-perl.git +Standards-Version: 4.3.0 +Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfile-bom-perl +Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfile-bom-perl.git Homepage: https://metacpan.org/release/File-BOM Package: libfile-bom-perl diff -Nru libfile-bom-perl-0.15/debian/copyright libfile-bom-perl-0.16/debian/copyright --- libfile-bom-perl-0.15/debian/copyright 2015-12-15 17:34:12.000000000 +0000 +++ libfile-bom-perl-0.16/debian/copyright 2019-02-09 01:19:56.000000000 +0000 @@ -1,4 +1,4 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: File-BOM Upstream-Contact: Matt Lawrence Source: https://metacpan.org/release/File-BOM @@ -9,6 +9,7 @@ Files: debian/* Copyright: 2009, Jonathan Yu + 2015-2019, gregor herrmann License: Artistic or GPL-1+ License: Artistic diff -Nru libfile-bom-perl-0.15/lib/File/BOM.pm libfile-bom-perl-0.16/lib/File/BOM.pm --- libfile-bom-perl-0.15/lib/File/BOM.pm 2015-12-14 21:33:35.000000000 +0000 +++ libfile-bom-perl-0.16/lib/File/BOM.pm 2019-02-06 10:06:46.000000000 +0000 @@ -101,7 +101,7 @@ my @vars = qw( %bom2enc %enc2bom ); -our $VERSION = '0.15'; +our $VERSION = '0.16'; our @EXPORT = (); our @EXPORT_OK = ( @subs, @vars ); diff -Nru libfile-bom-perl-0.15/MANIFEST libfile-bom-perl-0.16/MANIFEST --- libfile-bom-perl-0.15/MANIFEST 2015-12-14 21:38:12.000000000 +0000 +++ libfile-bom-perl-0.16/MANIFEST 2015-12-14 21:50:19.000000000 +0000 @@ -15,4 +15,4 @@ t/data/broken_bom.txt t/lib/Test/Framework.pm TODO -META.json +META.json diff -Nru libfile-bom-perl-0.15/META.json libfile-bom-perl-0.16/META.json --- libfile-bom-perl-0.15/META.json 2015-12-14 21:38:19.000000000 +0000 +++ libfile-bom-perl-0.16/META.json 2019-02-06 10:33:14.000000000 +0000 @@ -37,7 +37,7 @@ "provides" : { "File::BOM" : { "file" : "lib/File/BOM.pm", - "version" : "0.15" + "version" : "0.16" } }, "release_status" : "stable", @@ -46,5 +46,5 @@ "http://dev.perl.org/licenses/" ] }, - "version" : "0.15" + "version" : "0.16" } diff -Nru libfile-bom-perl-0.15/META.yml libfile-bom-perl-0.16/META.yml --- libfile-bom-perl-0.15/META.yml 2015-12-14 21:38:19.000000000 +0000 +++ libfile-bom-perl-0.16/META.yml 2019-02-06 10:33:14.000000000 +0000 @@ -18,11 +18,11 @@ provides: File::BOM: file: lib/File/BOM.pm - version: '0.15' + version: '0.16' requires: Encode: '1.99' Readonly: '0.06' perl: v5.8.3 resources: license: http://dev.perl.org/licenses/ -version: '0.15' +version: '0.16' diff -Nru libfile-bom-perl-0.15/t/01..bom.t libfile-bom-perl-0.16/t/01..bom.t --- libfile-bom-perl-0.15/t/01..bom.t 2006-10-04 09:45:57.000000000 +0000 +++ libfile-bom-perl-0.16/t/01..bom.t 2019-02-06 10:02:46.000000000 +0000 @@ -56,8 +56,12 @@ } open FH, '<', $file2path{$file}; - my $first_line = ; - chomp $first_line; + my $first_line; + { + local $/ = $fileeol{$file}; + $first_line = ; + chomp $first_line; + } seek(FH, 0, SEEK_SET); diff -Nru libfile-bom-perl-0.15/t/lib/Test/Framework.pm libfile-bom-perl-0.16/t/lib/Test/Framework.pm --- libfile-bom-perl-0.15/t/lib/Test/Framework.pm 2006-10-04 09:45:57.000000000 +0000 +++ libfile-bom-perl-0.16/t/lib/Test/Framework.pm 2019-02-06 10:02:46.000000000 +0000 @@ -4,6 +4,7 @@ # Common resources for tests # +use Encode qw( encode :fallback_all ); use File::Spec::Functions qw( catfile ); use File::Temp qw( tmpnam ); use POSIX qw( mkfifo ); @@ -13,7 +14,7 @@ use base qw( Exporter ); -our(%file2path, %file2enc, %filecontent, @test_files, $fifo_supported); +our(%file2path, %file2enc, %filecontent, %fileeol, @test_files, $fifo_supported); @EXPORT = qw( make_test_data @@ -21,6 +22,7 @@ %file2path %file2enc %filecontent + %fileeol @test_files write_fifo $fifo_supported @@ -45,6 +47,14 @@ ); @test_files = keys %file2enc; +for (@test_files) { + my $enc = $file2enc{$_}; + $enc = 'ASCII' if $enc eq ''; + my $eol = "\n"; + $eol = encode($enc, $eol, FB_CROAK); + $fileeol{$_} = $eol; +} + $file2path{$_} = catfile(qw(t data), $_) for @test_files; # write data into files