From 9fbe6331e6279d18af342d1664912b97c87348669b3d6d016a195219454c5937 Mon Sep 17 00:00:00 2001 From: Lars Vogdt Date: Sun, 27 Oct 2019 14:35:06 +0000 Subject: [PATCH] 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 --- nodejs-common.changes | 5 +++++ nodejs-common.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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