package init
This commit is contained in:
parent
047261b59d
commit
5cf49534ea
BIN
isarray-0.0.1.tgz
Normal file
BIN
isarray-0.0.1.tgz
Normal file
Binary file not shown.
34
nodejs-isarray.spec
Normal file
34
nodejs-isarray.spec
Normal file
@ -0,0 +1,34 @@
|
||||
%global shortname isarray
|
||||
Name: nodejs-isarray
|
||||
Version: 0.0.1
|
||||
Release: 1
|
||||
Summary: Array#isArray for older browsers
|
||||
License: MIT
|
||||
URL: https://github.com/juliangruber/%{shortname}
|
||||
Source0: http://registry.npmjs.org/%{shortname}/-/%{shortname}-%{version}.tgz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -qn package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/%{shortname}/
|
||||
cp -pr package.json component.json index.js %{buildroot}%{nodejs_sitelib}/%{shortname}
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
|
||||
%files
|
||||
%{nodejs_sitelib}/%{shortname}
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 0.0.1-1
|
||||
- Package init
|
||||
5
nodejs-isarray.yaml
Normal file
5
nodejs-isarray.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/juliangruber/isarray
|
||||
version_control: github
|
||||
src_repo: juliangruber/isarray
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user