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

View File

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

Binary file not shown.

BIN
v2.9.0.tar.gz Normal file

Binary file not shown.