The package rpms/nodejs-is-descriptor.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-is-descriptor.git/commit/?id=....
Change: -ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change: ============
commit b6790d2a929d7fe2125cd62abc982087ef36e764 Author: Miro HronĨok miro@hroncok.cz Date: Mon Jan 4 11:10:34 2021 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 07c8244..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/is-descriptor-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-is-descriptor.spec b/nodejs-is-descriptor.spec deleted file mode 100644 index 434d68d..0000000 --- a/nodejs-is-descriptor.spec +++ /dev/null @@ -1,87 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename is-descriptor -%global enable_tests 1 - -Name: nodejs-is-descriptor -Version: 1.0.0 -Release: 8%{?dist} -Summary: Returns true if a value has the characteristics of a valid descriptor - -License: MIT -URL: https://github.com/jonschlinkert/is-descriptor -Source0: https://registry.npmjs.org/%%7Bpackagename%7D/-/%%7Bpackagename%7D-%%7Bversi... -# The test files are not included in the npm tarball. -Source1: https://raw.githubusercontent.com/jonschlinkert/is-descriptor/1.0.0/test.js - - -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: nodejs-packaging -BuildRequires: npm(lazy-cache) -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(is-accessor-descriptor) -BuildRequires: npm(is-data-descriptor) -%endif - -%description -Returns true if a value has the characteristics of a valid JavaScript -descriptor. Works for data descriptors and accessor descriptors. - - -%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 utils.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@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@fedoraproject.org - 1.0.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Fri Apr 14 2017 Jared Smith jsmith@fedoraproject.org - 1.0.0-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 4e6d1c2..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (is-descriptor-1.0.0.tgz) = dd4cbb31bf3f7ba6df40202e468287aae2f9c05aeeb53bc447d761af3dba17ccdf875ca03a97919e9a46d26d09b74c91b33c1da8c63dd9cf0dde6eae25274a29 diff --git a/test.js b/test.js deleted file mode 100644 index d1ed857..0000000 --- a/test.js +++ /dev/null @@ -1,94 +0,0 @@ -'use strict'; - -require('mocha'); -var assert = require('assert'); -var isDescriptor = require('./'); -var noop = function() {}; - -describe('isDescriptor', function() { - describe('value type', function() { - it('should be false when not an object:', function() { - assert(!isDescriptor('a')); - assert(!isDescriptor(null)); - assert(!isDescriptor([])); - }); - }); - - describe('check for descriptor', function() { - it('should return true if the property exists', function() { - var obj = {}; - obj.foo = null; - - Object.defineProperty(obj, 'bar', { - value: 'xyz' - }); - - Object.defineProperty(obj, 'baz', { - get: function() { - return 'aaa'; - } - }); - - assert(isDescriptor(obj, 'foo')); - assert(isDescriptor(obj, 'bar')); - assert(isDescriptor(obj, 'baz')); - }); - }); - - describe('data descriptor:', function() { - it('should be false when the object has invalid properties:', function() { - assert(!isDescriptor({value: 'foo', get: noop})); - assert(!isDescriptor({get: noop, value: noop})); - }); - - it('should not be false when the object has unrecognize properties:', function() { - assert(isDescriptor({value: 'foo', bar: 'baz'})); - assert(isDescriptor({value: 'foo', bar: 'baz'})); - }); - - it('should be true when the object has valid properties:', function() { - assert(isDescriptor({value: 'foo'})); - assert(isDescriptor({value: noop})); - }); - - it('should be false when a value is not the correct type:', function() { - assert(!isDescriptor({value: 'foo', enumerable: 'foo'})); - assert(!isDescriptor({value: 'foo', configurable: 'foo'})); - assert(!isDescriptor({value: 'foo', writable: 'foo'})); - }); - }); - - describe('accessor descriptor:', function() { - it('should be false when the object has invalid properties:', function() { - assert(!isDescriptor({get: noop, writable: true})); - assert(!isDescriptor({get: noop, value: true})); - }); - - it('should not be false when the object has unrecognize properties:', function() { - assert(isDescriptor({get: noop, set: noop, bar: 'baz'})); - }); - - it('should be false when an accessor is not a function:', function() { - assert(!isDescriptor({get: noop, set: 'baz'})); - assert(!isDescriptor({get: 'foo', set: noop})); - assert(!isDescriptor({get: 'foo', bar: 'baz'})); - assert(!isDescriptor({get: 'foo', set: 'baz'})); - }); - - it('should be false when "get" is not a function', function() { - assert(!isDescriptor({set: noop})); - assert(!isDescriptor({get: 'foo'})); - }); - - it('should be true when the object has valid properties:', function() { - assert(isDescriptor({get: noop, set: noop})); - assert(isDescriptor({get: noop})); - }); - - it('should be false when a value is not the correct type:', function() { - assert(!isDescriptor({get: noop, set: noop, enumerable: 'foo'})); - assert(!isDescriptor({set: noop, configurable: 'foo'})); - assert(!isDescriptor({get: noop, configurable: 'foo'})); - }); - }); -});