!1 Package init

Merge pull request !1 from wangxiao65/master
This commit is contained in:
openeuler-ci-bot 2020-08-21 14:16:53 +08:00 committed by Gitee
commit 7447b2c267
3 changed files with 41 additions and 0 deletions

BIN
has-1.0.3.tgz Normal file

Binary file not shown.

36
nodejs-has.spec Normal file
View File

@ -0,0 +1,36 @@
Name: nodejs-has
Version: 1.0.3
Release: 1
Summary: Object.prototype.hasOwnProperty.call shortcut
License: MIT
URL: https://github.com/tarruda/has
Source0: https://registry.npmjs.org/has/-/has-%{version}.tgz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging npm(tape) npm(function-bind)
%description
%{summary}.
%prep
%setup -q -n package
rm -rf node_modules
%build
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/has
cp -pr package.json src %{buildroot}%{nodejs_sitelib}/has
%nodejs_symlink_deps
%check
%nodejs_symlink_deps --check
%{nodejs_sitelib}/tape/bin/tape test
%files
%doc README.md
%license LICENSE-MIT
%{nodejs_sitelib}/has
%changelog
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.3-1
- Package init

5
nodejs-has.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/tarruda/has
version_control: github
src_repo: tarruda/has
tag_prefix: "^v"
seperator: "."