package init
This commit is contained in:
parent
11579de1cd
commit
438cb27eaf
32
nodejs-once.spec
Normal file
32
nodejs-once.spec
Normal file
@ -0,0 +1,32 @@
|
||||
%{?nodejs_find_provides_and_requires}
|
||||
Name: nodejs-once
|
||||
Version: 1.3.3
|
||||
Release: 1
|
||||
Summary: Run a function exactly one time
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
License: BSD
|
||||
URL: https://github.com/isaacs/once
|
||||
Source0: https://registry.npmjs.org/once/-/once-%{version}.tgz
|
||||
BuildRequires: nodejs-packaging
|
||||
%description
|
||||
Run a function exactly one time.
|
||||
|
||||
%prep
|
||||
%setup -q -n package
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/once
|
||||
cp -pr package.json once.js %{buildroot}%{nodejs_sitelib}/once
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%files
|
||||
%{nodejs_sitelib}/once
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Mon Aug 17 2020 wutao <wutao61@huawei.com> - 1.3.3-1
|
||||
- Package init
|
||||
4
nodejs-once.yaml
Normal file
4
nodejs-once.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: isaacs/once
|
||||
tag_prefix: "^"
|
||||
seperator: "."
|
||||
BIN
once-1.3.3.tgz
Normal file
BIN
once-1.3.3.tgz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user