Bullseye: idk what i'm doing but let's try to bump compat to 13

This commit is contained in:
Alexandre Aubin 2021-02-05 02:09:59 +01:00
parent 876ce48837
commit 726f4605d2
3 changed files with 4 additions and 17 deletions

1
debian/compat vendored
View file

@ -1 +0,0 @@
9

2
debian/control vendored
View file

@ -2,7 +2,7 @@ Source: yunohost
Section: utils Section: utils
Priority: extra Priority: extra
Maintainer: YunoHost Contributors <contrib@yunohost.org> Maintainer: YunoHost Contributors <contrib@yunohost.org>
Build-Depends: debhelper (>=9), dh-python, python3-all (>= 3.7), python3-yaml, python3-jinja2 Build-Depends: debhelper (>=9), debhelper-compat (= 13), dh-python, python3-all (>= 3.7), python3-yaml, python3-jinja2
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Homepage: https://yunohost.org/ Homepage: https://yunohost.org/

18
debian/rules vendored
View file

@ -1,11 +1,8 @@
#!/usr/bin/make -f #!/usr/bin/make -f
# -*- makefile -*- # -*- makefile -*-
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%: %:
dh ${@} --with=python3,systemd dh ${@} --with python3
override_dh_auto_build: override_dh_auto_build:
# Generate bash completion file # Generate bash completion file
@ -13,14 +10,5 @@ override_dh_auto_build:
python3 doc/generate_manpages.py --gzip --output doc/yunohost.8.gz python3 doc/generate_manpages.py --gzip --output doc/yunohost.8.gz
override_dh_installinit: override_dh_installinit:
dh_installinit -pyunohost --name=yunohost-api --restart-after-upgrade dh_installsystemd -pyunohost --name=yunohost-api --restart-after-upgrade
dh_installinit -pyunohost --name=yunohost-firewall --noscripts dh_installsystemd -pyunohost --name=yunohost-firewall --noscripts
override_dh_systemd_enable:
dh_systemd_enable --name=yunohost-api \
yunohost-api.service
dh_systemd_enable --name=yunohost-firewall --no-enable \
yunohost-firewall.service
#override_dh_systemd_start:
# dh_systemd_start --restart-after-upgrade yunohost-api.service