diff --git a/nodejs-object-inspect.spec b/nodejs-object-inspect.spec new file mode 100644 index 0000000..314e1ee --- /dev/null +++ b/nodejs-object-inspect.spec @@ -0,0 +1,37 @@ +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 diff --git a/nodejs-object-inspect.yaml b/nodejs-object-inspect.yaml new file mode 100644 index 0000000..76a960b --- /dev/null +++ b/nodejs-object-inspect.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: substack/object-inspect +tag_prefix: "^v" +seperator: "." diff --git a/object-inspect-1.6.0.tgz b/object-inspect-1.6.0.tgz new file mode 100644 index 0000000..c4dee2d Binary files /dev/null and b/object-inspect-1.6.0.tgz differ