From f9aba1cead266489fa36c7381621b4ea13e7fa38 Mon Sep 17 00:00:00 2001 From: zhanghua1831 Date: Thu, 27 Aug 2020 14:57:29 +0800 Subject: [PATCH 1/4] 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 Date: Mon, 7 Sep 2020 16:38:36 +0800 Subject: [PATCH 2/4] package init --- nodejs-spdx-exceptions.spec | 4 ++-- spdx-exceptions-1.0.5.tgz | Bin 1197 -> 0 bytes v1.0.5.tar.gz | Bin 0 -> 1334 bytes 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 spdx-exceptions-1.0.5.tgz create mode 100644 v1.0.5.tar.gz diff --git a/nodejs-spdx-exceptions.spec b/nodejs-spdx-exceptions.spec index b764dcc..4f76b18 100644 --- a/nodejs-spdx-exceptions.spec +++ b/nodejs-spdx-exceptions.spec @@ -7,7 +7,7 @@ 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 +Source0: https://github.com/jslicense/spdx-exceptions.json/archive/v%{version}.tar.gz ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging @@ -17,7 +17,7 @@ BuildRequires: nodejs-packaging List of SPDX standard license exceptions %prep -%setup -q -n package +%autosetup -n spdx-exceptions.json-%{version} %build diff --git a/spdx-exceptions-1.0.5.tgz b/spdx-exceptions-1.0.5.tgz deleted file mode 100644 index 3936c1833be603731c58401677240207d0b06044..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 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{x4hNdBAb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^W<3MDVk3EGpGyBb}0%d76{R(|W#uVSvge+;87s*+mXR}FE~7eu)yy!LfNJI$OT zs=WXoxu5UA@ZF3kKg=+#2yQ6SXYh3OO?Y!*XS+pWF0A~@Vq*jig6ALBBTQm06eqn) sv$&S9v#D2F&hO0u*`Ps#1`QfCXwaZRg9Z&6H27EJFXJfQ6#ysz01Eh=>i_@% literal 0 HcmV?d00001 From 3f1774f0a8e9e2b338159874402878da5d9b1b99 Mon Sep 17 00:00:00 2001 From: zhanghua1831 Date: Wed, 9 Sep 2020 09:26:27 +0800 Subject: [PATCH 3/4] package init --- nodejs-spdx-exceptions.spec | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nodejs-spdx-exceptions.spec b/nodejs-spdx-exceptions.spec index 4f76b18..592a159 100644 --- a/nodejs-spdx-exceptions.spec +++ b/nodejs-spdx-exceptions.spec @@ -11,8 +11,6 @@ Source0: https://github.com/jslicense/spdx-exceptions.json/archive/ ExclusiveArch: %{nodejs_arches} noarch BuildArch: noarch BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -%endif %description List of SPDX standard license exceptions @@ -30,9 +28,6 @@ cp -pr *.json \ %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -echo "There are no tests...." -%endif %files %{!?_licensedir:%global license %doc} From 73df28341f36b1c67c87d80a3037a2f625e06834 Mon Sep 17 00:00:00 2001 From: zhanghua1831 Date: Wed, 9 Sep 2020 09:42:56 +0800 Subject: [PATCH 4/4] package init --- nodejs-spdx-exceptions.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/nodejs-spdx-exceptions.spec b/nodejs-spdx-exceptions.spec index 592a159..98fbc4a 100644 --- a/nodejs-spdx-exceptions.spec +++ b/nodejs-spdx-exceptions.spec @@ -1,6 +1,5 @@ %{?nodejs_find_provides_and_requires} %global packagename spdx-exceptions -%global enable_tests 1 Name: nodejs-spdx-exceptions Version: 1.0.5 Release: 1