import UBI nodejs-18.20.6-2.module+el9.5.0+22907+151b9f14
This commit is contained in:
parent
a4b0e06822
commit
8ebd5930a6
@ -1,2 +1,4 @@
|
|||||||
prefix=/usr/local
|
prefix=/usr/local
|
||||||
python=/usr/bin/python3
|
python=/usr/bin/python3
|
||||||
|
update-notifier=false
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
# This is used by both the nodejs package and the npm subpackage that
|
# This is used by both the nodejs package and the npm subpackage that
|
||||||
# has a separate version - the name is special so that rpmdev-bumpspec
|
# has a separate version - the name is special so that rpmdev-bumpspec
|
||||||
# will bump this rather than adding .1 to the end.
|
# will bump this rather than adding .1 to the end.
|
||||||
%global baserelease 1
|
%global baserelease 2
|
||||||
|
|
||||||
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
%{?!_pkgdocdir:%global _pkgdocdir %{_docdir}/%{name}-%{version}}
|
||||||
|
|
||||||
@ -566,6 +566,11 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/nod
|
|||||||
# Make sure i18n support is working
|
# Make sure i18n support is working
|
||||||
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node --icu-data-dir=%{buildroot}%{icudatadir} %{SOURCE2}
|
NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/node_modules/npm/node_modules LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}/%{_bindir}/node --icu-data-dir=%{buildroot}%{icudatadir} %{SOURCE2}
|
||||||
|
|
||||||
|
# Ensure npm's update notifier has been disabled
|
||||||
|
LD_LIBRARY_PATH=%{buildroot}%{_libdir} \
|
||||||
|
%{buildroot}%{_bindir}/node \
|
||||||
|
%{buildroot}%{_bindir}/npm \
|
||||||
|
--globalconfig=%{buildroot}$(LD_LIBRARY_PATH=%{buildroot}%{_libdir} %{buildroot}%{_bindir}/node %{buildroot}%{_bindir}/npm config get globalconfig) config ls -l --json | jq -e '.["update-notifier"] == false'
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_bindir}/node
|
%{_bindir}/node
|
||||||
@ -633,6 +638,10 @@ NODE_PATH=%{buildroot}%{_prefix}/lib/node_modules:%{buildroot}%{_prefix}/lib/nod
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 06 2025 Andrei Radchenko <aradchen@redhat.com> - 1:18.20.6-2
|
||||||
|
- Disable npm's update-notifier
|
||||||
|
Resolves: RHEL-81090
|
||||||
|
|
||||||
* Fri Jan 31 2025 Tomáš Juhász <tjuhasz@redhat.com> - 1:18.20.6-1
|
* Fri Jan 31 2025 Tomáš Juhász <tjuhasz@redhat.com> - 1:18.20.6-1
|
||||||
- Update to version 18.20.6
|
- Update to version 18.20.6
|
||||||
Resolves: RHEL-76803
|
Resolves: RHEL-76803
|
||||||
|
Loading…
Reference in New Issue
Block a user