The package rpms/nodejs-minimist-options.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-minimist-options.git/commit/?....
Change: -ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change: ============
commit 85db6ea666a239a78c6904785fedd37129796849 Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Aug 8 16:08:49 2019 +0000
nodejs-minimist-options fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675514
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index bba3d2d..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/minimist-options-3.0.2.tgz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..45ea1d8 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +nodejs-minimist-options fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675514 diff --git a/nodejs-minimist-options.spec b/nodejs-minimist-options.spec deleted file mode 100644 index f51ec63..0000000 --- a/nodejs-minimist-options.spec +++ /dev/null @@ -1,77 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename minimist-options - -# Tests disabled due to missing npm(ava) test suite -%global enable_tests 0 - -Name: nodejs-minimist-options -Version: 3.0.2 -Release: 4%{?dist} -Summary: Pretty options for minimist - -License: MIT -URL: https://github.com/vadimdemedes/minimist-options.git -Source0: https://registry.npmjs.org/%%7Bpackagename%7D/-/%%7Bpackagename%7D-%%7Bversi... -# Tests not contained in NPM tarball -Source1: https://raw.githubusercontent.com/vadimdemedes/%%7Bpackagename%7D/v%%7Bversi... - - -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch - -BuildRequires: nodejs-packaging - -BuildRequires: npm(arrify) -BuildRequires: npm(is-plain-obj) -%if 0%{?enable_tests} -BuildRequires: npm(ava) -%endif - -%description -Pretty options for minimist - - -%prep -%autosetup -n package -cp -p %{SOURCE1} . - -%nodejs_fixdep is-plain-obj ~1.0.0 - - -%build -# nothing to do - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%check -%nodejs_symlink_deps --check -%{__nodejs} -e 'require("./")' -%if 0%{?enable_tests} -NODE_ENV=test %{_bindir}/ava -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - -%files -%doc *.md -%license license -%{nodejs_sitelib}/%{packagename} - -%changelog -* Thu Jul 25 2019 Fedora Release Engineering releng@fedoraproject.org - 3.0.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 3.0.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 3.0.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Mar 27 2018 jsmith jsmith.fedora@gmail.com - 3.0.2-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 4633b95..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (minimist-options-3.0.2.tgz) = 17206b4ff774778fae89945bab39cf5eac372296591b7825df0296897efce05c9c50a57006dd2e2c116442bb44e2d64eae0a3bf27669da39cacf72fae53e4b75 diff --git a/test.js b/test.js deleted file mode 100644 index 913d3e5..0000000 --- a/test.js +++ /dev/null @@ -1,136 +0,0 @@ -import test from 'ava'; -import minimistOptions from '.'; - -const validate = (t, input, expected) => { - t.deepEqual(minimistOptions(input), expected); -}; - -test('empty input', validate, {}, {}); - -test('string option', validate, { - name: 'string' -}, { - string: ['name'] -}); - -test('boolean option', validate, { - force: 'boolean' -}, { - boolean: ['force'] -}); - -test('number option', validate, { - amount: 'number' -}, {}); - -test('alias', validate, { - amount: { - alias: 'a' - } -}, { - alias: { - a: 'amount' - } -}); - -test('alias array', validate, { - amount: { - alias: ['a', 'amnt'] - } -}, { - alias: { - a: 'amount', - amnt: 'amount' - } -}); - -test('alias and string', validate, { - name: { - type: 'string', - alias: 'n' - } -}, { - string: ['name'], - alias: { - n: 'name' - } -}); - -test('alias and boolean', validate, { - force: { - type: 'boolean', - alias: 'f' - } -}, { - boolean: ['force'], - alias: { - f: 'force' - } -}); - -test('alias and number', validate, { - amount: { - type: 'number', - alias: 'a' - } -}, { - alias: { - a: 'amount' - } -}); - -test('default value', validate, { - amount: { - default: 10 - } -}, { - default: { - amount: 10 - } -}); - -test('default falsy value', validate, { - falsePrimitive: { - default: false - }, - zero: { - default: 0 - }, - empty: { - default: '' - }, - nan: { - default: NaN - }, - nullPrimitive: { - default: null - }, - undefinedPrimitive: { - default: undefined - } -}, { - default: { - falsePrimitive: false, - zero: 0, - empty: '', - nan: NaN, - nullPrimitive: null, - undefinedPrimitive: undefined - } -}); - -test('arguments type', validate, { - arguments: 'string' -}, { - string: ['_'] -}); - -test('passthrough options', validate, { - '--': true, - stopEarly: true, - unknown: true -}, { - '--': true, - stopEarly: true, - unknown: true -});
arch-excludes@lists.fedoraproject.org