commit
159985482c
37
nodejs-object-inspect.spec
Normal file
37
nodejs-object-inspect.spec
Normal file
@ -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 <wutao61@huawei.com> - 1.6.0-1
|
||||
- Package init
|
||||
4
nodejs-object-inspect.yaml
Normal file
4
nodejs-object-inspect.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: substack/object-inspect
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
BIN
object-inspect-1.6.0.tgz
Normal file
BIN
object-inspect-1.6.0.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user