From 93113e0fc2870c8fc6824d56eec7369e8729f209 Mon Sep 17 00:00:00 2001 From: wangxiao65 <287608437@qq.com> Date: Thu, 20 Aug 2020 19:47:50 +0800 Subject: [PATCH] package init --- LICENSE | 14 ++++++++++++++ inherits-1.0.0.tgz | Bin 0 -> 1042 bytes nodejs-inherits1.spec | 38 ++++++++++++++++++++++++++++++++++++++ nodejs-inherits1.yaml | 5 +++++ 4 files changed, 57 insertions(+) create mode 100644 LICENSE create mode 100644 inherits-1.0.0.tgz create mode 100644 nodejs-inherits1.spec create mode 100644 nodejs-inherits1.yaml 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 0000000000000000000000000000000000000000..df76b275c1d5e8197456160442a3c1db177431f5 GIT binary patch literal 1042 zcmV+t1nv7DiwFS12Axd+1MOGaZsRr(&9lE^R!=hEmE~Ikq;=6?6QJEio1pGfgFMhO zZ84Tbm89ajS^s;7q;7V-b_%3hq~Jk9N;AX5A;lSvGZHPyf_7ONQ^AxB9_86wr;%bjtwi8Q9mw!caK+p3+yeWEqip~A zGdyom`a}d!l$w`s?xVn{)h46G;D=z&#SMvKzna9CmJ#4~`bZ-cEU3C&r+0#9RH)6* zWJM*~92mGP2LjOh~zx>X%rTYr!#hM9@?n8dUG;UAY&xbGw>)wtAmlPH}{|eSoFm=JDAy10G$B z+cctletbKchL-$6Prhw_St~c6R?Ew%@C|XNQ0q}CT^F`}_HSFzUJd|26OoUW%#JgG=zr6YaG+;LVD3i6`Gf-4!U7Za}hCmQYxe4Pd^X zaflKkC5y^CLWdAO!=oj6qC#o{&E5;bAT-h?-K@EoNiDwj8Y4Ya8bbZBEFU<}OlR`M zdoCD;8J&3#nrcOuWe=JajG0Byj7x^;ZDR~#r80Th?Jk&#^C_mkRo8y(YeM9kCVUZCVYltU_6@{*6J`AWa&vY4(@n6N z{R?xPi2r`CKiZ4`;b1s$@&7e&1v5%!e~;_Ec>XvETBcyqrCn7IjzQ4hb0(-?=Z?0u zt8UG!l&wf&3nF{rn(~7r>`50|Sb|VniJ8_~*B5&r(W7zA=C5O-YO1n?!Wgugg35H& z1%1sIor1Z&>l|vDp5bdzs*x;9Hbt#gd#Cjc*HSj0?>M)&M)ckHtd(iKFLO zbF5Bu;~icn)*Nw8@UNrU_m)~Io7|P~=(208f9UXrWq|*??qUT-63KBPVk!50Bx=Vy zqK^AT8YN(WN_o76msO}%4P&_y`9C@k&AFdDof@wbg1?G?J#qWwja>UbPdmXXr>HKsr!m1FqU zzXc^EBwxg2nqW16c1Zxx3*RR!rLqvbu`AHQ!NI}7!NI}7!NI}7!NI}7!NI}7;eUs} M0IBwbzyK%!01KxV3;+NC literal 0 HcmV?d00001 diff --git a/nodejs-inherits1.spec b/nodejs-inherits1.spec new file mode 100644 index 0000000..1c39958 --- /dev/null +++ b/nodejs-inherits1.spec @@ -0,0 +1,38 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-inherits1 +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://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 Aug 20 2020 wangxiao - 1.0.0-1 +- Package init diff --git a/nodejs-inherits1.yaml b/nodejs-inherits1.yaml new file mode 100644 index 0000000..6624886 --- /dev/null +++ b/nodejs-inherits1.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/isaacs/inherits +version_control: github +src_repo: isaacs/inherits +tag_prefix: "^v" +seperator: "."