fuanan add package

This commit is contained in:
fwx913451 2020-09-08 10:31:36 +08:00
parent f2bd7bde30
commit 4f909178f9
4 changed files with 6 additions and 7 deletions

Binary file not shown.

View File

@ -6,8 +6,8 @@ Version: 3.0.0
Release: 1
Summary: Port of jQuery.extend for node.js and the browser
License: MIT
URL: https://www.npmjs.org/package/extend
Source0: https://registry.npmjs.org/extend/-/extend-%{version}.tgz
URL: https://github.com/justmoon/node-extend
Source0: https://github.com/justmoon/node-extend/archive/v%{version}.tar.gz
Source1: test-index.js
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
@ -21,7 +21,7 @@ nodejs-extend is a port of the classic extend() method from jQuery. It behaves
as you expect. It is simple, tried and true.
%prep
%setup -q -n package
%autosetup -n node-extend-%{version}
install -D -p -m0644 %{SOURCE1} test/index.js
rm -rf node_modules/
%nodejs_fixdep --caret

View File

@ -1,5 +1,4 @@
git_url: https://www.npmjs.org/package/extend
version_control: registry
src_repo: https://registry.npmjs.org/extend/-
tag_prefix: "^"
version_control: github
src_repo: justmoon/node-extend
tag_prefix: "^v"
seperator: "."

BIN
v3.0.0.tar.gz Normal file

Binary file not shown.