]> git.cworth.org Git - tar/commitdiff
Respect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2
authorCarl Worth <cworth@cworth.org>
Tue, 4 Aug 2009 19:07:44 +0000 (12:07 -0700)
committerCarl Worth <cworth@cworth.org>
Tue, 4 Aug 2009 19:07:44 +0000 (12:07 -0700)
This was the only change necessary to bring conformance up from 3.8.0,
and now lintian should be happier.

debian/changelog
debian/control
debian/rules

index 38a734e984cd8a3b7344f00372d7ea9503b40c53..b175a6bc5bc27137d2a03fa6aeccc04c16fc77f7 100644 (file)
@@ -6,8 +6,9 @@ tar (1.22-1.2) UNRELEASED; urgency=low
   * Preserve hard links with --remove-files, closes #188663
     Thanks to Ted T'so for the idea and Sergey Poznyakoff for
     cleaning up my original implementation.
+  * Respect DEB_BUILD_OPTIONS=nocheck to conform with Policy 3.8.2
 
- -- Carl Worth <cworth@cworth.org>  Wed, 29 Jul 2009 16:18:18 -0700
+ -- Carl Worth <cworth@cworth.org>  Tue, 04 Aug 2009 12:07:06 -0700
 
 tar (1.22-1.1) unstable; urgency=low
 
index a7c674f7b2cfeaf1d3ff6e182d23b5f2b5e4e23e..72291321417d6f1a4913987d6636aa0c303425f4 100644 (file)
@@ -4,7 +4,7 @@ Priority: required
 Maintainer: Bdale Garbee <bdale@gag.com>
 Uploaders: Cark Worth <cworth@cworth.org>
 Build-Depends: debhelper (>> 5), gettext, autoconf, autotools-dev
-Standards-Version: 3.8.0
+Standards-Version: 3.8.2
 
 Package: tar
 Architecture: any
index 6a369a4127c82ee60828e205cd5f618795ee26b1..54246aecdd2afdbe506079dd2f76cae1a49d8951 100755 (executable)
@@ -20,9 +20,11 @@ build-stamp: configure-stamp
        dh_testdir
        RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall -fno-gnu89-inline" $(MAKE)
 
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
 ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE))
        (cd tests ; $(MAKE) clean)
        $(MAKE) check
+endif
 endif
 
        perl debian/tarman > debian/tar.1