From fce80dc672b097f56efe25cf2b4ad5ac018ea70e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 4 Aug 2009 12:07:44 -0700 Subject: [PATCH] Respect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2 This was the only change necessary to bring conformance up from 3.8.0, and now lintian should be happier. --- debian/changelog | 3 ++- debian/control | 2 +- debian/rules | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 38a734e..b175a6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Wed, 29 Jul 2009 16:18:18 -0700 + -- Carl Worth Tue, 04 Aug 2009 12:07:06 -0700 tar (1.22-1.1) unstable; urgency=low diff --git a/debian/control b/debian/control index a7c674f..7229132 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: required Maintainer: Bdale Garbee Uploaders: Cark Worth Build-Depends: debhelper (>> 5), gettext, autoconf, autotools-dev -Standards-Version: 3.8.0 +Standards-Version: 3.8.2 Package: tar Architecture: any diff --git a/debian/rules b/debian/rules index 6a369a4..54246ae 100755 --- a/debian/rules +++ b/debian/rules @@ -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 -- 2.43.0