nodejs22/nodejs22_abi.attr
Jan Staněk bb7c0670b2
Use stream-specific ABI dependency generator
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>
2025-02-25 11:52:21 +01:00

3 lines
125 B
Plaintext

%__nodejs22_native_requires %{_rpmconfigdir}/nodejs22_abi.req
%__nodejs22_native_path ^/usr/lib.*/node_modules_22/.*\\.node$