Blob Blame History Raw
Name:           nodejs-is
Version:        3.2.0
Release:        1%{?dist}
Summary:        The definitive JavaScript type testing library

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

BuildRequires:  nodejs-packaging

BuildRequires:  npm(foreach)
BuildRequires:  npm(tape)


%description
%{summary}.


%prep
%setup -q -n package
rm -rf node_modules


%build


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


%check
%nodejs_symlink_deps --check
%{__nodejs} test/index.js


%files
%doc README.md CHANGELOG.md
%license LICENSE.md
%{nodejs_sitelib}/is


%changelog
* Fri Oct 28 2016 Tom Hughes <tom@compton.nu> - 3.2.0-1
- Update to 3.2.0 upstream release

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Oct 22 2015 Tom Hughes <tom@compton.nu> - 3.1.0-1
- Initial build of 3.1.0