Nilesh Patra pushed to branch master at lintian / lintian


Commits:
270ccfe1 by Alexandre Detiste at 2026-02-27T00:16:10+05:30
stop testing for deprecated /usr/share/cdbs/1/class/hlibrary.mk

The removal of hlibrary.mk CDBS module is almost done.

The handfull or remaining package can rightfully get
this "no-dh-sequencer" hint immediatly.

DEB_CABAL_PACKAGE is also a CDBS+Haskell instruction.

- - - - -


1 changed file:

- lib/Lintian/Check/Debian/Rules/DhSequencer.pm


Changes:

=====================================
lib/Lintian/Check/Debian/Rules/DhSequencer.pm
=====================================
@@ -49,9 +49,7 @@ sub visit_patched_files {
     my $rule_target = qr/(?:$rule_altern|'$rule_altern'|"$rule_altern")/;
 
     $self->pointed_hint('no-dh-sequencer', $item->pointer)
-      unless $bytes =~ /^\t+(?:[\+@-])?(?:[^=]+=\S+ )?dh[ \t]+$rule_target/m
-      || $bytes =~ m{^\s*include\s+/usr/share/cdbs/1/class/hlibrary.mk\s*$}m
-      || $bytes =~ m{\bDEB_CABAL_PACKAGE\b};
+      unless $bytes =~ /^\t+(?:[\+@-])?(?:[^=]+=\S+ )?dh[ \t]+$rule_target/m;
 
     return;
 }



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/270ccfe1701d93a80175371683c284cf714f7a08

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/270ccfe1701d93a80175371683c284cf714f7a08
You're receiving this email because of your account on salsa.debian.org.


Reply via email to