Merge PR #177: Update debian packaging and compat level

pull/178/head
jenkins 2024-07-19 21:06:39 +02:00
commit 30daeb1f44
4 changed files with 12 additions and 8 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
10
11

4
debian/control vendored
View File

@ -1,8 +1,8 @@
Source: nymea-plugins-modbus
Section: utils
Priority: options
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 3.9.3
Standards-Version: 4.6.0
Build-depends: debhelper (>= 9.0.0),
libnymea-dev (>= 0.17),
libnymea-gpio-dev,

2
debian/copyright vendored
View File

@ -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 <contact@nymea.io>
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

12
debian/rules vendored
View File

@ -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