Blame SPECS/nodejs-repeat-element.spec

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