Louis-Philippe Véronneau pushed to branch master at lintian / lintian


Commits:
a1bbb64f by Yavor Doganov at 2024-11-02T19:06:35+00:00
Don't emit package-contains-documentation-outside-usr-share-doc for .gorm 
files and GNUstep docs (Closes: #1084465).

- - - - -


1 changed file:

- lib/Lintian/Check/Documentation.pm


Changes:

=====================================
lib/Lintian/Check/Documentation.pm
=====================================
@@ -150,7 +150,12 @@ sub visit_installed_files {
           # see Bug#1009679, not documentation, just an unlucky suffix
           || $item->name =~ m{^var/lib/ocaml/lintian/.+[.]info$}
           # see Bug#970275
-          || $item->name =~ m{^usr/share/gtk-doc/html/.+[.]html?$};
+          || $item->name =~ m{^usr/share/gtk-doc/html/.+[.]html?$}
+          # GNUstep documentation, same rationale as Bug#970275
+          || $item->name =~ m{^usr/share/GNUstep/Documentation/
+                              .+[.](html|pdf)$}x
+          # GNUstep Gorm files (not documentation)
+          || ($item->dirname =~ m{[.]gorm} && $item->basename eq 'data.info');
     }
 
     if ($item->name =~ m{^usr/share/doc/\S}) {



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

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


Reply via email to