From f9aba1cead266489fa36c7381621b4ea13e7fa38 Mon Sep 17 00:00:00 2001 From: zhanghua1831 Date: Thu, 27 Aug 2020 14:57:29 +0800 Subject: [PATCH] package init --- nodejs-spdx-exceptions.spec | 44 ++++++++++++++++++++++++++++++++++++ nodejs-spdx-exceptions.yaml | 4 ++++ spdx-exceptions-1.0.5.tgz | Bin 0 -> 1197 bytes 3 files changed, 48 insertions(+) create mode 100644 nodejs-spdx-exceptions.spec create mode 100644 nodejs-spdx-exceptions.yaml create mode 100644 spdx-exceptions-1.0.5.tgz diff --git a/nodejs-spdx-exceptions.spec b/nodejs-spdx-exceptions.spec new file mode 100644 index 0000000..b764dcc --- /dev/null +++ b/nodejs-spdx-exceptions.spec @@ -0,0 +1,44 @@ +%{?nodejs_find_provides_and_requires} +%global packagename spdx-exceptions +%global enable_tests 1 +Name: nodejs-spdx-exceptions +Version: 1.0.5 +Release: 1 +Summary: A list of SPDX standard license exceptions +License: CC-BY +URL: https://github.com/jslicense/spdx-exceptions.json +Source0: https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-%{version}.tgz +ExclusiveArch: %{nodejs_arches} noarch +BuildArch: noarch +BuildRequires: nodejs-packaging +%if 0%{?enable_tests} +%endif +%description +List of SPDX standard license exceptions + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} +cp -pr *.json \ + %{buildroot}%{nodejs_sitelib}/%{packagename} +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%{__nodejs} -e 'require("./")' +%if 0%{?enable_tests} +echo "There are no tests...." +%endif + +%files +%{!?_licensedir:%global license %doc} +%doc *.md +%{nodejs_sitelib}/%{packagename} + +%changelog +* Wed Aug 12 2020 zhanghua - 1.0.5-1 +- package init diff --git a/nodejs-spdx-exceptions.yaml b/nodejs-spdx-exceptions.yaml new file mode 100644 index 0000000..9b445e2 --- /dev/null +++ b/nodejs-spdx-exceptions.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jslicense/spdx-exceptions.json +tag_pattern: "^v" +seperator: "." diff --git a/spdx-exceptions-1.0.5.tgz b/spdx-exceptions-1.0.5.tgz new file mode 100644 index 0000000000000000000000000000000000000000..3936c1833be603731c58401677240207d0b06044 GIT binary patch literal 1197 zcmV;e1XBASiwFP!000001ML>uZre7r&-#i3=OqDbTJoi-gP~aBBtuYVOY0O}7X$$< z9b2p=Q6s6?#;_0CZ|uu|zPO!?e-uFQEj7eTqEodEff^NIr4g42=&?XL|e{Dy$L7@#-XsOx4wY~i%aaIgK#pN}b^0q%?6Qcf2oe!urV%!U?@{SW zFkn9GmRMexSSpLWju8eTE9P)63sU8*IG#{uMu|~jq|(HBLpZ{|StJN&3@(KUV@wkG zVM>@Er*+sf-4m0auDIY@2Ip!fc`$obfQO{(*2jBErmwu|VaGr2_tR2mrM-DllZ@W+=yI z#udUy3wp`CRGFgTkrh}@9Oii??-49}-L@x_YT|i& zd(fBpLWxOi$kT{Mj8#LfTiTwRU7lC7N6lRZ#z>CxBw2vM2~9Xu7{U8Y7&?ZA8`NMF zk1*wGYQyp{x4hNdBAbc==)TFlb0t%#<{z|}Z^g<;lvm6#q~L{){mAoPuetp9UqBt; zH|VGPWIVbH2})CcZ9=l@iWrfiRn+?mN#>qDWSY{*f@4#PSUr^l(BPx1+SFsj;FyN0 zBw0m@oHrC6+*MZvvJ!~4Q-uX8ZniO1Ee<+m3Y7xpAT)IGi%NsEGC=1ZB zERv`WMoL!J!F5c@ujKW0@p!X74^M zr~p!1Nrf^lTeh$@Ntw6`HaAp?87?%Ha|7;9_>{`2f;T9iNo; zdcnbWy^x<7miu4O%$R?Z*Z=4Cf8cl8tNq{d-Tv>kcKiQXz`m<%?N`0kyS97;AJbZ) z(J@}(8?EI7c?<2~@q8kvgdPdCN