47 lines
1.4 KiB
RPMSpec
47 lines
1.4 KiB
RPMSpec
%{?nodejs_find_provides_and_requires}
|
|
|
|
Name: nodejs-inherits1
|
|
Version: 2.0.4
|
|
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://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
|
|
retained for backward compatibility. New modules should use the inheritance
|
|
functionality available in core Node.js or use the new version of inherits if
|
|
they need browser support as well.
|
|
|
|
%prep
|
|
%setup -q -n package
|
|
cp -p %{SOURCE1} LICENSE
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{nodejs_sitelib}/inherits@1
|
|
cp -pr inherits.js package.json %{buildroot}%{nodejs_sitelib}/inherits@1
|
|
%nodejs_symlink_deps
|
|
|
|
%files
|
|
%{nodejs_sitelib}/inherits@1
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Thu Jun 30 2022 baizhonggui <baizhonggui@h-partners.com> - 2.0.4-1
|
|
- update to 2.0.4
|
|
|
|
* Fri 11 Sep 2020 leiju <leiju@huawei.com> - 1.0.0-1
|
|
- Go back to 1.0.0
|
|
|
|
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.1-1
|
|
- Package init
|