From 55c98f56667cc3b43c6233761cf47f998fa48af198f466051459ad2462563913 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 18 Jun 2021 19:31:35 +0000 Subject: [PATCH 1/3] - Some applications do not line 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/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=48 --- node.c | 3 ++- nodejs-common.changes | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/node.c b/node.c index cceadb3..323fc86 100644 --- a/node.c +++ b/node.c @@ -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 diff --git a/nodejs-common.changes b/nodejs-common.changes index c58ec45..16e43a6 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jun 18 19:29:10 UTC 2021 - Adam Majer + +- Some applications do not line 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 From b26ce0ba841a0f64b8860a3b64e6fa15ceefcdf1406f03ed5af7a2d131fe97af Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Fri, 18 Jun 2021 19:49:27 +0000 Subject: [PATCH 2/3] - Some applications do not like warnings or notices on stderr OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=49 --- nodejs-common.changes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodejs-common.changes b/nodejs-common.changes index 16e43a6..7146296 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,7 +1,7 @@ ------------------------------------------------------------------- Fri Jun 18 19:29:10 UTC 2021 - Adam Majer -- Some applications do not line warnings or notices on stderr +- 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. From d6dfbad9e1e1daa8d61539d3db7862067baad7fff8182b16cb1365d03fdcdf59 Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Mon, 21 Jun 2021 22:33:02 +0000 Subject: [PATCH 3/3] - Allow building for Fedora in the OBS OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=50 --- nodejs-common.changes | 5 +++++ nodejs-common.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/nodejs-common.changes b/nodejs-common.changes index 7146296..b066fb2 100644 --- a/nodejs-common.changes +++ b/nodejs-common.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 21 05:01:32 UTC 2021 - Andreas Schneider + +- Allow building for Fedora in the OBS + ------------------------------------------------------------------- Fri Jun 18 19:29:10 UTC 2021 - Adam Majer diff --git a/nodejs-common.spec b/nodejs-common.spec index c6ad49f..4bd6e14 100644 --- a/nodejs-common.spec +++ b/nodejs-common.spec @@ -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