Blame SPECS/nodejs-repeat-element.spec

9570d0
%{?scl:%scl_package nodejs-%{npm_name}}
9570d0
%{!?scl:%global pkg_name %{name}}
9570d0
9570d0
%{?nodejs_find_provides_and_requires}
9570d0
%global npm_name repeat-element
9570d0
9570d0
Summary:       Create an array by repeating the given value n times
9570d0
Name:          %{?scl_prefix}nodejs-%{npm_name}
9570d0
Version:       1.1.2
9570d0
Release:       5%{?dist}
9570d0
License:       MIT
9570d0
URL:           https://github.com/jonschlinkert/repeat-element
9570d0
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
9570d0
BuildRequires: %{?scl_prefix}nodejs-devel
9570d0
ExclusiveArch: %{nodejs_arches} noarch
9570d0
BuildArch:     noarch
9570d0
9570d0
%description
9570d0
Create an array by repeating the given value n times.
9570d0
9570d0
%prep
9570d0
%setup -q -n package
9570d0
9570d0
%build
9570d0
9570d0
%install
9570d0
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
9570d0
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
9570d0
9570d0
%nodejs_symlink_deps
9570d0
9570d0
%files
9570d0
%{!?_licensedir:%global license %doc}
9570d0
%doc README.md
9570d0
%license LICENSE
9570d0
%{nodejs_sitelib}/%{npm_name}
9570d0
9570d0
%changelog
9570d0
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-5
9570d0
- rh-nodejs8 rebuild
9570d0
9570d0
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-4
9570d0
- Use macro in -runtime dependency
9570d0
9570d0
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.1.2-3
9570d0
- Rebuilt with updated metapackage
9570d0
9570d0
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 1.1.2-2
9570d0
- Enable scl macros, fix license macro for el6
9570d0
9570d0
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.1.2-1
9570d0
- Initial package