40 lines
960 B
RPMSpec
40 lines
960 B
RPMSpec
Name: nodejs-is-object
|
|
Version: 1.0.2
|
|
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
|
|
* Fri Nov 10 2023 xu_ping <707078654@qq.com> - 1.0.2-1
|
|
- Upgrade version to 1.0.2
|
|
|
|
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
|
|
- Package init
|