Until now, the nodejs_abi dependency generator has lived in
nodejs-packaging. However, it depends on (an uses only) /usr/bin/node,
thus only working and being accurate for the default stream.
Moving the generator into a specific stream and modifying it to use
the versioned binary should ensure that it is valid for whatever stream
is used for compiling the binary extension in question.
Related: RHEL-67814
Signed-off-by: Jan Staněk <jstanek@redhat.com>
Obsoleting the versioned rpms without bounds
prevents the distribution to ever switch back to versioned rpms if desired.
Adding an upper bound is the first step of doing that switch.
Related: RHEL-67814
There is a new (?) script deps/npm/bin/npm-prefix.js
with the /usr/bin/env hashbang left intact,
which caused npm to always pull in whatever nodejs was currently
the default one.
Now all the scripts there should have the hashbangs adapted to our
naming and no new nodes pulled by installing npm.
Signed-off-by: Jan Staněk <jstanek@redhat.com>
Related: RHEL-76035