2
0
forked from pool/nodejs-common

Accepting request 901230 from devel:languages:nodejs

- Allow building for Fedora in the OBS

- Some applications do not like warnings or notices on stderr
  as they use it for other things. So make nodejs-common quiet
  unless we have a fatal error.

OBS-URL: https://build.opensuse.org/request/show/901230
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nodejs-common?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2021-06-25 13:00:32 +00:00 committed by Git OBS Bridge
commit 544aaaaeb7
3 changed files with 15 additions and 2 deletions

3
node.c
View File

@ -73,7 +73,8 @@ int main(int argc, char *argv[])
// should not return, and if it does, it probably means
// we should fall back to using node-default fallback.
libalts_exec_default(argv);
fputs("Falling back to using -default symlink.\n", stderr);
// some programs parse stderr, so let's be quiet here.
//fputs("Falling back to using -default symlink.\n", stderr);
}
#endif

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Jun 21 05:01:32 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Allow building for Fedora in the OBS
-------------------------------------------------------------------
Fri Jun 18 19:29:10 UTC 2021 - Adam Majer <adam.majer@suse.de>
- Some applications do not like warnings or notices on stderr
as they use it for other things. So make nodejs-common quiet
unless we have a fatal error.
-------------------------------------------------------------------
Thu Jun 10 10:27:58 UTC 2021 - Adam Majer <adam.majer@suse.de>

View File

@ -28,7 +28,7 @@
%define NODEJS_LTS 16
%define NODEJS_CURRENT 16
%if 0%{?suse_version} > 1500
%if 0%{?suse_version} > 1500 || 0%{?fedora_version}
%bcond_without libalternatives
%else
%bcond_with libalternatives