Blame SPECS/nodejs-expand-range.spec

efb5b3
%{?scl:%scl_package nodejs-%{npm_name}}
efb5b3
%{!?scl:%global pkg_name %{name}}
efb5b3
efb5b3
%{?nodejs_find_provides_and_requires}
efb5b3
%global npm_name expand-range
efb5b3
efb5b3
Summary:       Expand a range of numbers or letters, uppercase or lowercase
efb5b3
Name:          %{?scl_prefix}nodejs-%{npm_name}
efb5b3
Version:       1.8.1
efb5b3
Release:       4%{?dist}
efb5b3
License:       MIT
efb5b3
URL:           https://github.com/jonschlinkert/expand-range
efb5b3
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
efb5b3
BuildRequires: %{?scl_prefix}nodejs-devel
efb5b3
ExclusiveArch: %{nodejs_arches} noarch
efb5b3
BuildArch:     noarch
efb5b3
efb5b3
%description
efb5b3
Fast, bash-like range expansion. Expand a range of numbers or letters, 
efb5b3
uppercase or lowercase.
efb5b3
efb5b3
%prep
efb5b3
%setup -q -n package
efb5b3
chmod 644 *
efb5b3
efb5b3
%build
efb5b3
efb5b3
%install
efb5b3
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
efb5b3
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
efb5b3
efb5b3
%nodejs_symlink_deps
efb5b3
efb5b3
%files
efb5b3
%{!?_licensedir:%global license %doc}
efb5b3
%doc README.md
efb5b3
%license LICENSE
efb5b3
%{nodejs_sitelib}/%{npm_name}
efb5b3
efb5b3
%changelog
efb5b3
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.8.1-4
efb5b3
- Use macro in -runtime dependency
efb5b3
efb5b3
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.8.1-3
efb5b3
- Rebuilt with updated metapackage
efb5b3
efb5b3
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 1.8.1-2
efb5b3
- Enable scl macros, fix license macro for el6
efb5b3
efb5b3
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-1
efb5b3
- Initial package