On Thu, 2022-11-03 at 17:07 +0100, Vitaly Zaitsev via devel wrote:
On 03/11/2022 17:01, Gary Buhrmaster wrote:
> As I recall(*), there are spec files that just
> find the various installed files (categorized
> as needed), and then use the -f option
> on the %files section.
IMO, such behavior should be strictly prohibited.
I would say the guidelines assume good faith in general, so it should
be considered as kind of implicit that it's not OK to do weird things
whose sole intent is to get around the strict wording of a guideline
but achieve the effect the guideline is trying to avoid.
Otherwise the guidelines will start to look like criminal statutes and
be about as long, which I don't think anyone wants.
It has already been noted this is a SHOULD guideline, not a MUST
guideline, which means it's not a hard requirement in any case, and if
there are cases where a wildcard is clearly the least worst choice it's
probably OK.
--
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net