fuanan add package

This commit is contained in:
fwx913451 2020-09-09 09:50:06 +08:00
parent d1187daa57
commit 0b9019bd3a
2 changed files with 2 additions and 7 deletions

Binary file not shown.

View File

@ -7,11 +7,9 @@ Release: 1
Summary: Read and write binary structures and data types with Node.js
License: MIT
URL: https://github.com/rmustacc/node-ctype
Source0: https://registry.npmjs.org/ctype/-/ctype-%{version}.tgz
Source1: https://github.com/rmustacc/node-ctype/archive/3aae5f7aa45906cfcb283817cfb6fcb15360391d/nodejs-ctype-%{version}-3aae5f7.tar.gz
Source0: https://github.com/rmustacc/node-ctype/archive/%{commit}/nodejs-ctype-%{version}-3aae5f7.tar.gz
Patch1: nodejs-ctype-README.patch
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
%description
Node-CType is a way to read and write binary data in a structured and easy to
@ -21,10 +19,7 @@ The low level API lets you read and write individual integers and floats from
buffers. The higher level API lets you read and write structures of these.
%prep
%setup -q -n package -a1
%patch1 -p1
mv node-ctype-%{commit}/tst .
rm -rf node-ctype-%{commit}
%autosetup -n node-ctype-%{commit}
%build