Blob Blame History Raw
Name:           nodejs-should-equal
Version:        0.6.0
Release:        1%{?dist}
Summary:        Deep comparison of two instances for should.js

License:        MIT
URL:            https://github.com/shouldjs/equal
Source0:        https://registry.npmjs.org/should-equal/-/should-equal-%{version}.tgz
BuildArch:      noarch
ExclusiveArch:  %{nodejs_arches} noarch

BuildRequires:  nodejs-packaging

BuildRequires:  npm(mocha)
BuildRequires:  npm(should-type)


%description
%{summary}.


%prep
%setup -q -n package
sed -i 's/\r$//' README.md
rm -rf node_modules


%build


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/should-equal
cp -pr package.json index.js format.js %{buildroot}%{nodejs_sitelib}/should-equal
%nodejs_symlink_deps


%check
%nodejs_symlink_deps --check
%{nodejs_sitelib}/mocha/bin/mocha --ui bdd test.js


%files
%doc README.md
%license LICENSE
%{nodejs_sitelib}/should-equal


%changelog
* Tue Nov 10 2015 Tom Hughes <tom@compton.nu> - 0.6.0-1
- Update to 0.6.0 upstream release

* Fri Sep  4 2015 Tom Hughes <tom@compton.nu> - 0.5.0-2
- Fix line endings

* Thu Aug 27 2015 Tom Hughes <tom@compton.nu> - 0.5.0-1
- Initial build of 0.5.0