Codebase list libdebian-copyright-perl / b7b2a88
Refresh patches. Debian Janitor 1 year, 3 months ago
2 changed file(s) with 31 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
55 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=112637
66 Bug: https://rt.cpan.org/Ticket/Display.html?id=112637
77
8 --- a/t/01.basic.t
9 +++ b/t/01.basic.t
8 Index: libdebian-copyright-perl.git/t/01.basic.t
9 ===================================================================
10 --- libdebian-copyright-perl.git.orig/t/01.basic.t
11 +++ libdebian-copyright-perl.git/t/01.basic.t
1012 @@ -1,4 +1,4 @@
1113 -use Test::More tests => 37;
1214 +use Test::More tests => 38;
1315
1416 use Debian::Copyright;
1517
16 @@ -12,6 +12,7 @@
18 @@ -12,6 +12,7 @@ my $copyright = Debian::Copyright->new;
1719 isa_ok($copyright, 'Debian::Copyright');
1820 $copyright->read('t/data/copyright');
1921 like($copyright->header, qr{\AFormat:\s}xms, 'Header stanza');
2123 is($copyright->files->Length, 2, 'files length');
2224 is($copyright->files->Keys(0), '*', 'key files(0)');
2325 is($copyright->files->Values(0)->Files, '*', 'files(0)->Files');
24 --- a/t/data/copyright
25 +++ b/t/data/copyright
26 @@ -2,6 +2,7 @@
26 Index: libdebian-copyright-perl.git/t/data/copyright
27 ===================================================================
28 --- libdebian-copyright-perl.git.orig/t/data/copyright
29 +++ libdebian-copyright-perl.git/t/data/copyright
30 @@ -2,6 +2,7 @@ Format: http://www.debian.org/doc/packag
2731 Upstream-Name: pkg-components
2832 Upstream-Contact: Nicholas Bamber <nicholas@periapt.co.uk>
2933 Source: http://github.com/periapt/pkg-components
3135
3236 Files: *
3337 Copyright:
34 --- a/lib/Debian/Copyright/Stanza/Header.pm
35 +++ b/lib/Debian/Copyright/Stanza/Header.pm
36 @@ -43,6 +43,8 @@
38 Index: libdebian-copyright-perl.git/lib/Debian/Copyright/Stanza/Header.pm
39 ===================================================================
40 --- libdebian-copyright-perl.git.orig/lib/Debian/Copyright/Stanza/Header.pm
41 +++ libdebian-copyright-perl.git/lib/Debian/Copyright/Stanza/Header.pm
42 @@ -43,6 +43,8 @@ replaced with underscores.
3743
3844 =item Copyright
3945
4248 =back
4349
4450 =cut
45 @@ -62,6 +64,7 @@
51 @@ -62,6 +64,7 @@ use constant fields => qw (
4652 Comment
4753 License
4854 Copyright
88 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=108121
99 Bug: https://rt.cpan.org/Ticket/Display.html?id=108121
1010
11 --- a/lib/Debian/Copyright.pm
12 +++ b/lib/Debian/Copyright.pm
13 @@ -161,6 +161,9 @@
11 Index: libdebian-copyright-perl.git/lib/Debian/Copyright.pm
12 ===================================================================
13 --- libdebian-copyright-perl.git.orig/lib/Debian/Copyright.pm
14 +++ libdebian-copyright-perl.git/lib/Debian/Copyright.pm
15 @@ -161,6 +161,9 @@ reference.
1416 sub write {
1517 my ( $self, $file ) = @_;
1618
2022 my @stanzas = (
2123 $self->header,
2224 $self->files->Values,
23 --- a/lib/Debian/Copyright/Stanza/OrSeparated.pm
24 +++ b/lib/Debian/Copyright/Stanza/OrSeparated.pm
25 @@ -82,7 +82,7 @@
25 Index: libdebian-copyright-perl.git/lib/Debian/Copyright/Stanza/OrSeparated.pm
26 ===================================================================
27 --- libdebian-copyright-perl.git.orig/lib/Debian/Copyright/Stanza/OrSeparated.pm
28 +++ libdebian-copyright-perl.git/lib/Debian/Copyright/Stanza/OrSeparated.pm
29 @@ -82,7 +82,7 @@ sub as_string
2630 {
2731 my $self = shift;
2832 my $body = exists $self->{body} ? "\n$self->{body}" : "";
3135 }
3236
3337 =head2 equals
34 --- a/t/01.basic.t
35 +++ b/t/01.basic.t
38 Index: libdebian-copyright-perl.git/t/01.basic.t
39 ===================================================================
40 --- libdebian-copyright-perl.git.orig/t/01.basic.t
41 +++ libdebian-copyright-perl.git/t/01.basic.t
3642 @@ -1,4 +1,4 @@
3743 -use Test::More tests => 36;
3844 +use Test::More tests => 37;
3945
4046 use Debian::Copyright;
4147
42 @@ -61,7 +61,8 @@
48 @@ -61,7 +61,8 @@ is($copyright->licenses->Keys(0), 'Artis
4349 like($copyright->licenses->Values(0)->License, qr/\AArtistic\s+This\sprogram/xms, 'licenses(0)->Files');
4450 is($copyright->files->Keys(2), 'test/*', 'key files(2)');
4551 is($copyright->files->Values(2)->Files, 'test/*', 'files(2)->Files');