|
|
3ce047 |
%{?scl:%scl_package nodejs-%{npm_name}}
|
|
|
3ce047 |
%{!?scl:%global pkg_name %{name}}
|
|
|
3ce047 |
%{?nodejs_find_provides_and_requires}
|
|
|
3ce047 |
|
|
|
3ce047 |
%global npm_name repeating
|
|
|
3ce047 |
|
|
|
3ce047 |
Summary: Repeat a string - fast
|
|
|
3ce047 |
Name: %{?scl_prefix}nodejs-%{npm_name}
|
|
|
3ce047 |
Version: 2.0.0
|
|
|
d7bfa9 |
Release: 9%{?dist}
|
|
|
3ce047 |
License: MIT
|
|
|
3ce047 |
URL: https://github.com/sindresorhus/repeating
|
|
|
3ce047 |
Source0: http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
|
|
|
3ce047 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
3ce047 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
3ce047 |
BuildArch: noarch
|
|
|
3ce047 |
|
|
|
3ce047 |
%description
|
|
|
3ce047 |
Repeat a string - fast
|
|
|
3ce047 |
|
|
|
3ce047 |
%prep
|
|
|
3ce047 |
%setup -q -n package
|
|
|
3ce047 |
|
|
|
3ce047 |
%build
|
|
|
3ce047 |
|
|
|
3ce047 |
%install
|
|
|
3ce047 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
3ce047 |
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
3ce047 |
|
|
|
3ce047 |
%nodejs_symlink_deps
|
|
|
3ce047 |
|
|
|
3ce047 |
%files
|
|
|
3ce047 |
%{!?_licensedir:%global license %doc}
|
|
|
3ce047 |
%doc license readme.md
|
|
|
3ce047 |
%{nodejs_sitelib}/%{npm_name}
|
|
|
3ce047 |
|
|
|
3ce047 |
%changelog
|
|
|
d7bfa9 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-9
|
|
|
d7bfa9 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
d7bfa9 |
|
|
|
3ce047 |
* Wed Mar 08 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-8
|
|
|
3ce047 |
- Add symlink macro
|
|
|
3ce047 |
|
|
|
3ce047 |
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-7
|
|
|
3ce047 |
- Use macro in -runtime dependency
|
|
|
3ce047 |
|
|
|
3ce047 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 2.0.0-6
|
|
|
3ce047 |
- Rebuilt with updated metapackage
|
|
|
3ce047 |
|
|
|
3ce047 |
* Fri Jan 15 2016 Tomas Hrcka <thrcka@redhat.com> - 2.0.0-5
|
|
|
3ce047 |
- Enable find_provides_and_requires macro
|
|
|
3ce047 |
|
|
|
3ce047 |
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 2.0.0-3
|
|
|
3ce047 |
- Enable scl macros
|
|
|
3ce047 |
|
|
|
3ce047 |
* Thu Sep 10 2015 Troy Dawson <tdawson@redhat.com>
|
|
|
3ce047 |
- spec change: npmname -> npm_name
|
|
|
3ce047 |
|
|
|
3ce047 |
* Thu Sep 10 2015 Troy Dawson <tdawson@redhat.com> - 2.0.0-1
|
|
|
3ce047 |
- Initial package
|