Blame SPECS/nodejs-has-ansi.spec

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