package init
This commit is contained in:
parent
c33e3ddfb1
commit
4069ce7d0f
BIN
are-we-there-yet-1.0.5.tgz
Normal file
BIN
are-we-there-yet-1.0.5.tgz
Normal file
Binary file not shown.
46
nodejs-are-we-there-yet.spec
Normal file
46
nodejs-are-we-there-yet.spec
Normal file
@ -0,0 +1,46 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
%global enable_tests 1
|
||||||
|
Name: nodejs-are-we-there-yet
|
||||||
|
Version: 1.0.5
|
||||||
|
Release: 1
|
||||||
|
Summary: Keep track of the overall completion of many disparate processes
|
||||||
|
License: ISC
|
||||||
|
URL: https://github.com/iarna/are-we-there-yet.git
|
||||||
|
Source0: https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-%{version}.tgz
|
||||||
|
BuildArch: noarch
|
||||||
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
BuildRequires: nodejs-packaging npm(delegates) npm(readable-stream)
|
||||||
|
%if 0%{?enable_tests}
|
||||||
|
BuildRequires: npm(tap)
|
||||||
|
%endif
|
||||||
|
%description
|
||||||
|
Keep track of the overall completion of many disparate processes
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n package
|
||||||
|
%nodejs_fixdep delegates '>=0.1.0'
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{nodejs_sitelib}/are-we-there-yet
|
||||||
|
cp -pr package.json *.js \
|
||||||
|
%{buildroot}%{nodejs_sitelib}/are-we-there-yet
|
||||||
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
%check
|
||||||
|
%nodejs_symlink_deps --check
|
||||||
|
%{__nodejs} -e 'require("./")'
|
||||||
|
%if 0%{?enable_tests}
|
||||||
|
%{_bindir}/tap test/*.js
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{!?_licensedir:%global license %doc}
|
||||||
|
%doc *.md
|
||||||
|
%license LICENSE
|
||||||
|
%{nodejs_sitelib}/are-we-there-yet
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 20 2020 huanghaitao <huanghaitao8@huawei.com> - 1.0.5-1
|
||||||
|
- package init
|
||||||
4
nodejs-are-we-there-yet.yaml
Normal file
4
nodejs-are-we-there-yet.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: npm/are-we-there-yet
|
||||||
|
tag_prefix: "v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user