forked from importtest/nodejs-common
- Use libalternatives on TW by default
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=44
This commit is contained in:
parent
d6cf24e474
commit
316795e835
2
node.c
2
node.c
@ -70,7 +70,7 @@ int main(int argc, char *argv[])
|
|||||||
// if we want default version and not using update-alternatives
|
// if we want default version and not using update-alternatives
|
||||||
if (version == default_version)
|
if (version == default_version)
|
||||||
{
|
{
|
||||||
return execDefault(argv);
|
return libalts_exec_default(argv);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 10 10:27:58 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
- Use libalternatives on TW by default
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 31 16:32:18 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
Mon May 31 16:32:18 UTC 2021 - Adam Majer <adam.majer@suse.de>
|
||||||
|
|
||||||
|
@ -28,7 +28,11 @@
|
|||||||
%define NODEJS_LTS 16
|
%define NODEJS_LTS 16
|
||||||
%define NODEJS_CURRENT 16
|
%define NODEJS_CURRENT 16
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
%bcond_with libalternatives
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
# SLE-12 variants
|
# SLE-12 variants
|
||||||
%if 0%{?suse_version} < 1500
|
%if 0%{?suse_version} < 1500
|
||||||
|
Loading…
Reference in New Issue
Block a user