import CS nodejs-packaging-2021.06-6.module_el9_6+1312+8f77b0ff
This commit is contained in:
parent
7f6bba392c
commit
2aae10331f
@ -30,6 +30,8 @@ import shutil
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
def symlink(source, dest):
|
def symlink(source, dest):
|
||||||
|
if os.path.sep in dest:
|
||||||
|
os.makedirs(os.path.dirname(dest), exist_ok=True)
|
||||||
try:
|
try:
|
||||||
os.symlink(source, dest)
|
os.symlink(source, dest)
|
||||||
except OSError:
|
except OSError:
|
||||||
|
|||||||
@ -633,9 +633,9 @@ def has_only_bundled_dependencies(module_dir_path):
|
|||||||
for basename in os.listdir(dependency_root_path)
|
for basename in os.listdir(dependency_root_path)
|
||||||
)
|
)
|
||||||
bundled_dependency_iter = (
|
bundled_dependency_iter = (
|
||||||
os.path.realpath(path)
|
path
|
||||||
for path in dependency_path_iter
|
for path in dependency_path_iter
|
||||||
if not os.path.islink(path) or path.startswith(module_root_path)
|
if not os.path.islink(path) or os.path.realpath(path).startswith(module_root_path)
|
||||||
)
|
)
|
||||||
|
|
||||||
return any(bundled_dependency_iter)
|
return any(bundled_dependency_iter)
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: nodejs-packaging
|
Name: nodejs-packaging
|
||||||
Version: 2021.06
|
Version: 2021.06
|
||||||
Release: 4%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: RPM Macros and Utilities for Node.js Packaging
|
Summary: RPM Macros and Utilities for Node.js Packaging
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -83,6 +83,13 @@ install -Dpm0755 nodejs-packaging-bundler %{buildroot}%{_bindir}/nodejs-packagin
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 11 2025 Tomas Juhasz <tjuhasz@redhat.com> - 2021.06-6
|
||||||
|
- Properly handle @group/package deps in nodejs-symlink-deps
|
||||||
|
Resolves: RHEL-121569
|
||||||
|
|
||||||
|
* Fri Oct 17 2025 Andrei Radchenko <aradchen@redhat.com> - 2021.06-5
|
||||||
|
- nodejs.req to properly detect bundled deps
|
||||||
|
|
||||||
* Thu Jan 20 2022 Stephen Gallagher <sgallagh@redhat.com> - 2021.06-4
|
* Thu Jan 20 2022 Stephen Gallagher <sgallagh@redhat.com> - 2021.06-4
|
||||||
- NPM bundler: also find namespaced bundled dependencies
|
- NPM bundler: also find namespaced bundled dependencies
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user