This is a feature of the new Lintian profiles in 2.5.2. Vendor profiles may declare some tags non-overridable and dir-or-file-in-opt is one of those. The ubuntu vendor profile inherits this (indirectly) from the ftp-master-auto-reject profile.
Whether these tags should be "non-overridable" in Ubuntu, I do not know. I will leave it to Ubuntu developers to figure that out and send patches to us accordingly.
If this package is for a third-party vendor, it may be useful to create a separate lintian profile for that vendor. Please refer to the Lintian user manual (installed in /usr/share/doc/lintian/) for more info on what profiles can do and how to make them.
I can second that Lintian could be more helpful with declaring that it has ignored overrides.
Hi
This is a feature of the new Lintian profiles in 2.5.2. Vendor profiles may declare some tags non-overridable and dir-or-file-in-opt is one of those. The ubuntu vendor profile inherits this (indirectly) from the ftp-master- auto-reject profile.
Whether these tags should be "non-overridable" in Ubuntu, I do not know. I will leave it to Ubuntu developers to figure that out and send patches to us accordingly.
If this package is for a third-party vendor, it may be useful to create a separate lintian profile for that vendor. Please refer to the Lintian user manual (installed in /usr/share/ doc/lintian/ ) for more info on what profiles can do and how to make them.
I can second that Lintian could be more helpful with declaring that it has ignored overrides.
~Niels