%{?nodejs_find_provides_and_requires} %global enable_tests 0 Name: nodejs-json-stringify-safe Version: 5.0.1 Release: 6%{?dist} Summary: JSON.stringify that handles circular references License: BSD Group: Development/Libraries URL: https://github.com/isaacs/json-stringify-safe Source0: https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %if 0%{?enable_tests} BuildRequires: npm(mocha) BuildRequires: npm(must) BuildRequires: npm(sinon) %endif %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 mkdir -p %{buildroot}%{nodejs_sitelib}/json-stringify-safe cp -pr stringify.js package.json %{buildroot}%{nodejs_sitelib}/json-stringify-safe %nodejs_symlink_deps %files %doc README.md CHANGELOG.md %license LICENSE %{nodejs_sitelib}/json-stringify-safe %changelog * Fri Jul 13 2018 Fedora Release Engineering - 5.0.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 5.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 5.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 5.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 5.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Jan 17 2016 Tom Hughes - 5.0.1-1 - Update to 5.0.1 upstream 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