debhelper-compat-version 11 and systemd
I have a d/rules file that uses systemd:
rules: dh $@ --with systemd
When setting debhelper-compat-version to 11 to fix the
“package-uses-old-debhelper-compat-version” problem, I got:
dh: unable to load addon systemd: dh: The systemd-sequence is no
longer provided in compat >= 11, please rely on dh_installsystemd
Compilation failed in require at (eval 10) line 1.
I've searched for the solution but didn't find the answer.
How to fix it?