I think doing it with a macro would be sweet.
Well, it wasn't so hard : https://abompard.fedorapeople.org/misc/nodejs-npm-rpm-macros/
$ rpm -qp --provides build/fedora-hubs-0.0.1-7.fc27.noarch.rpm | head
Provides:
bundled(nodejs-abab) = 1.0.4
bundled(nodejs-accepts) = 1.3.4
bundled(nodejs-acorn) = 4.0.13
bundled(nodejs-acorn-dynamic-import) = 2.0.2
bundled(nodejs-acorn-globals) = 3.1.0
bundled(nodejs-ajv) = 5.5.2
bundled(nodejs-ajv-keywords) = 1.5.1
bundled(nodejs-align-text) = 0.1.4
bundled(nodejs-amdefine) = 1.0.1
[...]
$ rpm -qp --provides build/fedora-hubs-0.0.1-7.fc27.noarch.rpm | head
Provides:
bundled(nodejs-abab) = 1.0.4
bundled(nodejs-accepts) = 1.3.4
bundled(nodejs-acorn) = 4.0.13
bundled(nodejs-acorn-dynamic-import) = 2.0.2
bundled(nodejs-acorn-globals) = 3.1.0
bundled(nodejs-ajv) = 5.5.2
bundled(nodejs-ajv-keywords) = 1.5.1
bundled(nodejs-align-text) = 0.1.4
bundled(nodejs-amdefine) = 1.0.1
[...]
A.
_______________________________________________ infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx