forked from autogits/nodejs-common
Accepting request 743248 from home:darix:apps
- install the binary and not the source code OBS-URL: https://build.opensuse.org/request/show/743248 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=14
This commit is contained in:
parent
5be4bb1e69
commit
9fbe6331e6
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 27 00:35:03 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- install the binary and not the source code
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Feb 1 15:03:12 UTC 2019 - adam.majer@suse.de
|
Fri Feb 1 15:03:12 UTC 2019 - adam.majer@suse.de
|
||||||
|
|
||||||
|
@ -48,10 +48,10 @@ while retaining the same codestream version.
|
|||||||
%prep
|
%prep
|
||||||
%build
|
%build
|
||||||
cp %{S:2} .
|
cp %{S:2} .
|
||||||
gcc ${RPM_OPT_FLAGS} -g -o node %{S:1}
|
gcc ${RPM_OPT_FLAGS} -o node %{S:1}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 0755 %{S:1} %{buildroot}%{_bindir}/node
|
install -D -m 0755 node %{buildroot}%{_bindir}/node
|
||||||
ln -s node %{buildroot}%{_bindir}/npm
|
ln -s node %{buildroot}%{_bindir}/npm
|
||||||
ln -s node %{buildroot}%{_bindir}/npx
|
ln -s node %{buildroot}%{_bindir}/npx
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user