[SCM] Debian package checker branch, master, updated. 2.3.3-30-g7179bf8

2010-03-20 Thread Russ Allbery
The following commit has been merged in the master branch:
commit 1d4a12d3d684a021a670b31b864b65e56366acdd
Author: Jari Aalto jari.aa...@cante.net
Date:   Tue Mar 2 23:55:16 2010 +0200

checks/cruft.desc: improve native-package-with-dash-version

Signed-off-by: Jari Aalto jari.aa...@cante.net

diff --git a/checks/cruft.desc b/checks/cruft.desc
index 4d42a2b..f5ac35e 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -14,7 +14,8 @@ Info: Native packaging should only be used if a piece of 
software was
  .
  Native source packages are sometimes created by accident. In most cases
  the reason is the location of the original source tarball. dpkg-source
- searches for this in ../package_upstream-version.orig.tar.gz.
+ searches debian/changelog's VERSION in ../package_VERSION.orig.tar.gz.
+ Check also mistakenly set '(native)' value in file debian/source/format.
 
 Tag: non-native-package-with-native-version
 Severity: normal

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nt9lz-0005yx...@alioth.debian.org



[SCM] Debian package checker branch, master, updated. 2.3.3-30-g7179bf8

2010-03-20 Thread Russ Allbery
The following commit has been merged in the master branch:
commit 7179bf83c803d0c421449d528889143b1937f215
Author: Russ Allbery r...@debian.org
Date:   Sat Mar 20 17:48:14 2010 -0700

Improve native-package-with-dash-version wording

Rewrite the tag long description a bit more to be clearer, and add a
changelog entry.

diff --git a/checks/cruft.desc b/checks/cruft.desc
index f5ac35e..cfd6476 100644
--- a/checks/cruft.desc
+++ b/checks/cruft.desc
@@ -13,9 +13,12 @@ Info: Native packaging should only be used if a piece of 
software was
  the version number should not contain a Debian revision part.
  .
  Native source packages are sometimes created by accident. In most cases
- the reason is the location of the original source tarball. dpkg-source
- searches debian/changelog's VERSION in ../package_VERSION.orig.tar.gz.
- Check also mistakenly set '(native)' value in file debian/source/format.
+ the reason is the location of the original source tarball. For version
+ 1.0 source packages, dpkg-source determines whether they're non-native by
+ looking for a file named ttlt;package_lt;version.orig.tar.gz/tt
+ in the parent directory, where lt;version is the version from the most
+ recent ttdebian/changelog/tt entry. For version 3.0 packages, check
+ ttdebian/source/format/tt for an erroneous (native) package format.
 
 Tag: non-native-package-with-native-version
 Severity: normal
diff --git a/debian/changelog b/debian/changelog
index 58ca579..ef5cd1d 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,10 @@ lintian (2.3.4) UNRELEASED; urgency=low
   contain substvars other than *:Depends substvars, since substvars
   may be used to assemble the components of a dependency.  Thanks,
   Matthias Klose.  (Closes: #573815)
+  * checks/cruft.desc:
++ [RA] Provide more information in native-package-with-dash-version
+  long description about how native packages can be created by
+  mistake.  Thanks, Jari Aalto.  (Closes: #573839)
   * checks/init.d:
 + [RA] Exclude symlinks to upstart-job from init script syntax checks.
   Based on a patch by Jos Boumans.  (Closes: #569492)

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to debian-lint-maint-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1nt9lk-00062h...@alioth.debian.org