Blame SPECS/nodejs-fill-range.spec

b543e0
%{?scl:%scl_package nodejs-%{npm_name}}
b543e0
%{!?scl:%global pkg_name %{name}}
b543e0
b543e0
%{?nodejs_find_provides_and_requires}
b543e0
%global npm_name fill-range
b543e0
b543e0
Summary:       Fill in a range of numbers or letters
b543e0
Name:          %{?scl_prefix}nodejs-%{npm_name}
b543e0
Version:       2.2.3
6b8fb6
Release:       5%{?dist}
b543e0
License:       MIT
b543e0
URL:           https://github.com/jonschlinkert/fill-range
b543e0
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
b543e0
BuildRequires: %{?scl_prefix}nodejs-devel
b543e0
ExclusiveArch: %{nodejs_arches} noarch
b543e0
BuildArch:     noarch
b543e0
b543e0
%description
b543e0
Fill in a range of numbers or letters, 
b543e0
optionally passing an increment or multiplier to use.
b543e0
b543e0
%prep
b543e0
%setup -q -n package
b543e0
chmod 644 *
b543e0
b543e0
%build
b543e0
b543e0
%install
b543e0
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
b543e0
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
b543e0
b543e0
%nodejs_symlink_deps
b543e0
b543e0
%files
b543e0
%{!?_licensedir:%global license %doc}
b543e0
%doc README.md
b543e0
%license LICENSE
b543e0
%{nodejs_sitelib}/%{npm_name}
b543e0
b543e0
%changelog
6b8fb6
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.2.3-5
6b8fb6
- Resolves: RHBZ#1543198, rebuild for multiarch
6b8fb6
b543e0
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.2.3-4
b543e0
- Use macro in -runtime dependency
b543e0
b543e0
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.2.3-3
b543e0
- Rebuilt with updated metapackage
b543e0
b543e0
* Wed Jan 13 2016 Tomas Hrcka <thrcka@redhat.com> - 2.2.3-2
b543e0
- Enable scl macros
b543e0
b543e0
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.2.3-1
b543e0
- Initial package