%global npm_name dotenv Name: nodejs-dotenv Version: 5.0.1 Release: 5%{?dist} Summary: Loads environment variables from License: BSD-2-Clause URL: https://github.com/motdotla/dotenv#readme Source0: https://registry.npmjs.org/dotenv/-/dotenv-%{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 appveyor.yml %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr config.js %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr lib %{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 CHANGELOG.md %doc README.md %changelog * Thu Jul 30 2026 Zach Huntington-Meath 5.0.1-5 - Update to 5.0.1 * Tue Mar 17 2020 Zach Huntington-Meath - 5.0.1-4 - Bump packages to build for el8 * Mon Oct 21 2019 Eric D. Helms - 5.0.1-3 - Build for SCL * Fri Oct 04 2019 Eric D. Helms - 5.0.1-2 - Update specs to handle SCL * Wed Apr 25 2018 Ewoud Kohl van Wijngaarden 5.0.1-1 - Update to 5.0.1 * Tue Nov 07 2017 Ewoud Kohl van Wijngaarden 2.0.0-1 - new package built with tito