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/inherits-1.0.0.tgz b/inherits-1.0.0.tgz new file mode 100644 index 0000000..df76b27 Binary files /dev/null and b/inherits-1.0.0.tgz differ diff --git a/nodejs-inherits1.spec b/nodejs-inherits1.spec index 1b3f186..212bcd4 100644 --- a/nodejs-inherits1.spec +++ b/nodejs-inherits1.spec @@ -1,15 +1,17 @@ %{?nodejs_find_provides_and_requires} Name: nodejs-inherits1 -Version: 1.0.1 +Version: 1.0.0 Release: 1 Summary: A tiny simple way to do classic inheritance in JS - legacy version License: WTFPL URL: https://github.com/isaacs/inherits -Source0: https://github.com/isaacs/inherits/archive/v%{version}.tar.gz +Source0: https://registry.npmjs.org/inherits/-/inherits-%{version}.tgz +Source1: https://raw.github.com/isaacs/inherits/112807f2670160b6e3bafdf39e395c10ae7d0fac/LICENSE BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging + %description A tiny simple way to do classic inheritance in JavaScript. This is the legacy version used by many Node.js modules for many years, and is @@ -18,7 +20,8 @@ functionality available in core Node.js or use the new version of inherits if they need browser support as well. %prep -%setup -q -n inherits-%{version} +%setup -q -n package +cp -p %{SOURCE1} LICENSE %build @@ -33,5 +36,8 @@ cp -pr inherits.js package.json %{buildroot}%{nodejs_sitelib}/inherits@1 %license LICENSE %changelog -* Thu Aug 20 2020 wangxiao - 1.0.0-1 +* Fri 11 Sep 2020 leiju - 1.0.0-1 +- Go back to 1.0.0 + +* Thu Aug 20 2020 wangxiao - 1.0.1-1 - Package init diff --git a/v1.0.1.tar.gz b/v1.0.1.tar.gz deleted file mode 100644 index 5571f6f..0000000 Binary files a/v1.0.1.tar.gz and /dev/null differ