On Mon, 2024-10-21 at 15:05 +1100, Russell Coker wrote: > warzone2100 source: lintian output: 'license-problem-json-evil 3rdparty/ > discord-rpc/thirdparty/rapidjson/license.txt', automatically rejected package. > warzone2100 source: If you have a good reason, you may override this lintian > tag. > > I'm getting new uploads of warzone2100 rejected and it sends me email with > the > above content. > > $ cat debian/source/lintian-overrides > # We aren't building with Discord support and therefore everything under > # 3rdparty/discord-rpc is not relevant. If in future we add Discord support > we > # should Build-Depend on rapidjson-dev. > warzone2100 source: license-problem-json-evil [3rdparty/discord-rpc/ > thirdparty/rapidjson/license.txt] [...]
You are using brackets around the filename here, as expected by current lintian, but note that the error message does not include brackets. It seems like you should not override this particular error, but in general you can either: - Use 2 overrides for the 2 different error formats (and ignore the unused-override warnings). - Use a single override with each bracket replaced with '*' (wildcard). (This is also useful for covering usr-move differences in packages that get backported.) Ben. -- Ben Hutchings No political challenge can be met by shopping. - George Monbiot
signature.asc
Description: This is a digitally signed message part