From 047505a6c4bf81865304346c020afbb6b59d205b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Fri, 19 Jul 2024 09:35:19 +0200 Subject: [PATCH] Update debian packaging and compat level --- debian/compat | 2 +- debian/control | 4 ++-- debian/copyright | 2 +- debian/rules | 12 ++++++++---- 4 files changed, 12 insertions(+), 8 deletions(-) diff --git a/debian/compat b/debian/compat index f599e28..b4de394 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -10 +11 diff --git a/debian/control b/debian/control index 05f8045..c1f9d0f 100644 --- a/debian/control +++ b/debian/control @@ -1,8 +1,8 @@ Source: nymea-plugins-modbus Section: utils -Priority: options +Priority: optional Maintainer: nymea GmbH -Standards-Version: 3.9.3 +Standards-Version: 4.6.0 Build-depends: debhelper (>= 9.0.0), libnymea-dev (>= 0.17), libnymea-gpio-dev, diff --git a/debian/copyright b/debian/copyright index 083b4b8..3a986a9 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,7 +1,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: nymea-plugins-modbus Upstream-Contact: nymea GmbH -Copyright: 2014-2020, nymea GmbH +Copyright: 2014-2024, nymea GmbH Download: http://www.github.com/nymea/nymea-plugins-modbus Source: https://github.com/nymea/nymea-plugins-modbus.git diff --git a/debian/rules b/debian/rules index dcdbe2b..912e962 100755 --- a/debian/rules +++ b/debian/rules @@ -7,15 +7,16 @@ PREPROCESS_FILES := $(wildcard debian/*.in) $(PREPROCESS_FILES:.in=): %: %.in sed 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' $< > $@ -%: - dh $@ --parallel - override_dh_auto_build: dh_auto_build make lrelease override_dh_install: $(PREPROCESS_FILES:.in=) - dh_install --fail-missing + dh_install + +# Note that this is the default with compat level 12. +override_dh_missing: + dh_missing --list-missing override_dh_auto_clean: dh_auto_clean @@ -24,3 +25,6 @@ override_dh_auto_clean: find -name "autogenerated" -type d -exec rm -rvf {} + rm -rf $(PREPROCESS_FILES:.in=) +%: + dh $@ --parallel +