package init

This commit is contained in:
wang_yue111 2020-09-07 17:01:10 +08:00
parent 401b1221f8
commit 8140f04cfc
4 changed files with 2 additions and 7 deletions

View File

@ -7,11 +7,7 @@ Release: 1
Summary: A robust & optimized `String.prototype.repeat` polyfill
License: MIT
URL: https://github.com/mathiasbynens/String.prototype.repeat.git
Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
#git clone https://github.com/mathiasbynens/String.prototype.repeat.git
#cd String.prototype.repeat
#git archive --prefix='tests/' --format=tar v%{version}:tests/| bzip2 >tests-0.2.0.tar.bz2
Source1: tests-%{version}.tar.bz2
Source0: https://github.com/mathiasbynens/String.prototype.repeat/archive/v%{version}.tar.gz
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
@ -23,8 +19,7 @@ A robust & optimized `String.prototype.repeat` polyfill, based on the
ECMAScript 6 specification.
%prep
%setup -q -n package
%setup -q -T -D -a 1 -n package
%autosetup -n String.prototype.repeat-%{version}
%build

Binary file not shown.

Binary file not shown.

BIN
v0.2.0.tar.gz Normal file

Binary file not shown.