commit
5c7f4d7c6c
BIN
is-date-object-1.0.1.tgz
Normal file
BIN
is-date-object-1.0.1.tgz
Normal file
Binary file not shown.
39
nodejs-is-date-object.spec
Normal file
39
nodejs-is-date-object.spec
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
Name: nodejs-is-date-object
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Is this value a JS Date object?
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/ljharb/is-date-object
|
||||||
|
Source0: https://registry.npmjs.org/is-date-object/-/is-date-object-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging npm(tape)
|
||||||
|
%description
|
||||||
|
Is this value a JS Date object? This module works cross-realm/iframe, and
|
||||||
|
despite ES6 @@toStringTag.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
rm -rf node_modules
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/is-date-object
|
||||||
|
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is-date-object
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%{__nodejs} --harmony --es-staging test.js
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{!?_licensedir:%global license %doc}
|
||||||
|
%doc README.md CHANGELOG.md
|
||||||
|
%license LICENSE
|
||||||
|
%{nodejs_sitelib}/is-date-object
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.1-1
|
||||||
|
- Package init
|
||||||
5
nodejs-is-date-object.yaml
Normal file
5
nodejs-is-date-object.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/ljharb/is-date-object
|
||||||
|
version_control: github
|
||||||
|
src_repo: ljharb/is-date-object
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user