Blame SPECS/nodejs-has-ansi.spec

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