From 4b32ec2d81ef2e5809d751183cc0c75a25b2b674 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 04 2021 10:38:02 +0000 Subject: Orphaned for 6+ weeks --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 4c267ae..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/spdx-license-ids-05c7466fcd62c8642006ef354c95064fcade3a03.tar.gz -/spdx-license-ids-1.2.0.tgz -/licenses.json -/test.js diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/nodejs-spdx-license-ids.spec b/nodejs-spdx-license-ids.spec deleted file mode 100644 index 89b373a..0000000 --- a/nodejs-spdx-license-ids.spec +++ /dev/null @@ -1,113 +0,0 @@ -# spec file for package nodejs-nodejs-spdx-license-ids - -%global npm_name spdx-license-ids -%{?nodejs_find_provides_and_requires} - -%global enable_tests 0 -# tests are disabled because they depend on a newer version of nodejs - -Name: nodejs-spdx-license-ids -Version: 1.2.0 -Release: 13%{?dist} -Summary: A list of SPDX license identifiers -Url: https://github.com/shinnn/spdx-license-ids -Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz -Source1: https://spdx.org/licenses/licenses.json -# The list in this package is built from the list at spdx.org, but -# unfortunately the build instructions for this package depend on a newer -# version of nodejs and on direct network access, so we'll have to come up -# with our own way of building the list using tools already in Fedora -Source2: https://raw.githubusercontent.com/shinnn/spdx-license-ids/v1.2.0/test.js -# the test file is not included in the NPM package - -License: Unlicense -# Yes, this is the "Unlicense" license - -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch - -BuildRequires: jq -BuildRequires: nodejs-packaging - -%if 0%{?enable_tests} -BuildRequires: npm(rimraf) -BuildRequires: npm(tape) -%endif - -%description -A list of SPDX license identifiers - -%prep -%setup -q -n package -cp -p %{SOURCE1} . -cp -p %{SOURCE2} . - -chmod -x README.md - -# Remove the generated file and rebuild from source as part of the %%build step -rm spdx-license-ids.json - -%build -# Use the jq tool to rebuild the list from the source file, rather than using -# the upstream method of running 'build.js', because 'build.js' depends on a -# newer version of nodejs and also requires network connectivity. -%{_bindir}/jq '[.licenses[].licenseId] | map(select(endswith("+")|not))' licenses.json > spdx-license-ids.json - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} - -cp -pr package.json spdx-license-ids.json %{buildroot}%{nodejs_sitelib}/%{npm_name} - -%{nodejs_symlink_deps} - -%check -%{nodejs_symlink_deps} --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -%{__nodejs} --harmony_arrow_functions test.js -%endif - -%files -%{!?_licensedir:%global license %doc} -%{nodejs_sitelib}/spdx-license-ids -%doc README.md -%license LICENSE - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering - 1.2.0-13 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 1.2.0-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 1.2.0-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 1.2.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 1.2.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 1.2.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 1.2.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.2.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.2.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.2.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jan 13 2016 Jared Smith - 1.2.0-3 -- Update to upstream 1.2.0 release -- Rebuild from source using the jq utility - -* Wed Jun 10 2015 Zuzana Svetlikova - 1.0.1-1 -- Initial build diff --git a/sources b/sources deleted file mode 100644 index d174aea..0000000 --- a/sources +++ /dev/null @@ -1,3 +0,0 @@ -36678f57bd8ccb6351713846ee24f6de spdx-license-ids-1.2.0.tgz -9b66bed11fce639d902ceaae16ca8053 licenses.json -cc3337ae74ecea51f72540a62f158f79 test.js