Jari Aalto <[EMAIL PROTECTED]> writes:

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

> In the case of single package, the following entry in debian/control in 
> unnecessary:

>   Depends: ${shlibs:Depends}, ${misc:Depends}
>          ==================

Why would this not be necessary?

> If possible, lintian could warn about unneeded entry. 

> I've used following makefile target to check these mistakes. Perhpas
> it can give ideas how to implement something similar to lintian.

> lintian-control:
>       # Check control file errors
>       @file=debian/control; \
>       if grep --with-filename "shlibs:Depends" $$file; then \
>         list=$$(find . -name "*.la" -o -name "*.a" > /dev/null); \
>         if [ ! "$$list" ]; then \
>           echo "[ERROR] No libraries found in package"; \
>         fi; \
>       fi

This doesn't make sense.  ${shlibs:Depends} is required for any package
that contains a compiled library.  It doesn't have to do with whether the
package itself contains a library.  (Not to mention that you're searching
for files only included in a dev package, which is something else
entirely.)

I think there's some fundamental misunderstanding here.

-- 
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