%{?nodejs_find_provides_and_requires}
Name: nodejs-buffer-equal
Version: 0.0.0
Release: 2%{?dist}
Summary: Returns whether two buffers are equal
BuildArch: noarch
Group: System Environment/Libraries
#no license file included, "MIT" indicated in package.json
License: MIT
URL: https://github.com/substack/node-buffer-equal
Source0: http://registry.npmjs.org/buffer-equal/-/buffer-equal-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: nodejs-devel
#BuildRequires: npm(tap)
%description
Returns whether two buffers are equal.
%prep
%setup -q -n package
%build
#nothing to do
%install
rm -rf %buildroot
mkdir -p %{buildroot}%{nodejs_sitelib}/buffer-equal
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/buffer-equal
%nodejs_symlink_deps
#recusrive deps are recursive
#%%check
#%%tap test/*.js
%clean
rm -rf %buildroot
%files
%defattr(-,root,root,-)
%{nodejs_sitelib}/buffer-equal
%doc README.markdown example
%changelog
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.0-2
- add macro to enable dependency generation on EPEL6
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.0-1
- initial package generated by npm2rpm