diff --git a/nodejs-common.changes b/nodejs-common.changes index e1e6140..d718fda 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 27 00:35:03 UTC 2019 - Marcus Rueckert + +- install the binary and not the source code + ------------------------------------------------------------------- Fri Feb 1 15:03:12 UTC 2019 - adam.majer@suse.de diff --git a/nodejs-common.spec b/nodejs-common.spec index 50de6ed..fc18216 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -48,10 +48,10 @@ while retaining the same codestream version. %prep %build cp %{S:2} . -gcc ${RPM_OPT_FLAGS} -g -o node %{S:1} +gcc ${RPM_OPT_FLAGS} -o node %{S:1} %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}/npx