import UBI nodejs-packaging-2021.06-5.module+el8.10.0+23590+1e59695e

This commit is contained in:
eabdullin 2025-12-18 12:30:29 +00:00
parent 4d577f08ba
commit cddb1a959e
2 changed files with 6 additions and 3 deletions

View File

@ -633,9 +633,9 @@ def has_only_bundled_dependencies(module_dir_path):
for basename in os.listdir(dependency_root_path)
)
bundled_dependency_iter = (
os.path.realpath(path)
path
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)

View File

@ -2,7 +2,7 @@
Name: nodejs-packaging
Version: 2021.06
Release: 4%{?dist}
Release: 5%{?dist}
Summary: RPM Macros and Utilities for Node.js Packaging
BuildArch: noarch
License: MIT
@ -87,6 +87,9 @@ install -Dpm0755 nodejs-packaging-bundler %{buildroot}%{_bindir}/nodejs-packagin
%changelog
* Fri Oct 17 2025 Andrei Radchenko <aradchen@redhat.com> - 2021.06-5
- nodejs.req to properly detect bundled deps
* Tue Nov 12 2024 Jarek Prokop <jprokop@redhat.com> - 2021.06-4
- Exclude ix86 arches from building.
Related: RHEL-35991