forked from pool/nodejs-common
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=13
This commit is contained in:
parent
b9f5cda917
commit
5be4bb1e69
@ -51,9 +51,9 @@ cp %{S:2} .
|
||||
gcc ${RPM_OPT_FLAGS} -g -o node %{S:1}
|
||||
|
||||
%install
|
||||
install -D -m 0755 node %{buildroot}%{_bindir}/node
|
||||
ln node %{buildroot}%{_bindir}/npm
|
||||
ln node %{buildroot}%{_bindir}/npx
|
||||
install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node
|
||||
ln -s node %{buildroot}%{_bindir}/npm
|
||||
ln -s node %{buildroot}%{_bindir}/npx
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
Loading…
Reference in New Issue
Block a user