The package rpms/nodejs-collection-visit.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-collection-visit.git/commi....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit bd0c4974686f1058b989b41ee09b76cd845f4a9f
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Jan 4 10:49:23 2021 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index f8aced6..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/collection-visit-1.0.0.tgz
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-collection-visit.spec b/nodejs-collection-visit.spec
deleted file mode 100644
index 4deb01d..0000000
--- a/nodejs-collection-visit.spec
+++ /dev/null
@@ -1,86 +0,0 @@
-%{?nodejs_find_provides_and_requires}
-
-%global packagename collection-visit
-%global enable_tests 1
-
-Name: nodejs-collection-visit
-Version: 1.0.0
-Release: 8%{?dist}
-Summary: Visit a method over items in object, or map visit over objects in array
-
-License: MIT
-URL:
https://github.com/jonschlinkert/collection-visit
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-# The test files are not included in the npm tarball.
-Source1:
https://raw.githubusercontent.com/jonschlinkert/%{packagename}/%{version}...
-
-ExclusiveArch: %{nodejs_arches} noarch
-BuildArch: noarch
-
-BuildRequires: nodejs-packaging
-BuildRequires: npm(map-visit)
-BuildRequires: npm(object-visit)
-%if 0%{?enable_tests}
-BuildRequires: mocha
-BuildRequires: npm(clone-deep)
-%endif
-
-%description
-Visit a method over the items in an object, or map visit over the objects in an
-array.
-
-
-%prep
-%autosetup -n package
-# setup the tests
-cp -p %{SOURCE1} .
-
-%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
-%{nodejs_sitelib}/%{packagename}
-
-%changelog
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-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.0.0-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Fri Apr 14 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-1
-- Initial packaging
diff --git a/sources b/sources
deleted file mode 100644
index 6652acf..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (collection-visit-1.0.0.tgz) =
94d90abf311e3010635061d9faaeb3f6948995ad0a58040fbedce1115f7e886c90606fa906997bc4a0e1c683523991f6861bf4bf9934cb6c80338a384a3a1293
diff --git a/test.js b/test.js
deleted file mode 100644
index 2fbd801..0000000
--- a/test.js
+++ /dev/null
@@ -1,90 +0,0 @@
-'use strict';
-
-require('mocha');
-var assert = require('assert');
-var clone = require('clone-deep');
-var visit = require('./');
-var ctx;
-
-describe('collection-visit', function() {
- var fixture = {
- options: {},
- data: {},
- set: function(key, value) {
- if (typeof key !== 'string') {
- visit(this, 'set', key, value);
- } else {
- this.data[key] = value;
- }
- }
- };
-
- beforeEach(function() {
- ctx = clone(fixture);
- });
-
- describe('arrays', function() {
- describe('visit', function() {
- it('should call visit on every value in the given object:', function() {
- ctx.set('a', 'a');
- ctx.set([{b: 'b'}, {c: 'c'}]);
- ctx.set({d: {e: 'f'}});
- assert.deepEqual(ctx.data, {
- a: 'a',
- b: 'b',
- c: 'c',
- d: { e: 'f' }
- });
- });
-
- it('should pass the second argument to set:', function() {
- ctx.set(['a', 'b'], function() {});
- assert.equal(typeof ctx.data.a, 'function');
- assert.equal(typeof ctx.data.b, 'function');
- });
-
- it('should work when the value is a string:', function() {
- ctx.setName = function(str) {
- this.name = str;
- };
-
- visit(ctx, 'setName', 'foo');
- assert.equal(ctx.name, 'foo');
- });
- });
- });
-
- describe('objects', function() {
- describe('visit', function() {
- it('should call visit on every value in the given object:', function() {
- ctx.set('a', 'a');
- ctx.set('b', 'b');
- ctx.set('c', 'c');
- ctx.set({d: {e: 'f'}});
-
- assert.deepEqual(ctx.data, {
- a: 'a',
- b: 'b',
- c: 'c',
- d: { e: 'f' }
- });
- });
- });
- });
-
- describe('errors', function() {
- it('should throw an error when invalid args are passed:', function() {
- assert.throws(function() {
- visit();
- });
-
- assert.throws(function() {
- visit('foo', 'bar');
- });
-
- assert.throws(function() {
- visit({}, {}, {});
- });
- });
- });
-});