Blame SPECS/nodejs-expand-brackets.spec

ea5a8b
%{?scl:%scl_package nodejs-%{npm_name}}
ea5a8b
%{!?scl:%global pkg_name %{name}}
ea5a8b
ea5a8b
%{?nodejs_find_provides_and_requires}
ea5a8b
%global npm_name expand-brackets
ea5a8b
ea5a8b
Summary:       Expand POSIX bracket expressions in glob patterns
ea5a8b
Name:          %{?scl_prefix}nodejs-%{npm_name}
ea5a8b
Version:       0.1.4
ea5a8b
Release:       2%{?dist}
ea5a8b
License:       MIT
ea5a8b
URL:           https://github.com/jonschlinkert/expand-brackets
ea5a8b
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
ea5a8b
BuildRequires: nodejs010-runtime
ea5a8b
ExclusiveArch: %{nodejs_arches} noarch
ea5a8b
BuildArch:     noarch
ea5a8b
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
ea5a8b
ea5a8b
%description
ea5a8b
Expand POSIX bracket expressions (character classes) in glob patterns.
ea5a8b
ea5a8b
%prep
ea5a8b
%setup -q -n package
ea5a8b
ea5a8b
%build
ea5a8b
ea5a8b
%install
ea5a8b
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
ea5a8b
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
ea5a8b
ea5a8b
%nodejs_symlink_deps
ea5a8b
ea5a8b
%files
ea5a8b
%{!?_licensedir:%global license %doc}
ea5a8b
%doc README.md
ea5a8b
%license LICENSE
ea5a8b
%{nodejs_sitelib}/%{npm_name}
ea5a8b
ea5a8b
%changelog
ea5a8b
* Mon Jan 11 2016 Tomas Hrcka <thrcka@redhat.com> - 0.1.4-2
ea5a8b
- Enable scl macros
ea5a8b
ea5a8b
* Tue Dec 15 2015 Troy Dawson <tdawson@redhat.com> - 0.1.4-1
ea5a8b
- Initial package