package init

This commit is contained in:
wangxiao65 2020-09-07 17:22:00 +08:00
parent c48e7598d5
commit 321c81e950
3 changed files with 19 additions and 4 deletions

14
LICENSE Normal file
View File

@ -0,0 +1,14 @@
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.

View File

@ -3,10 +3,10 @@ Name: nodejs-inherits
Version: 2.0.3
Release: 1
Summary: A tiny simple way to do classic inheritance in js
License: ISC
License: WTFPL
URL: https://github.com/isaacs/inherits
#https://codeload.github.com/isaacs/inherits/tar.gz/v{version}
Source0: %{name}-%{version}.tar.gz
Source0: https://github.com/isaacs/inherits/archive/v%{version}.tar.gz
Source1: https://raw.github.com/isaacs/inherits/112807f2670160b6e3bafdf39e395c10ae7d0fac/LICENSE
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
@ -14,7 +14,8 @@ BuildRequires: nodejs-packaging
%{summary}.
%prep
%setup -q -n inherits-%{version}
%autosetup -n inherits-%{version}
cp -p %{SOURCE1} LICENSE
%build