package init
This commit is contained in:
parent
de4e2618b5
commit
f9b5fbf0c5
BIN
has-1.0.3.tgz
Normal file
BIN
has-1.0.3.tgz
Normal file
Binary file not shown.
36
nodejs-has.spec
Normal file
36
nodejs-has.spec
Normal 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
5
nodejs-has.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/tarruda/has
|
||||||
|
version_control: github
|
||||||
|
src_repo: tarruda/has
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user