%{?scl:%scl_package nodejs-%{npm_name}} %{!?scl:%global pkg_name %{name}} %global npm_name performance-now Name: %{?scl_prefix}nodejs-performance-now Version: 2.1.0 Release: 5%{?dist} Summary: Implements performance License: MIT Group: Development/Libraries URL: https://github.com/braveg1rl/performance-now Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz %if 0%{?scl:1} BuildRequires: %{?scl_prefix_nodejs}npm %else BuildRequires: nodejs-packaging BuildRequires: npm %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 lib %{buildroot}%{nodejs_sitelib}/%{npm_name} cp -pfr package.json %{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.txt %doc README.md %changelog * Tue Apr 21 2020 Eric D. Helms - 2.1.0-5 - Drop including tests to prevent requires on coffee script * Tue Mar 17 2020 Zach Huntington-Meath - 2.1.0-4 - Bump packages to build for el8 * Tue Oct 22 2019 Eric D. Helms - 2.1.0-3 - Build for SCL * Fri Oct 04 2019 Eric D. Helms - 2.1.0-2 - Update specs to handle SCL * Tue Nov 07 2017 Ewoud Kohl van Wijngaarden 2.1.0-1 - new package built with tito