File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ dh-dist-zilla (1.3.5) UNRELEASED; urgency=medium
5
5
* Declare compliance with Debian Policy 4.1.1.
6
6
* Bump debhelper compatibility level to 10.
7
7
+ Update versioned debhelper build-dependency accordingly.
8
- * Make package perlcritic-severity-4-clean.
8
+ * Make package perlcritic-severity-4-clean. Also fulfil some
9
+ requirements for perlcritic severity level 3.
9
10
10
11
-- Axel Beckert <abe@debian.org> Sun, 11 Dec 2016 13:04:53 +0100
11
12
Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ sub parse_line {
24
24
chomp ($line );
25
25
26
26
# Weed out commments and empty lines
27
- next if $line =~ / ^#|^ $ / ;
27
+ next if $line =~ / ^ \# | ^$ / x ;
28
28
29
29
# Expect man page section as file suffix
30
- my ($name , $section ) = split (/ \. / , $line );
30
+ my ($name , $section ) = split (/ \. / x , $line );
31
31
32
32
# Expand potential wildcards and check for existence
33
33
my @names = get_names($name );
@@ -44,7 +44,7 @@ sub parse_line {
44
44
foreach my $name (@names ) {
45
45
# Remove .pod suffix from final name again
46
46
my $man_page_name = $name ;
47
- $man_page_name =~ s /\. pod$// ;
47
+ $man_page_name =~ s / \. pod$ // x ;
48
48
49
49
# Finally call pod2man
50
50
system (@pod2man , " --section=$section " ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ my $pristine_tar = $dh{PRISTINE_TAR};
14
14
my $no_clean = $dh {NO_CLEAN };
15
15
my $upstream_version = $dh {VERSION };
16
16
# Strip Debian revision
17
- $upstream_version =~ s / -[^-]+$// ;
17
+ $upstream_version =~ s / -[^-]+$// x ;
18
18
19
19
# First clean artifacts from previous, potentially manual builds
20
20
doit(qw( dzil clean) ) unless $no_clean ;
You can’t perform that action at this time.
0 commit comments