Update debian packaging and compat level

pull/676/head
Simon Stürz 2024-06-11 12:05:49 +02:00
parent f81b85764b
commit 9b786c04d5
3 changed files with 12 additions and 5 deletions

2
debian/compat vendored
View File

@ -1 +1 @@
10
11

4
debian/control vendored
View File

@ -1,8 +1,8 @@
Source: nymea
Section: utils
Priority: optional
Maintainer: nymea GmbH <developer@nymea.io>
Standards-Version: 3.9.7
Maintainer: Simon Stürz <simon.stuerz@nymea.io>
Standards-Version: 4.6.0
Homepage: https://nymea.io
Vcs-Git: https://github.com/nymea/nymea.git
Build-Depends: debhelper (>= 9.0.0),

11
debian/rules vendored
View File

@ -45,15 +45,22 @@ override_dh_auto_build:
override_dh_install: $(PREPROCESS_FILES:.in=)
# Make sure the docs directory exists, even if we didn't build them
mkdir -p $(CURDIR)/doc/html
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_test:
dh_auto_test -- -k TESTARGS="-m 600 -p -o -p -,txt -p -o -p test-results.xml,xunitxml" TESTRUNNER="dbus-test-runner --bus-type=both --task"
override_dh_installsystemd:
dh_installsystemd --restart-after-upgrade
override_dh_auto_clean:
dh_auto_clean
find . -name *.qm -exec rm {} \;
rm -rf $(PREPROCESS_FILES:.in=)
%:
dh $@ --buildsystem=qmake --parallel --with systemd
dh $@ --buildsystem=qmake --parallel