Go bacj version to 1.0.0

This commit is contained in:
lei_ju 2020-09-11 23:32:48 +08:00
parent 49e24a2f13
commit 73d072de73
4 changed files with 21 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.

BIN
inherits-1.0.0.tgz Normal file

Binary file not shown.

View File

@ -1,15 +1,17 @@
%{?nodejs_find_provides_and_requires} %{?nodejs_find_provides_and_requires}
Name: nodejs-inherits1 Name: nodejs-inherits1
Version: 1.0.1 Version: 1.0.0
Release: 1 Release: 1
Summary: A tiny simple way to do classic inheritance in JS - legacy version Summary: A tiny simple way to do classic inheritance in JS - legacy version
License: WTFPL License: WTFPL
URL: https://github.com/isaacs/inherits 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 BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging BuildRequires: nodejs-packaging
%description %description
A tiny simple way to do classic inheritance in JavaScript. 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 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. they need browser support as well.
%prep %prep
%setup -q -n inherits-%{version} %setup -q -n package
cp -p %{SOURCE1} LICENSE
%build %build
@ -33,5 +36,5 @@ cp -pr inherits.js package.json %{buildroot}%{nodejs_sitelib}/inherits@1
%license LICENSE %license LICENSE
%changelog %changelog
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.0-1 * Fri 11 Sep 2020 leiju <leiju@huawei.com> - 1.0.0-1
- Package init - Package init

Binary file not shown.