- Remove extra -g from compiler command-line

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=15
This commit is contained in:
Adam Majer 2019-10-28 11:15:13 +00:00 committed by Git OBS Bridge
parent 9fbe6331e6
commit aa31936914
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
-------------------------------------------------------------------
Sun Oct 27 00:35:03 UTC 2019 - Marcus Rueckert <mrueckert@suse.de>
Mon Oct 28 11:13:23 UTC 2019 - Adam Majer <adam.majer@suse.de>
- install the binary and not the source code
- Remove extra -g from compiler command-line
-------------------------------------------------------------------
Fri Feb 1 15:03:12 UTC 2019 - adam.majer@suse.de

View File

@ -52,8 +52,8 @@ gcc ${RPM_OPT_FLAGS} -o node %{S:1}
%install
install -D -m 0755 node %{buildroot}%{_bindir}/node
ln -s node %{buildroot}%{_bindir}/npm
ln -s node %{buildroot}%{_bindir}/npx
ln node %{buildroot}%{_bindir}/npm
ln node %{buildroot}%{_bindir}/npx
%files
%license LICENSE