fuanan add package

This commit is contained in:
fwx913451 2020-09-08 15:59:33 +08:00
parent 51d7dacc19
commit a6a2c96c65
6 changed files with 4 additions and 10 deletions

Binary file not shown.

Binary file not shown.

View File

@ -5,15 +5,12 @@ Version: 2.9.0
Release: 1
Summary: Node.js command-line interfaces made easy
License: MIT
URL: https://github.com/tj/commander
Source0: https://registry.npmjs.org/commander/-/commander-%{version}.tgz
Source1: tests-v%{version}.tar.bz2
Source2: examples-v%{version}.tar.bz2
URL: https://github.com/visionmedia/commander.js
Source0: https://github.com/visionmedia/commander.js/archive/v%{version}.tar.gz
Source10: dl-tests.sh
Patch0: nodejs-commander-2.9.0-Fix-engine-dep.patch
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
BuildRequires: nodejs-packaging
%if 0%{?enable_tests}
BuildRequires: npm(should) npm(sinon) npm(graceful-readlink)
@ -23,10 +20,7 @@ The complete solution for Node.js command-line interfaces,
inspired by Ruby's commander.
%prep
%setup -q -n package
%setup -q -T -D -a 1 -n package
%setup -q -T -D -a 2 -n package
%patch0 -p1
%autosetup -n commander.js-%{version} -S git
%build

View File

@ -1,4 +1,4 @@
version_control: github
src_repo: tj/commander
src_repo: visionmedia/commander.js
tag_prefix: "^v"
seperator: "."

Binary file not shown.

BIN
v2.9.0.tar.gz Normal file

Binary file not shown.