commit
fe6ff22731
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://github.com/iarna/are-we-there-yet/archive/v%{version}.tar.gz
|
||||
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
|
||||
%autosetup -n are-we-there-yet-%{version}
|
||||
%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: "."
|
||||
BIN
v1.0.5.tar.gz
Normal file
BIN
v1.0.5.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user