nodejs-packaging/nodejs_abi.req
Stephen Gallagher 0cd3fed400
The Node.js ABI version is now represented by the NODE_MODULE_VERSION
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2023-03-10 10:09:57 -05:00

9 lines
163 B
Bash
Executable File

#!/bin/bash
# Get the ABI version
abi_version=$(/usr/bin/node -p process.versions.modules)
# Write out the Virtual Requires
echo "nodejs(abi) = ${abi_version}"