[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#907845: Warn if compat level 11 is used and dh_system_* helpers are used



On Mon, 03 Sep 2018 06:19:28 +0200 Michael Biebl <biebl@debian.org> wrote:
> Package: lintian
> Version: 2.5.99
> Severity: wishlist
> 
> Hi,
> 
> in compat level 11, dh_systemd_start and dh_systemd_enable have been
> deprecated in favour of dh_installsystemd.
> dh will also no longer run the dh_systemd_{start,enable} helpers during
> build.
> I've seen a couple of packages which have updated their compat level to
> 11 but still use a dh_systemd_{start,enable} override.
> It would be nice if lintian could detect (grep for usage of
> override_dh_systemd_{start,enable} in debian/rules) and warn accordingly.

Hm, I completely missed
https://lintian.debian.org/tags/debian-rules-uses-deprecated-systemd-override.html
which was added in 2.5.72 is supposed to do exactly that.

I wonder why it didn't trigger for sysstat
https://salsa.debian.org/debian/sysstat/blob/master/debian/rules#L68

Is the -arch prefix confusing lintian?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: