%{?scl:%scl_package nodejs-%{npm_name}} %{!?scl:%global pkg_name %{name}} %global npm_name seamless-immutable Name: %{?scl_prefix}nodejs-seamless-immutable Version: 7.1.4 Release: 1%{?dist} Summary: Immutable data structures for JavaScript which are backwards-compatible with normal JS Arrays and Objects License: BSD-3-Clause Group: Development/Libraries URL: https://github.com/rtfeldman/seamless-immutable Source0: https://registry.npmjs.org/seamless-immutable/-/seamless-immutable-%{version}.tgz %if 0%{?!scl:1} BuildRequires: nodejs-packaging %endif BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch Provides: %{?scl_prefix}npm(%{npm_name}) = %{version} %description %{summary} %prep %setup -q -n package %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr seamless-immutable.development.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr seamless-immutable.development.min.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr seamless-immutable.production.min.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr src %{buildroot}%{nodejs_sitelib}/%{npm_name} %nodejs_symlink_deps %check %{nodejs_symlink_deps} --check %files %{nodejs_sitelib}/%{npm_name} %license LICENSE %doc README.md %changelog * Sun Jul 13 2025 Foreman Packaging Automation 7.1.4-1 - Update to 7.1.4 * Thu Jun 19 2025 MariaAga 7.1.2-1 - Add nodejs-seamless-immutable generated by npm2rpm using the single strategy