Rely on pre-initialized dpkg-architecture variables.

Fixes: lintian: debian-rules-sets-dpkg-architecture-variable
See-also: https://lintian.debian.org/tags/debian-rules-sets-dpkg-architecture-variable.html
This commit is contained in:
Debian Janitor 2020-05-02 13:40:14 +00:00
parent 9cb0c3cf69
commit 50e341775b
No known key found for this signature in database
GPG key ID: 6F915003D1998D6A
2 changed files with 2 additions and 3 deletions

1
debian/changelog vendored
View file

@ -9,6 +9,7 @@ monitoring-plugins (2.2-7~1.gbp30673c) UNRELEASED; urgency=medium
* Bump debhelper from deprecated 5 to 10.
* Set upstream metadata fields: Bug-Database, Bug-Submit, Name (from
./configure), Repository, Repository-Browse.
* Rely on pre-initialized dpkg-architecture variables.
-- Jan Wagner <waja@cyconet.org> Wed, 17 Apr 2019 08:17:55 +0200

4
debian/rules vendored
View file

@ -14,9 +14,7 @@ PACKAGE = monitoring-plugins
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
include /usr/share/dpkg/architecture.mk
CFLAGS = -Wall -g