The package rpms/nodejs-base-plugins.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-base-plugins.git/commit/?i....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit adaa4b8d2920586e4543c1c502685b8dc5eb53eb
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Jan 4 10:41:47 2021 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9abae70..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/base-plugins-1.0.0.tgz
-/examples-1.0.0.tar.bz2
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/dl-tests.sh b/dl-tests.sh
deleted file mode 100644
index 3ab66bb..0000000
--- a/dl-tests.sh
+++ /dev/null
@@ -1,127 +0,0 @@
-#!/bin/bash
-
-tag=$(sed -n 's/^Version:\s\(.*\)$/\1/p' ./*.spec | sed -e
's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
-url=$(sed -n 's/^URL:\s\(.*\)$/\1/p' ./*.spec | sed -e
's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
-pkgdir=$(basename $url | sed -s 's/\.git$//')
-
-echo "tag: $tag"
-echo "URL: $url"
-echo "pkgdir: $pkgdir"
-
-set -e
-
-tmp=$(mktemp -d)
-
-trap cleanup EXIT
-cleanup() {
- echo Cleaning up...
- set +e
- [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
-}
-
-unset CDPATH
-pwd=$(pwd)
-
-pushd "$tmp"
-git clone $url
-cd $pkgdir
-echo Finding git tag
-gittag=$(git show-ref --tags | cut -d' ' -f2 | grep "${tag}$" || git
show-ref --tags | cut -d' ' -f2 | sort -Vr | head -n1)
-if [ -z $gittag ]; then
- gittag=tags/$tag
-fi
-echo "Git Tag: $gittag"
-if [ -d "test" ]; then
- git archive --prefix='test/' --format=tar ${gittag}:test/ \
- | bzip2 > "$pwd"/tests-${tag}.tar.bz2
-elif [ -d "tests" ]; then
- git archive --prefix='tests/' --format=tar ${gittag}:tests/ \
- | bzip2 > "$pwd"/tests-${tag}.tar.bz2
-elif [ -d "spec" ]; then
- git archive --prefix='spec/' --format=tar ${gittag}:spec/ \
- | bzip2 > "$pwd"/tests-${tag}.tar.bz2
-else
- echo "No test directory found for tag ${gittag}"
-fi
-if [ -d "support" ]; then
- git archive --prefix='support/' --format=tar ${gittag}:support/ \
- | bzip2 > "$pwd"/support-${tag}.tar.bz2
-fi
-if [ -d "fixture" ]; then
- git archive --prefix='fixture/' --format=tar ${gittag}:fixture/ \
- | bzip2 > "$pwd"/fixture-${tag}.tar.bz2
-fi
-if [ -d "examples" ]; then
- git archive --prefix='examples/' --format=tar ${gittag}:examples/ \
- | bzip2 > "$pwd"/examples-${tag}.tar.bz2
-elif [ -d "example" ]; then
- git archive --prefix='example/' --format=tar ${gittag}:example/ \
- | bzip2 > "$pwd"/examples-${tag}.tar.bz2
-fi
-if [ -d "tasks" ]; then
- git archive --prefix='tasks/' --format=tar ${gittag}:tasks/ \
- | bzip2 > "$pwd"/tasks-${tag}.tar.bz2
-fi
-if [ -d "docs" ]; then
- git archive --prefix='docs/' --format=tar ${gittag}:docs/ \
- | bzip2 > "$pwd"/docs-${tag}.tar.bz2
-elif [ -d "doc" ]; then
- git archive --prefix='doc/' --format=tar ${gittag}:doc/ \
- | bzip2 > "$pwd"/docs-${tag}.tar.bz2
-fi
-if [ -d "src" ]; then
- git archive --prefix='src/' --format=tar ${gittag}:src/ \
- | bzip2 > "$pwd"/src-${tag}.tar.bz2
-elif [ -d "source" ]; then
- git archive --prefix='source/' --format=tar ${gittag}:source/ \
- | bzip2 > "$pwd"/source-${tag}.tar.bz2
-fi
-if [ -d "tools" ]; then
- git archive --prefix='tools/' --format=tar ${gittag}:tools/ \
- | bzip2 > "$pwd"/tools-${tag}.tar.bz2
-fi
-if [ -d "scripts" ]; then
- git archive --prefix='scripts/' --format=tar ${gittag}:scripts/ \
- | bzip2 > "$pwd"/scripts-${tag}.tar.bz2
-fi
-if [ -d "modules" ]; then
- git archive --prefix='modules/' --format=tar ${gittag}:modules/ \
- | bzip2 > "$pwd"/modules-${tag}.tar.bz2
-fi
-if [ -d "ts" ]; then
- git archive --prefix='ts/' --format=tar ${gittag}:ts/ \
- | bzip2 > "$pwd"/ts-${tag}.tar.bz2
-fi
-if [ -d "build" ]; then
- git archive --prefix='build/' --format=tar ${gittag}:build/ \
- | bzip2 > "$pwd"/build-${tag}.tar.bz2
-fi
-if [ -d "fixtures" ]; then
- git archive --prefix='fixtures/' --format=tar ${gittag}:fixtures/ \
- | bzip2 > "$pwd"/fixtures-${tag}.tar.bz2
-fi
-if [ -d "mocks" ]; then
- git archive --prefix='mocks/' --format=tar ${gittag}:mocks/ \
- | bzip2 > "$pwd"/mocks-${tag}.tar.bz2
-fi
-if [ -d "typings" ]; then
- git archive --prefix='typings/' --format=tar ${gittag}:typings/ \
- | bzip2 > "$pwd"/typings-${tag}.tar.bz2
-fi
-if [ -d "templates" ]; then
- git archive --prefix='templates/' --format=tar ${gittag}:templates/ \
- | bzip2 > "$pwd"/templates-${tag}.tar.bz2
-fi
-if [ -d "benchmark" ]; then
- git archive --prefix='benchmark/' --format=tar ${gittag}:benchmark/ \
- | bzip2 > "$pwd"/benchmark-${tag}.tar.bz2
-fi
-if [ -d "vendor" ]; then
- git archive --prefix='vendor/' --format=tar ${gittag}:vendor/ \
- | bzip2 > "$pwd"/vendor-${tag}.tar.bz2
-fi
-if [ -d "packages" ]; then
- git archive --prefix='packages/' --format=tar ${gittag}:packages/ \
- | bzip2 > "$pwd"/packages-${tag}.tar.bz2
-fi
-popd
diff --git a/nodejs-base-plugins.spec b/nodejs-base-plugins.spec
deleted file mode 100644
index d4b3e88..0000000
--- a/nodejs-base-plugins.spec
+++ /dev/null
@@ -1,99 +0,0 @@
-%{?nodejs_find_provides_and_requires}
-
-%global packagename base-plugins
-%global enable_tests 1
-
-Name: nodejs-base-plugins
-Version: 1.0.0
-Release: 9%{?dist}
-Summary: Adds smart plugin support to your base application
-
-License: MIT
-URL:
https://github.com/node-base/base-plugins
-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}...
-# Source2 is generated by running Source10, which pulls from the upstream
-# version control repository.
-Source2: examples-%{version}.tar.bz2
-Source10: dl-tests.sh
-
-
-ExclusiveArch: %{nodejs_arches} noarch
-BuildArch: noarch
-
-BuildRequires: nodejs-packaging
-BuildRequires: npm(is-registered)
-BuildRequires: npm(is-valid-instance)
-%if 0%{?enable_tests}
-BuildRequires: mocha
-BuildRequires: npm(base)
-BuildRequires: npm(should)
-%endif
-
-%description
-Adds smart plugin support to your base application.
-
-
-%prep
-%autosetup -n package
-# setup the tests
-cp -p %{SOURCE1} .
-# setup the examples
-%autosetup -T -D -a 2 -n package
-
-%nodejs_fixdep isobject
-%nodejs_fixdep define-property
-
-%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 examples/
-%license LICENSE
-%{nodejs_sitelib}/%{packagename}
-
-%changelog
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-9
-- 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-8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Fri Aug 18 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-2
-- Relax dependency on npm(define-property)
-
-* Sat Apr 15 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-1
-- Initial packaging
diff --git a/sources b/sources
deleted file mode 100644
index af77577..0000000
--- a/sources
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA512 (base-plugins-1.0.0.tgz) =
87ab4589941ceb23c5dce642b4fc32fa73df4f55730a578377d6a12190560ba91600d4b54e4374b60aa7d1436b08d21872fcbd91cbbd0e3b8bb1dd2da0525eec
-SHA512 (examples-1.0.0.tar.bz2) =
97e4b7690724588fd28e25cd2fe94736bc853937cbdba444c0c71adb5f71122b2e622e995a42cc3f09338abe45fe8717cff588b7f03d90141c2159897c4793ef
diff --git a/test.js b/test.js
deleted file mode 100644
index 7b04ce3..0000000
--- a/test.js
+++ /dev/null
@@ -1,229 +0,0 @@
-'use strict';
-
-require('mocha');
-require('should');
-var assert = require('assert');
-var Base = require('base');
-var plugins = require('./');
-var base;
-
-describe('plugins', function() {
- describe('use', function() {
- beforeEach(function() {
- base = new Base();
- base.use(plugins());
- });
-
- it('should add a `fns` property:', function() {
- assert(base.fns);
- assert(Array.isArray(base.fns));
- });
-
- it('should ensure the instance has the `fns` property:', function() {
- base = new Base();
- delete base.fns;
- assert(!base.fns);
- base.use(plugins());
- assert(base.fns);
- assert(Array.isArray(base.fns));
- });
-
- it('should ensure a plain object has the `fns` property:', function() {
- var obj = {};
- plugins()(obj);
- assert(obj.fns);
- assert(Array.isArray(obj.fns));
- });
-
- it('should ensure a plain object has a "use" method:', function()
{
- var obj = {};
- plugins()(obj);
- assert(obj.use);
- assert.equal(typeof obj.use, 'function');
- });
-
- it('should not overwrite an existing `fns` property:', function() {
- base = new Base();
- base.fns = [function() {}];
- base.use(plugins());
- assert(base.fns);
- assert(Array.isArray(base.fns));
- assert.equal(base.fns.length, 1);
- });
-
- it('should call the function passed to `use`:', function(cb) {
- base.use(function(app) {
- assert(app);
- cb();
- });
- });
-
- it('should expose the app instance:', function(cb) {
- base.foo = 'bar';
- base.use(function(app) {
- assert.equal(app.foo, 'bar');
- cb();
- });
- });
-
- it('should expose the app instance as "this":', function(cb) {
- base.foo = 'bar';
- base.use(function(app) {
- assert.equal(this.foo, 'bar');
- cb();
- });
- });
-
- it('should emit `use`:', function(cb) {
- base.on('use', function() {
- cb();
- });
-
- base.use(function(app) {
- });
- });
- });
-
- describe('named plugins', function() {
- it('should register named plugins', function() {
- var app = new Base();
- app.use(plugins());
- app.type = 'app';
- app.use(plugins());
- var names = [];
-
- app.use('foo', function() {
- names.push(this.type);
- });
-
- app.use('bar', function() {
- names.push(this.type);
- });
-
- app.use('baz', function() {
- names.push(this.type);
- });
-
- var foo = new Base();
- foo.type = 'foo';
- foo.parent = app;
- app.run(foo);
-
- var bar = new Base();
- bar.type = 'bar';
- bar.parent = foo;
- foo.run(bar);
-
- var baz = new Base();
- baz.type = 'baz';
- baz.parent = bar;
- bar.run(baz);
-
- assert.deepEqual(names, ['foo', 'bar', 'baz']);
- });
-
- });
-
- describe('run', function() {
- beforeEach(function() {
- base = new Base();
- base.use(plugins());
- });
-
- it('should expose the run method:', function() {
- assert(base.run);
- assert.equal(typeof base.run, 'function');
- });
-
- it('should run all registered plugins:', function(cb) {
- var config = {};
- var called = 0;
-
- function letter(ch, val) {
- return function(app) {
- return function(config) {
- called++;
- config[ch] = val;
- };
- };
- }
-
- base.use(letter('a', 'b'));
- base.use(letter('c', 'd'));
- base.use(letter('e', 'f'));
-
- base.run(config);
-
- assert(config.a);
- assert(config.c);
- assert(config.e);
- assert.equal(called, 3);
- cb();
- });
-
- it('should push returned functions onto `plugins`:', function(cb) {
- base.use(function() {
- return function() {
- };
- });
- assert.equal(base.fns.length, 1);
- cb();
- });
-
- it('should run all stored plugins:', function(cb) {
- var called = 0;
- base.use(function(app) {
- return function(config) {
- called++;
- app.foo = config.foo;
- };
- });
-
- var config = {foo: 'bar'};
- base.run(config);
- assert.equal(base.foo, 'bar');
- assert.equal(called, 1);
- cb();
- });
-
- it('should not run on non-object values', function(cb) {
- var called = 0;
- base.use(function(app) {
- return function(config) {
- called++;
- app.foo = config.foo;
- };
- });
-
- base.run('foo');
- assert.equal(called, 0);
- cb();
- });
-
- it('should call the `use` method on the object passed to run:', function(cb)
{
- base
- .use(function() {
- return function(config) {
- config.a = 'a';
- };
- })
- .use(function() {
- return function(config) {
- config.b = 'b';
- };
- })
- .use(function() {
- return function(config) {
- config.c = 'c';
- };
- });
-
- var config = new Base();
- base.run(config);
- assert.equal(config.a, 'a');
- assert.equal(config.b, 'b');
- assert.equal(config.c, 'c');
- cb();
- });
- });
-});