On Sunday, January 19, 2025 9:47:19 AM MST Fabian Grünbichler wrote: > On Sun, Jan 19, 2025, at 4:40 PM, Andrey Rakhmatullin wrote: > > On Mon, Jan 20, 2025 at 02:02:51AM +1100, Russell Coker wrote: > >> How do I specify an override file that works for this? When I have a file > >> debian/source/lintian-overrides which works for lintian -c but doesn't work > >> for uploading the package. > >> > >> 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. > > > > Your overrides file is for lintian that understands [] and the autorejects > > are generated by the one that doesn't (compare the messages). > > > > Unfortunately I don't remember which ugly hack you are supposed to do to > > make this work. > > you basically either provide both variants of the override (which will in turn > always warn about either of them being wrong ;)) or you adapt the override > with wildcards to match both old and new output and hopefully not too much > else..
qt6-webengine uses the two-override solution. See lines 2 and 14 of: https://salsa.debian.org/qt-kde-team/qt6/qt6-webengine/-/blob/master/debian/ source/lintian-overrides?ref_type=heads -- Soren Stoutner so...@debian.org
signature.asc
Description: This is a digitally signed message part.