debian/rules: Assign DEB_HOST_ARCH_OS with ?= instead of :? to please lintian

This commit is contained in:
Laurent Bigonville 2018-02-20 11:36:25 +01:00
parent 4a1eddd34b
commit e3cc4871ce
2 changed files with 4 additions and 2 deletions

4
debian/changelog vendored
View file

@ -7,8 +7,10 @@ nut (2.7.4-6) UNRELEASED; urgency=medium
* debian/control: Add python-notify to the recommended packages of * debian/control: Add python-notify to the recommended packages of
nut-monitor, it can displays notification in case the UPS is on battery nut-monitor, it can displays notification in case the UPS is on battery
* debian/control: Bump debhelper build-dependency and drop dh-systemd * debian/control: Bump debhelper build-dependency and drop dh-systemd
* debian/rules: Assign DEB_HOST_ARCH_OS with ?= instead of :? to please
lintian
-- Laurent Bigonville <bigon@debian.org> Tue, 20 Feb 2018 11:33:27 +0100 -- Laurent Bigonville <bigon@debian.org> Tue, 20 Feb 2018 11:36:06 +0100
nut (2.7.4-5.1) unstable; urgency=medium nut (2.7.4-5.1) unstable; urgency=medium

2
debian/rules vendored
View file

@ -9,7 +9,7 @@ include /usr/share/cdbs/1/rules/autoreconf.mk
# generation # generation
DEB_DH_AUTORECONF_ARGS = --as-needed DEB_DH_AUTORECONF_ARGS = --as-needed
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null) DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
# List any files which are not installed # List any files which are not installed
include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/rules/utils.mk