Name: nodejs-type-detect Version: 2.0.1 Release: 1%{?dist} Summary: Improved typeof detection for Node.js and the browser License: MIT URL: https://github.com/chaijs/type-detect Source0: https://github.com/chaijs/type-detect/archive/v%{version}/type-detect-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging BuildRequires: npm(mocha) BuildRequires: npm(simple-assert) %description Improved typeof detection for Node.js and the browser. %prep %autosetup -n type-detect-%{version} rm -rf node_modules %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/type-detect cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/type-detect %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{nodejs_sitelib}/mocha/bin/mocha %files %doc README.md %license LICENSE %{nodejs_sitelib}/type-detect %changelog * Tue May 17 2016 Tom Hughes - 2.0.1-1 - Update to 2.0.1 upstream release * Mon Mar 14 2016 Tom Hughes - 2.0.0-1 - Update to 2.0.0 upstream release * Thu Feb 04 2016 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Apr 6 2015 Tom Hughes - 1.0.0-1 - Update to 1.0.0 upstream release - Switch to using github as source so we get tests * Sat Jun 07 2014 Fedora Release Engineering - 0.1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Jan 31 2014 Tom Hughes - 0.1.2-1 - Initial build of 0.1.2