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

Bug#556015: debian-policy: Clarify requirements for copyright file



Steve Langasek <vorlon@debian.org> writes:
> On Sun, Dec 06, 2009 at 09:18:21PM -0800, Russ Allbery wrote:

>> No, Lintian has a special tag that it issues when it's checking a binary
>> package in isolation and therefore can't double-check that the doc symlink
>> points within the same source package.  That tag isn't (and certainly
>> shouldn't be) something that the archive auto-rejects on.

> Does lintian issue that tag when the package isn't being checked in
> isolation, it's being checked via the .changes file for a -B upload?

Looks that way.

        # We can only check if both packages come from the same source
        # if our source package is currently unpacked in the lab, too!
        if (-d "source") {      # yes, it's unpacked

            # $link from the same source pkg?
            if (-l "source/binary/$link") {
                # yes, everything is ok.
            } else {
                # no, it is not.
                tag "usr-share-doc-symlink-to-foreign-package", "$link";
            }
        } else {                # no, source is not available
            tag "cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package", "";
        }

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: