%{?nodejs_find_provides_and_requires} Name: nodejs-json-stringify-safe Version: 5.0.1 Release: 2%{?dist} Summary: JSON.stringify that handles circular references License: BSD Group: Development/Libraries URL: https://github.com/isaacs/json-stringify-safe Source0: http://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-devel BuildRequires: npm(must) BuildRequires: npm(sinon) BuildRequires: mocha %description This module provides functionality similar to JavaScript's JSON.stringify, but it doesn't blow up when it encounters circular references. %prep %setup -q -n package %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/json-stringify-safe cp -pr stringify.js package.json %{buildroot}%{nodejs_sitelib}/json-stringify-safe %nodejs_symlink_deps %check %nodejs_symlink_deps --check mocha -R spec %clean rm -rf %{buildroot} %files %{!?_licensedir:%global license %doc} %defattr(-,root,root,-) %{nodejs_sitelib}/json-stringify-safe %doc README.md %license LICENSE %changelog * Fri Oct 30 2015 Jared Smith - 5.0.1-2 - Fix missing BuildRequires on npm(sinon) and mocha * Thu Oct 29 2015 Jared Smith - 5.0.1-1 - Update to upstream 5.0.1 release * Wed Jun 17 2015 Fedora Release Engineering - 5.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 5.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Sun Jun 23 2013 T.C. Hollingsworth - 5.0.0-1 - new upstream release 5.0.0 * Sat Jun 22 2013 T.C. Hollingsworth - 4.0.0-4 - restrict to compatible arches * Mon Apr 15 2013 T.C. Hollingsworth - 4.0.0-3 - add macro for EPEL6 dependency generation * Fri Apr 05 2013 T.C. Hollingsworth - 4.0.0-2 - fix rpmlint warnings * Fri Apr 05 2013 T.C. Hollingsworth - 4.0.0-1 - initial package