Blame SPECS/nodejs-ansi-green.spec

2a6236
%{?scl:%scl_package nodejs-%{npm_name}}
2a6236
%{!?scl:%global pkg_name %{name}}
2a6236
2a6236
%{?nodejs_find_provides_and_requires}
2a6236
%global npm_name ansi-green
2a6236
2a6236
Summary:       The color green, in ansi
2a6236
Name:          %{?scl_prefix}nodejs-%{npm_name}
2a6236
Version:       0.1.1
2a6236
Release:       4%{?dist}
2a6236
License:       MIT
2a6236
URL:           https://github.com/jonschlinkert/ansi-green
2a6236
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
2a6236
BuildRequires: %{scl_prefix}runtime
2a6236
ExclusiveArch: %{nodejs_arches} noarch
2a6236
BuildArch:     noarch
2a6236
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
2a6236
2a6236
%description
2a6236
The color green, in ansi.
2a6236
2a6236
%prep
2a6236
%setup -q -n package
2a6236
2a6236
%build
2a6236
2a6236
%install
2a6236
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
2a6236
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
2a6236
2a6236
%nodejs_symlink_deps
2a6236
2a6236
%files
2a6236
%{!?_licensedir:%global license %doc}
2a6236
%doc readme.md
2a6236
%license LICENSE
2a6236
%{nodejs_sitelib}/%{npm_name}
2a6236
2a6236
%changelog
2a6236
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.1-4
2a6236
- Fix runtime dependency to use macro
2a6236
2a6236
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 0.1.1-3
2a6236
- rebuilt
2a6236
2a6236
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-2
2a6236
- Enable scl macros, fix license macro for el6
2a6236
2a6236
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.1.1-1
2a6236
- Initial package