Blame SPECS/nodejs-repeat-element.spec

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