commit
c7aa743e89
BIN
is-object-1.0.1.tgz
Normal file
BIN
is-object-1.0.1.tgz
Normal file
Binary file not shown.
36
nodejs-is-object.spec
Normal file
36
nodejs-is-object.spec
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Name: nodejs-is-object
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Checks whether a value is an object
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/ljharb/is-object
|
||||||
|
Source0: http://registry.npmjs.org/is-object/-/is-object-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging npm(tape)
|
||||||
|
%description
|
||||||
|
%{summary}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/is-object
|
||||||
|
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-object
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%{__nodejs} test/index.js
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{nodejs_sitelib}/is-object
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
|
||||||
|
- Package init
|
||||||
4
nodejs-is-object.yaml
Normal file
4
nodejs-is-object.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: inspect-js/is-object
|
||||||
|
tag_pattern: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user