diff --git a/is-3.2.1.tgz b/is-3.2.1.tgz new file mode 100644 index 0000000000000000000000000000000000000000..a7b6ccd6679648a0c993fc70f2c0f3b7f1798596 Binary files /dev/null and b/is-3.2.1.tgz differ diff --git a/nodejs-is.spec b/nodejs-is.spec new file mode 100644 index 0000000000000000000000000000000000000000..d48e823e6735f2377a90718b2beeb1eadeb13fee --- /dev/null +++ b/nodejs-is.spec @@ -0,0 +1,36 @@ +Name: nodejs-is +Version: 3.2.1 +Release: 1 +Summary: The definitive JavaScript type testing library +License: MIT +URL: https://github.com/enricomarino/is +Source0: https://registry.npmjs.org/is/-/is-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging npm(foreach) npm(make-generator-function) npm(tape) +%description +%{summary}. + +%prep +%setup -q -n package +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/is +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/is +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%{__nodejs} test/index.js + +%files +%doc README.md CHANGELOG.md +%license LICENSE.md +%{nodejs_sitelib}/is + +%changelog +* Thu Aug 20 2020 wangxiao - 3.2.1-1 +- Package init diff --git a/nodejs-is.yaml b/nodejs-is.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1c39f03efe125bb79f52eb84b770511ef1db6e6a --- /dev/null +++ b/nodejs-is.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/enricomarino/is +version_control: github +src_repo: enricomarino/is +tag_prefix: "^v" +seperator: "."