[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.1.6-21-gc3eba5d



The following commit has been merged in the master branch:
commit ab35cc1ba098b368d048f13c44babb1127ff2be9
Author: Russ Allbery <rra@debian.org>
Date:   Sat Jan 24 13:05:33 2009 -0800

    Don't issue no-homepage-field for native packages, improve description
    
    Don't issue no-homepage-field for Debian native packages.  Most of those
    will not have meaningful separate home pages.  Hopefully improve the
    wording of the long description a little bit.

diff --git a/checks/fields b/checks/fields
index 6e4edf7..882cc93 100644
--- a/checks/fields
+++ b/checks/fields
@@ -402,7 +402,7 @@ if (defined $info->field('homepage')) {
 	unless ($uri->scheme) { # not an absolute URI
 		tag "bad-homepage", $homepage;
 	}
-} elsif ($type eq "binary") {
+} elsif ($type eq "binary" and not $info->native) {
 	tag "no-homepage-field";
 }
 
diff --git a/checks/fields.desc b/checks/fields.desc
index 693bf11..fc02cfa 100644
--- a/checks/fields.desc
+++ b/checks/fields.desc
@@ -946,7 +946,8 @@ Ref: policy 7.5
 Tag: no-homepage-field
 Severity: pedantic
 Certainty: possible
-Info: The package lacks the <tt>Homepage</tt> field which, if it contains
- useful information or resources to the end user, should be provided in the
- <tt>control</tt> file.
+Info: This non-native package lacks a <tt>Homepage</tt> field.  If the
+ package has an upstream home page that contains useful information or
+ resources for the end user, consider adding a <tt>Homepage</tt> control
+ field to <tt>debian/control</tt>.
 Ref: policy 5.6.23

-- 
Debian package checker


Reply to: