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