On 2026-06-22 3:47 AM, Jarek Prokop wrote:
It does NOT seem to be banned to include pre-built stuff in the source archive,


Yes, it's not banned in source archives, per se, but the policy doesn't allow packagers to distribute it or use it for builds (except for a bootstrap build that isn't distributed to users).

I'm suggesting that it be removed before uploading source archives rather than in %prep for two reasons: First, because Node.js module packages are already doing that for the primary source archive, just not for the archives of their dependencies. Second, because I expect that it's probably easier to be consistent about what is removed if we put that into the nodejs-packaging-bundler that generates the prod and dev archives.

Regardless of whether we do it before uploading source archives or in %prep, the issue I'm bringing up is that it isn't being done at all right now.


 there is even an implication that it is OK in the source archive in the guidelines:


The section you quoted also says "Ask upstream to remove the binaries in their next release" so I don't know if I would say that it's "OK". And since we are generating the source archives, using scripts of our own devising, it seems like we should not include binaries when we generate the source archives.


--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to