nodejs-inherits1/nodejs-inherits1.spec

45 lines
1.3 KiB
RPMSpec
Raw Permalink Normal View History

2020-08-20 19:47:50 +08:00
%{?nodejs_find_provides_and_requires}
2020-09-08 14:56:56 +08:00
2020-08-20 19:47:50 +08:00
Name: nodejs-inherits1
2023-11-02 20:04:12 +08:00
Version: 1.0.1
2020-08-20 19:47:50 +08:00
Release: 1
Summary: A tiny simple way to do classic inheritance in JS - legacy version
2023-11-02 20:04:12 +08:00
License: ISC
2020-08-20 19:47:50 +08:00
URL: https://github.com/isaacs/inherits
2023-11-02 20:04:12 +08:00
Source0: https://github.com/isaacs/inherits/archive/v%{version}/inherits-%{version}.tar.gz
2020-08-20 19:47:50 +08:00
BuildArch: noarch
ExclusiveArch: %{nodejs_arches} noarch
BuildRequires: nodejs-packaging
2020-09-11 23:32:48 +08:00
2020-08-20 19:47:50 +08:00
%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
2023-11-02 20:04:12 +08:00
%autosetup -n inherits-%{version} -p1
2020-08-20 19:47:50 +08:00
%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
2023-11-02 20:04:12 +08:00
* Thu Nov 02 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.1-1
- Upgrade to 1.0.1
2020-09-11 23:32:48 +08:00
* Fri 11 Sep 2020 leiju <leiju@huawei.com> - 1.0.0-1
2020-09-11 23:48:35 +08:00
- Go back to 1.0.0
* Thu Aug 20 2020 wangxiao <wangxiao65@huawei.com> - 1.0.1-1
2020-08-20 19:47:50 +08:00
- Package init