The package rpms/nodejs-is-absolute.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-absolute.git/commit/?id=10....
Change: -ExclusiveArch: %{ix86} x86_64 %{arm} noarch
Thanks.
Full change: ============
commit 10f054e4d6a43799b861932e67a938e2197e5da5 Author: Fedora Release Engineering releng@fedoraproject.org Date: Thu Aug 8 16:07:12 2019 +0000
nodejs-is-absolute fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675503
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index d3f551a..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/is-absolute-0.2.3.tgz -/is-absolute-0.2.5.tgz -/is-absolute-1.0.0.tgz -/test.js diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..151bfb3 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +nodejs-is-absolute fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675503 diff --git a/nodejs-is-absolute.spec b/nodejs-is-absolute.spec deleted file mode 100644 index c88e952..0000000 --- a/nodejs-is-absolute.spec +++ /dev/null @@ -1,104 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename is-absolute -%global enable_tests 1 - -Name: nodejs-is-absolute -Version: 1.0.0 -Release: 4%{?dist} -Summary: Returns true if a file path is absolute - -License: MIT -URL: https://github.com/jonschlinkert/is-absolute -Source0: https://registry.npmjs.org/%%7Bpackagename%7D/-/%%7Bpackagename%7D-%%7Bversi... -# The test files are not included in the npm tarball, and haven't been tagged for version 0.2.5 -Source1: https://raw.githubusercontent.com/jonschlinkert/is-absolute/%%7Bversion%7D/t... - - -BuildArch: noarch -%if 0%{?fedora} >= 19 -ExclusiveArch: %{nodejs_arches} noarch -%else -ExclusiveArch: %{ix86} x86_64 %{arm} noarch -%endif - -BuildRequires: nodejs-packaging -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(is-relative) -BuildRequires: npm(is-windows) -%endif - -%description -Returns true if a file path is absolute. - - -%prep -%setup -q -n package -# setup the tests -cp -p %{SOURCE1} . - -%nodejs_fixdep is-windows - - -%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} -/usr/bin/mocha -R spec -%else -%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" -%endif - - -%files -%{!?_licensedir:%global license %doc} -%doc *.md -%license LICENSE -%{nodejs_sitelib}/%{packagename} - - - -%changelog -* Thu Jul 25 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering releng@fedoraproject.org - 1.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue May 01 2018 Jared K. Smith jsmith@fedoraproject.org - 1.0.0-1 -- Update to upstream 1.0.0 release - -* Thu Feb 08 2018 Fedora Release Engineering releng@fedoraproject.org - 0.2.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering releng@fedoraproject.org - 0.2.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering releng@fedoraproject.org - 0.2.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 26 2016 Jared Smith jsmith@fedoraproject.org - 0.2.5-1 -- Update to upstream 0.2.5 release - -* Thu Feb 04 2016 Fedora Release Engineering releng@fedoraproject.org - 0.2.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sat Dec 26 2015 Jared Smith jsmith@fedoraproject.org - 0.2.3-3 -- Update and enable tests - -* Wed Dec 16 2015 Jared Smith jsmith@fedoraproject.org - 0.2.3-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 76f6682..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (is-absolute-1.0.0.tgz) = 74e5a8a9f96f73274045adfad06befd7c0d9fe046e1ca8b6354ff05395f5645cdd61f1f6f67922359b05de6a78389dc7e32a3d331f00fee006373a733cddf204 -SHA512 (test.js) = 0b82d084d17d9a15011b7630e7d2a2ca8630453766f51edf38877274647641a71f7c273d2acf494d8b8a521af355f2ffcb92e6cddbfdb5bd5287e271b35b30fd diff --git a/test.js b/test.js deleted file mode 100644 index 3c11f7c..0000000 --- a/test.js +++ /dev/null @@ -1,87 +0,0 @@ -'use strict'; - -require('mocha'); -var path = require('path'); -var assert = require('assert'); -var isAbsolute = require('./'); - -if (!path.posix) { - path.posix = {}; - path.posix.isAbsolute = isAbsolute.posix; -} -if (!path.win32) { - path.win32 = {}; - path.win32.isAbsolute = isAbsolute.win32; -} - -describe('isAbsolute()', function() { - it('should throw an error when the value is not a string.', function() { - assert.throws(function() { - isAbsolute(); - }, 'isAbsolute expects a string.'); - }); - - it('should pass all node native `path.win32.isAbsolute` tests:', function() { - assert.equal(path.win32.isAbsolute('//server/file'), true); - assert.equal(path.win32.isAbsolute('\\server\file'), true); - assert.equal(path.win32.isAbsolute('C:/Users/'), true); - assert.equal(path.win32.isAbsolute('C:\Users\'), true); - assert.equal(path.win32.isAbsolute('C:cwd/another'), false); - assert.equal(path.win32.isAbsolute('C:cwd\another'), false); - assert.equal(path.win32.isAbsolute('directory/directory'), false); - assert.equal(path.win32.isAbsolute('directory\directory'), false); - }); - - it('should pass all node native `path.posix.isAbsolute` tests:', function() { - assert.equal(path.posix.isAbsolute('/home/foo'), true); - assert.equal(path.posix.isAbsolute('/home/foo/..'), true); - assert.equal(path.posix.isAbsolute('bar/'), false); - assert.equal(path.posix.isAbsolute('./baz'), false); - }); - - it('should return true for absolute paths', function() { - assert.equal(isAbsolute(__dirname), true); - assert.equal(isAbsolute(__filename), true); - assert.equal(isAbsolute(path.join(process.cwd())), true); - assert.equal(isAbsolute(path.resolve(process.cwd(), 'README.md')), true); - assert.equal(isAbsolute('/foo/a/b/c/d'), true); - assert.equal(isAbsolute('/foo'), true); - }); - - it('should return false for relative paths', function() { - assert.equal(isAbsolute('a/b/c.js'), false); - assert.equal(isAbsolute('./foo'), false); - assert.equal(isAbsolute(path.relative(process.cwd(), 'README.md')), false); - }); - - it('should work with glob patterns', function() { - assert.equal(isAbsolute(path.join(process.cwd(), 'pages/*.txt')), true); - assert.equal(isAbsolute('pages/*.txt'), false); - }); - - it('should support windows', function() { - assert.equal(isAbsolute.win32('c:\'), true); - assert.equal(isAbsolute.win32('//C://user\docs\Letter.txt'), true); - assert.equal(isAbsolute.win32('a:foo/a/b/c/d'), false); - assert.equal(isAbsolute.win32(':\'), false); - assert.equal(isAbsolute.win32('foo\bar\baz'), false); - assert.equal(isAbsolute.win32('foo\bar\baz\'), false); - assert.equal(isAbsolute.win32('\\unc\share'), true); - assert.equal(isAbsolute.win32('\\unc\share\foo'), true); - assert.equal(isAbsolute.win32('\\unc\share\foo\'), true); - assert.equal(isAbsolute.win32('\\unc\share\foo\bar'), true); - assert.equal(isAbsolute.win32('\\unc\share\foo\bar\'), true); - assert.equal(isAbsolute.win32('\\unc\share\foo\bar\baz'), true); - }); - - it('should support windows unc', function() { - assert.equal(isAbsolute.win32('\\foo\bar'), true); - assert.equal(isAbsolute.win32('//UNC//Server01//user//docs//Letter.txt'), true); - }); - - it('should support unices', function() { - assert.equal(isAbsolute.posix('/foo/bar'), true); - assert.equal(isAbsolute.posix('foo/bar'), false); - assert.equal(isAbsolute.posix('/user/docs/Letter.txt'), true); - }); -});
arch-excludes@lists.fedoraproject.org