From 321c81e9505c49ab0d32cb8f0168b988b49d8621 Mon Sep 17 00:00:00 2001 From: wangxiao65 <287608437@qq.com> Date: Mon, 7 Sep 2020 17:22:00 +0800 Subject: [PATCH] package init --- LICENSE | 14 ++++++++++++++ nodejs-inherits.spec | 9 +++++---- nodejs-inherits-2.0.3.tar.gz => v2.0.3.tar.gz | Bin 3 files changed, 19 insertions(+), 4 deletions(-) create mode 100644 LICENSE rename nodejs-inherits-2.0.3.tar.gz => v2.0.3.tar.gz (100%) diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..5a8e332 --- /dev/null +++ b/LICENSE @@ -0,0 +1,14 @@ + DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE + Version 2, December 2004 + + Copyright (C) 2004 Sam Hocevar + + 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. + diff --git a/nodejs-inherits.spec b/nodejs-inherits.spec index da19b5a..acf9c9e 100644 --- a/nodejs-inherits.spec +++ b/nodejs-inherits.spec @@ -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 diff --git a/nodejs-inherits-2.0.3.tar.gz b/v2.0.3.tar.gz similarity index 100% rename from nodejs-inherits-2.0.3.tar.gz rename to v2.0.3.tar.gz