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 30cd30b..786cc15 100644 --- a/nodejs-inherits.spec +++ b/nodejs-inherits.spec @@ -8,6 +8,7 @@ License: WTFPL Group: Development/Libraries URL: https://github.com/isaacs/inherits Source0: http://registry.npmjs.org/inherits/-/inherits-%{version}.tgz +Source1: https://raw.github.com/isaacs/inherits/112807f2670160b6e3bafdf39e395c10ae7d0fac/LICENSE BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch @@ -20,6 +21,9 @@ BuildRequires: nodejs-devel %prep %setup -q -n package +#copy the license into %%{_builddir} so it works with %%doc +cp -p %{SOURCE1} LICENSE + %build #nothing to do @@ -37,11 +41,12 @@ rm -rf %{buildroot} %files %defattr(-,root,root,-) %{nodejs_sitelib}/inherits -%doc README.md +%doc README.md LICENSE %changelog * Sun Jun 23 2013 T.C. Hollingsworth - 2.0.0-1 - new upstream release 2.0.0 +- include license file * Sun Jun 23 2013 T.C. Hollingsworth - 1.0.0-9 - restrict to compatible arches