Name: nodejs-object-inspect Version: 1.6.0 Release: 1 Summary: String representations of objects in node and the browser License: MIT URL: https://github.com/substack/object-inspect Source0: https://registry.npmjs.org/object-inspect/-/object-inspect-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging BuildRequires: npm(tape) %description %{summary}. %prep %autosetup -p 1 -n package rm -rf node_modules %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/object-inspect cp -pr package.json index.js util.inspect.js %{buildroot}%{nodejs_sitelib}/object-inspect %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{nodejs_sitelib}/tape/bin/tape test/*.js %files %doc readme.markdown example %license LICENSE %{nodejs_sitelib}/object-inspect %changelog * Mon Aug 17 2020 wutao - 1.6.0-1 - Package init