[lintian] 01/01: Correct incorrect removal of "version" - I meant to remove the dummy version string.
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository lintian.
commit ca42f40f8c0409fe8fabb8e970c6af1040329dee
Author: Chris Lamb <lamby@debian.org>
Date: Sat Feb 17 09:03:30 2018 +0000
Correct incorrect removal of "version" - I meant to remove the dummy version string.
---
lib/Lintian/Collect/Source.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/Lintian/Collect/Source.pm b/lib/Lintian/Collect/Source.pm
index 5921df7..a085a6f 100644
--- a/lib/Lintian/Collect/Source.pm
+++ b/lib/Lintian/Collect/Source.pm
@@ -199,7 +199,7 @@ Needs-Info requirements for using I<repacked>: L<Same as field|Lintian::Collect/
sub repacked {
my ($self) = @_;
return $self->{repacked} if exists $self->{repacked};
- $self->{repacked} = $self->field('', '1.0-1') =~ $PKGREPACK_REGEX;
+ $self->{repacked} = $self->field('version', '') =~ $PKGREPACK_REGEX;
return $self->{repacked};
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: