change source
This commit is contained in:
parent
9bdcf8252f
commit
dacf99b2fe
@ -1,27 +1,25 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-through
|
Name: nodejs-through
|
||||||
Version: 2.3.8
|
Version: 2.3.7
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Simplified stream construction for Node.js
|
Summary: Simplified stream construction for Node.js
|
||||||
License: MIT or ASL 2.0
|
License: MIT or ASL 2.0
|
||||||
URL: https://github.com/dominictarr/through
|
URL: https://github.com/dominictarr/through
|
||||||
Source0: http://registry.npmjs.org/through/-/through-%{version}.tgz
|
Source0: https://github.com/dominictarr/through/archive/v%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
BuildRequires: nodejs-packaging
|
BuildRequires: nodejs-packaging
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
BuildRequires: npm(tape) npm(from)
|
BuildRequires: npm(tape) npm(from)
|
||||||
#BuildRequires: npm(stream-spec)
|
|
||||||
%endif
|
%endif
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n package
|
%autosetup -n through-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#nothing to do
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/through
|
mkdir -p %{buildroot}%{nodejs_sitelib}/through
|
||||||
@ -33,7 +31,6 @@ cp -pr package.json index.js \
|
|||||||
%nodejs_symlink_deps --check
|
%nodejs_symlink_deps --check
|
||||||
%__nodejs -e "require('./')"
|
%__nodejs -e "require('./')"
|
||||||
%if 0%{?enable_tests}
|
%if 0%{?enable_tests}
|
||||||
# requires npm(stream-spec)
|
|
||||||
rm test/index.js
|
rm test/index.js
|
||||||
tape test/*.js
|
tape test/*.js
|
||||||
%endif
|
%endif
|
||||||
@ -44,5 +41,5 @@ tape test/*.js
|
|||||||
%{nodejs_sitelib}/through
|
%{nodejs_sitelib}/through
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Aug 11 2020 wutao <wutao61@huawei.com> - 2.3.8-1
|
* Tue Aug 11 2020 wutao <wutao61@huawei.com> - 2.3.7-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Binary file not shown.
BIN
v2.3.7.tar.gz
Normal file
BIN
v2.3.7.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user