Bug#483384: lintian: False positive on native-package-with-dash-version with 3.0 (quilt) source packages
Package: lintian
Version: 1.23.49
Severity: normal
If you generate a "3.0 (quilt)" source package with
$ dpkg-source --format="3.0 (quilt)" -b mypackagedir
and you analyze with lintian the generated source package you'll end up
with something like this:
W: quilt source: native-package-with-dash-version
But the source package is definitely not native:
$ cat ../quilt_0.46-4.1.dsc
Format: 3.0 (quilt)
Source: quilt
Binary: quilt
Architecture: all
Version: 0.46-4.1
Maintainer: Martin Quinson <mquinson@debian.org>
Uploaders: Martin Quinson <mquinson@debian.org>, Simon Horman <horms@debian.org>
Standards-Version: 3.6.1.0
Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0)
Build-Depends-Indep: gettext, hevea, lynx, diffstat
Checksums-Sha1:
9344c1289f262053beb0196645b41ea5d9cda597 403984 quilt_0.46.orig.tar.gz
384fa4d069913b20fe50699dc77da9f8f644b741 38224 quilt_0.46-4.1.debian.tar.gz
Checksums-Sha256:
47bf030565bb462840db694acc183273455714028c74974c5b3a3bd4ad29ad89 403984 quilt_0.46.orig.tar.gz
e52b6fc53a588957e71d7245516fd591e3e5efd610f6589698546467da2d9f63 38224 quilt_0.46-4.1.debian.tar.gz
Files:
4508546d1ed0257ef7c128b6121b7208 403984 quilt_0.46.orig.tar.gz
713ef9174ad7269af4b88f143f193a9d 38224 quilt_0.46-4.1.debian.tar.gz
You probably check for the presence of a .diff.gz file. This check should be restricted
to the 1.0 format.
With newer source package format, you get "3.0 (native)" for a native package
and "3.0 (quilt)" can never be "native". You can check for the presence of the
..debian.tar.* file though.
I'm not sure how you should handle 3.x (git) and 3.x (bzr). I'd tend to handle them
as native packages but some people are interested to use them even for packaging of
third-party software (which is a bad idea IMO).
Cheers,
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lintian depends on:
ii binutils 2.18.1~cvs20080103-6 The GNU assembler, linker and bina
ii diffstat 1.45-2 produces graph of changes introduc
ii dpkg-dev 1.14.20 package building tools for Debian
ii file 4.24-2 Determines file type using "magic"
ii gettext 0.17-2 GNU Internationalization utilities
ii intltool-debian 0.35.0+20060710.1 Help i18n of RFC822 compliant conf
ii libparse-debianchan 1.1.1-2 parse Debian changelogs and output
ii liburi-perl 1.35.dfsg.1-1 Manipulates and accesses URI strin
ii man-db 2.5.2-1 on-line manual pager
ii perl [libdigest-sha 5.10.0-10 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Reply to: