merge 409109 119097
thanks

Jari Aalto <[EMAIL PROTECTED]> writes:

> Package: lintian
> Version: 1.23.27
> Severity: wishlist

> CASE STUDY

>   debian/control:

>       Package: foo
>       Architecture: all

>   debian/rules

>       # Build architecture-dependent files here.
>       binary-arch: build install
>               dh_testdir
>               dh_testroot
>               dh_installchangelogs

> DESCRIPTION

> There is clear mistake here. The package does not depend in
> architecture, so the rules files shuld have all dh_* calls listed in
> binary-indep:.

> This can easily happend when using dh_make to package interpreted
> programs, like Python, Perl, Ryby etc.

Duplicate of #119097.

> SUGGESTION

> Please treat incorrect debain/rules in respect to
> debian/control::Architecture as an error (E:).

Yup, this is a good idea.  You have to ignore some debian/rules files to
avoid false positives, but the basic idea is sound.  I've thought about
implementing this a few times but haven't gotten around to it.

This is one of the checks I had in mind when I started the new
checks/rules file.

-- 
Russ Allbery ([EMAIL PROTECTED])               <http://www.eyrie.org/~eagle/>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to