package init

This commit is contained in:
jackie_wu 2020-08-20 20:46:19 +08:00
parent 11579de1cd
commit 438cb27eaf
3 changed files with 36 additions and 0 deletions

32
nodejs-once.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: isaacs/once
tag_prefix: "^"
seperator: "."

BIN
once-1.3.3.tgz Normal file

Binary file not shown.