nodejs-is-object/nodejs-is-object.spec

40 lines
960 B
RPMSpec
Raw Permalink Normal View History

2020-08-20 11:38:08 +08:00
Name: nodejs-is-object
Version: 1.0.2
2020-08-20 11:38:08 +08:00
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
2020-08-20 11:38:08 +08:00
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
- Package init