The package rpms/nodejs-define-property.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-define-property.git/commit....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit efe5a163ce367190e5ff571b92a015a58b803935
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Fri Dec 11 15:20:11 2020 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 9acc6d1..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,4 +0,0 @@
-/define-property-1.0.0.tgz
-/define-property-2.0.2.tgz
-/test.js
-/dl-tests.sh
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 8461795..0000000
--- a/dl-tests.sh
+++ /dev/null
@@ -1,131 +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
-if [ -d "rollup" ]; then
- git archive --prefix='rollup/' --format=tar ${gittag}:rollup/ \
- | bzip2 > "$pwd"/rollup-${tag}.tar.bz2
-fi
-popd
diff --git a/nodejs-define-property.spec b/nodejs-define-property.spec
deleted file mode 100644
index 4ab39d2..0000000
--- a/nodejs-define-property.spec
+++ /dev/null
@@ -1,100 +0,0 @@
-%{?nodejs_find_provides_and_requires}
-
-%global packagename define-property
-%global enable_tests 1
-
-Name: nodejs-define-property
-Version: 2.0.2
-Release: 7%{?dist}
-Summary: Define a non-enumerable property on an object
-
-License: MIT
-URL:
https://github.com/jonschlinkert/define-property
-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/define-property/%{version...
-
-Source10: dl-tests.sh
-
-
-ExclusiveArch: %{nodejs_arches} noarch
-BuildArch: noarch
-
-BuildRequires: nodejs-packaging
-BuildRequires: npm(is-descriptor)
-BuildRequires: npm(isobject)
-%if 0%{?enable_tests}
-BuildRequires: mocha
-BuildRequires: npm(should)
-%endif
-
-%description
-Define a non-enumerable property on an object.
-
-
-%prep
-%autosetup -n package
-# setup the tests
-cp -p %{SOURCE1} .
-
-%nodejs_fixdep is-descriptor
-%nodejs_fixdep should
-
-%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 --require should
-%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> - 2.0.2-7
-- Second attempt - Rebuilt for
-
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 2.0.2-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Wed Apr 18 2018 Jared K. Smith <jsmith(a)fedoraproject.org> - 2.0.2-1
-- Update to upstream 2.0.2 release
-
-* 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 Aug 18 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-1
-- Update to upstream 1.0.0 release
-
-* Fri Apr 14 2017 Jared Smith <jsmith(a)fedoraproject.org> - 0.2.5-2
-- Relax dependency on version of npm(is-descriptor)
-
-* Fri Apr 14 2017 Jared Smith <jsmith(a)fedoraproject.org> - 0.2.5-1
-- Initial packaging
diff --git a/sources b/sources
deleted file mode 100644
index 93f4d8f..0000000
--- a/sources
+++ /dev/null
@@ -1,3 +0,0 @@
-SHA512 (define-property-2.0.2.tgz) =
8f02b6515e1c9cfa5b706efe55101129364f516a30c1703c6f31f934feae774a1e031c983ee1995000bb84cba0a42773e01792665d8397d93ae821c9ff8e9961
-SHA512 (test.js) =
9fc9c7562d8c03876a5197a95aa64b40c1a942705e4e2604171f8cd01248f89c6254f26d8ccb93dc037bb0eeb94014d57c3e7fa0be35d4f85016510349c4f175
-SHA512 (dl-tests.sh) =
92bd8464ae74490a9d88072c7ca2653789d0c7a44590dea6ee2acef9119519daa3442c497852d2434a8cc2f03518b9c5c4d6eb907e0596aba71a256e68342dc2
diff --git a/test.js b/test.js
deleted file mode 100644
index 6ade2db..0000000
--- a/test.js
+++ /dev/null
@@ -1,113 +0,0 @@
-'use strict';
-
-require('mocha');
-var assert = require('assert');
-var define = require('./');
-
-describe('define', function() {
- it('should define a property and make it non-enumerable:', function() {
- var obj = {};
- define(obj, 'foo', function(val) {
- return val.toUpperCase();
- });
-
- assert.deepEqual(obj, {});
- assert.equal(obj.foo('bar'), 'BAR');
- });
-
- it('should allow any arbitrary value to be assigned:', function() {
- var obj = {};
- define(obj, 'foo', null);
- define(obj, 'bar');
- define(obj, 'baz', {});
- assert.equal(obj.foo, null);
- assert.equal(obj.bar, undefined);
- assert.deepEqual(obj.baz, {});
- });
-
- it('should define a property with accessor descriptors:', function() {
- var obj = {bar: 'baz'};
- define(obj, 'foo', {
- configurable: true,
- get: function() {
- return this._val;
- },
- set: function(key) {
- define(this, '_val', this[key]);
- }
- });
- obj.foo = 'bar';
- assert.equal(obj.foo, 'baz');
- });
-
- it('should define a property on a function', function() {
- function fixture() {}
- fixture.bar = 'baz';
- define(fixture, 'foo', {
- configurable: true,
- set: function(key) {
- define(this, '_val', this[key]);
- },
- get: function() {
- return this._val;
- }
- });
- fixture.foo = 'bar';
- assert.equal(fixture.foo, 'baz');
- });
-
- it('should define a property on an array', function() {
- var fixture = [];
- fixture.bar = 'baz';
- define(fixture, 'foo', {
- configurable: true,
- set: function(key) {
- define(this, '_val', this[key]);
- },
- get: function() {
- return this._val;
- }
- });
- fixture.foo = 'bar';
- assert.equal(fixture.foo, 'baz');
- });
-
- it('should define a property on an error', function() {
- var fixture = new Error('fixture error');
- fixture.bar = 'baz';
- define(fixture, 'foo', {
- configurable: true,
- set: function(key) {
- define(this, '_val', this[key]);
- },
- get: function() {
- return this._val;
- }
- });
- fixture.foo = 'bar';
- assert.equal(fixture.foo, 'baz');
- });
-
- it('should define a property with data descriptors:', function() {
- var obj = {};
- define(obj, 'foo', {
- writable: true,
- value: 'bar'
- });
- assert.equal(obj.foo, 'bar');
- });
-
- it('should throw an error when invalid args are passed:', function() {
- assert.throws(function() {
- define(null, 'foo');
- }, /expected an object, function, or array/);
-
- assert.throws(function() {
- define();
- }, /expected an object, function, or array/);
-
- assert.throws(function() {
- define({});
- }, /expected "key" to be a string/);
- });
-});