On 12/1/25 11:44 AM, Daniel P. Berrangé wrote:
In terms of bundled provides, for nodejs parts at least you shouldn't
have to manually add the lines to the specfile. The nodejs packaging
/usr/lib/rpm/nodejs.prov script magically adds the bundled provides
for you.
Thanks for the recommendation. I checked out the nodejs-packaging scripts, but I
don't think they are applicable here.
- They expect files to be located in /usr/lib/node_modules. Jellyfin ships its JS
code in /usr/share/jellyfin-web/.
- Jellyfin ships its JS code as webpack chunks.
- The nodejs-packaging scripts expect a package.json to read and when I force the
macros to find it I had the .req script error out because one of the deps is a web
URL and not a version. I ran it a second time and skipped the .req script to only
have the .prov script generate this for provides:
$ rpm -qp jellyfin-web-10.11.4-1.fc44.noarch.rpm --provides
jellyfin-web = 10.11.4-1.fc44
npm(jellyfin-web) = 10.11.4
AFAICT the scripts do not know how to handle the files I have.
Regards,
Michael
--
_______________________________________________
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://pagure.io/fedora-infrastructure/new_issue