%global npm_name ieee754 Name: nodejs-ieee754 Version: 1.2.1 Release: 2%{?dist} Summary: Read/write IEEE754 floating point numbers from/to a Buffer or array-like object License: BSD-3-Clause URL: https://github.com/feross/ieee754#readme Source0: https://registry.npmjs.org/ieee754/-/ieee754-%{version}.tgz BuildRequires: nodejs-packaging %if 0%{?rhel} == 10 # https://issues.redhat.com/browse/RHEL-137712 is fixed in RHEL 10.3 BuildRequires: /usr/bin/node %endif BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch Provides: npm(%{npm_name}) = %{version} %description %{summary} %prep %setup -q -n package %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr index.d.ts %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name} %nodejs_symlink_deps %check %{nodejs_symlink_deps} --check %files %{nodejs_sitelib}/%{npm_name} %license LICENSE %doc README.md %changelog * Thu Jul 30 2026 Zach Huntington-Meath 1.2.1-2 - Update to 1.2.1 * Fri Dec 19 2025 Ewoud Kohl van Wijngaarden 1.2.1-1 - Add nodejs-ieee754 generated by npm2rpm using the single strategy