Compare commits
12 Commits
f509057b39
...
f38573bef6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f38573bef6 | ||
|
|
835660fe6a | ||
|
|
ce7406bc8a | ||
|
|
63029a4e2c | ||
|
|
5289294742 | ||
|
|
a6d0e9a9b3 | ||
|
|
019c71e916 | ||
|
|
fc711d1e33 | ||
|
|
73d072de73 | ||
|
|
49e24a2f13 | ||
|
|
02d74635b6 | ||
|
|
93113e0fc2 |
BIN
inherits-1.0.1.tar.gz
Normal file
BIN
inherits-1.0.1.tar.gz
Normal file
Binary file not shown.
44
nodejs-inherits1.spec
Normal file
44
nodejs-inherits1.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
%{?nodejs_find_provides_and_requires}
|
||||||
|
|
||||||
|
Name: nodejs-inherits1
|
||||||
|
Version: 1.0.1
|
||||||
|
Release: 1
|
||||||
|
Summary: A tiny simple way to do classic inheritance in JS - legacy version
|
||||||
|
License: ISC
|
||||||
|
URL: https://github.com/isaacs/inherits
|
||||||
|
Source0: https://github.com/isaacs/inherits/archive/v%{version}/inherits-%{version}.tar.gz
|
||||||
|
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
|
||||||
|
%autosetup -n inherits-%{version} -p1
|
||||||
|
|
||||||
|
%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 Nov 02 2023 yaoxin <yao_xin001@hoperun.com> - 1.0.1-1
|
||||||
|
- Upgrade to 1.0.1
|
||||||
|
|
||||||
|
* 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
|
||||||
5
nodejs-inherits1.yaml
Normal file
5
nodejs-inherits1.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/isaacs/inherits
|
||||||
|
version_control: github
|
||||||
|
src_repo: isaacs/inherits
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user