The package rpms/nodejs-compare-func.git has added or updated architecture specific
content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-compare-func.git/commit/?i....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 47189e01f3604672c05544bb4ef01a871aa2d707
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Jan 4 10:50:40 2021 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index e54d39e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/compare-func-1.3.2.tgz
diff --git a/LICENSE-MIT b/LICENSE-MIT
deleted file mode 100644
index 0127a3a..0000000
--- a/LICENSE-MIT
+++ /dev/null
@@ -1,22 +0,0 @@
-The MIT License (MIT)
-
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
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-compare-func.spec b/nodejs-compare-func.spec
deleted file mode 100644
index a142726..0000000
--- a/nodejs-compare-func.spec
+++ /dev/null
@@ -1,88 +0,0 @@
-%{?nodejs_find_provides_and_requires}
-
-%global packagename compare-func
-%global enable_tests 1
-
-Name: nodejs-compare-func
-Version: 1.3.2
-Release: 8%{?dist}
-Summary: Get a compare function for array to sort
-
-License: MIT
-URL:
https://github.com/stevemao/compare-func
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-Source1:
https://raw.githubusercontent.com/stevemao/compare-func/v%{version}/test.js
-Source2: LICENSE-MIT
-
-
-ExclusiveArch: %{nodejs_arches} noarch
-BuildArch: noarch
-
-BuildRequires: nodejs-packaging
-BuildRequires: npm(array-ify)
-BuildRequires: npm(dot-prop)
-%if 0%{?enable_tests}
-BuildRequires: mocha
-%endif
-
-%description
-Get a compare function for array to sort
-
-
-%prep
-%autosetup -n package
-# setup the tests
-cp -p %{SOURCE1} .
-cp -p %{SOURCE2} .
-
-%nodejs_fixdep dot-prop
-
-%build
-# nothing to do!
-
-%install
-mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
-cp -pr package.json index.js \
- %{buildroot}%{nodejs_sitelib}/%{packagename}
-
-%nodejs_symlink_deps
-
-%check
-%nodejs_symlink_deps --check
-%{__nodejs} -e 'require("./")'
-%if 0%{?enable_tests}
-%{_bindir}/mocha -R spec
-%else
-%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
-%endif
-
-%files
-%doc README.md
-%license LICENSE-MIT
-%{nodejs_sitelib}/%{packagename}
-
-%changelog
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-8
-- Second attempt - Rebuilt for
-
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.3.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sun May 7 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.3.2-1
-- Initial packaging
diff --git a/sources b/sources
deleted file mode 100644
index ab1539e..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (compare-func-1.3.2.tgz) =
93a433c3a3b8bfaabf174bcbfab9fde4bc10a16b6a26febe76d6d53f0fe30b4cca1a984076afbedd0d59566db95dba8e43b9055e505b268c9c9ac6853c3a29dd
diff --git a/test.js b/test.js
deleted file mode 100644
index 98b8342..0000000
--- a/test.js
+++ /dev/null
@@ -1,104 +0,0 @@
-'use strict';
-var equal = require('assert').strictEqual;
-var compareFunc = require('./');
-
-it('should sort letters', function() {
- equal([{
- foo: 'b'
- }, {
- foo: 'a'
- }, {
- foo: 'c'
- }].sort(compareFunc('foo'))[0].foo, 'a');
-});
-
-it('should sort numbers', function() {
- equal([{
- foo: 2
- }, {
- foo: 1
- }, {
- foo: 3
- }].sort(compareFunc('foo'))[0].foo, 1);
-});
-
-it('should sort by an array of strings', function() {
- equal([{
- foo: 'b',
- bar: 'a'
- }, {
- foo: 'a',
- bar: 'c'
- }, {
- foo: 'a',
- bar: 'b'
- }, {
- foo: 'c',
- bar: 'c'
- }].sort(compareFunc(['foo', 'bar']))[0].bar, 'b');
-});
-
-it('should work with dot-prop', function() {
- equal([{
- foo: {
- bar: 'b'
- }
- }, {
- foo: {
- bar: 'a'
- }
- }, {
- foo: {
- bar: 'c'
- }
- }].sort(compareFunc('foo.bar'))[0].foo.bar, 'a');
-});
-
-it('should sort by a function', function() {
- equal([{
- foo: 'b'
- }, {
- foo: 'a'
- }, {
- foo: 'c'
- }].sort(compareFunc(function(prop) {
- return prop.foo;
- }))[0].foo, 'a');
-});
-
-it('should work if one object does not have this prop', function() {
- var sorted = [{
- bar: 'b'
- }, {
- foo: 'b'
- }, {
- foo: 'a'
- }].sort(compareFunc('foo'));
-
- // {bar: 'b'} is not sorted so it might be the first or the second element
- equal(sorted[0].foo || sorted[1].foo, 'a');
-});
-
-it('should sort by an array of functions', function() {
- equal([{
- foo: 'b',
- bar: 'a'
- }, {
- foo: 'a',
- bar: 'b'
- }, {
- foo: 'a',
- bar: 'c'
- }, {
- foo: 'c',
- bar: 'c'
- }].sort(compareFunc([function(prop) {
- return prop.foo;
- }, function(prop) {
- return prop.bar;
- }]))[0].bar, 'b');
-});
-
-it('should sort on itself if there are no args', function() {
- equal(['z', 'b', 'a'].sort(compareFunc())[0], 'a');
-});