The package rpms/nodejs-detect-file.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-detect-file.git/commit/?id....
Change:
-ExclusiveArch: %{ix86} x86_64 %{arm} noarch
Thanks.
Full change:
============
commit e2400f80fa5d2a2c2af534d35ebe54b8d183ff42
Author: Miro Hrončok <miro(a)hroncok.cz>
Date: Mon Jan 4 10:57:23 2021 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 29abc08..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/detect-file-0.1.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-detect-file.spec b/nodejs-detect-file.spec
deleted file mode 100644
index 9759dd4..0000000
--- a/nodejs-detect-file.spec
+++ /dev/null
@@ -1,98 +0,0 @@
-%{?nodejs_find_provides_and_requires}
-
-%global packagename detect-file
-%global enable_tests 1
-
-Name: nodejs-detect-file
-Version: 0.1.0
-Release: 10%{?dist}
-Summary: Detect if a filepath exists and resolves the full filepath
-
-License: MIT
-URL:
https://github.com/doowb/detect-file.git
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-# The test files are not included in the npm tarball.
-# Also, releases aren't tagged in GitHub, so pull from master branch
-Source1:
https://raw.githubusercontent.com/doowb/detect-file/master/test.js
-
-
-BuildArch: noarch
-%if 0%{?fedora} >= 19
-ExclusiveArch: %{nodejs_arches} noarch
-%else
-ExclusiveArch: %{ix86} x86_64 %{arm} noarch
-%endif
-
-BuildRequires: nodejs-packaging
-BuildRequires: npm(fs-exists-sync)
-
-%if 0%{?enable_tests}
-BuildRequires: mocha
-%endif
-
-%description
-Detect if a filepath exists and resolves the full filepath.
-
-
-%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 \
- %{buildroot}%{nodejs_sitelib}/%{packagename}
-
-%nodejs_symlink_deps
-
-%check
-%nodejs_symlink_deps --check
-%{__nodejs} -e 'require("./")'
-%if 0%{?enable_tests}
-mkdir fixtures
-NODE_ENV=test %{_bindir}/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
-* Sat Aug 01 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-10
-- Second attempt - Rebuilt for
-
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-9
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-8
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.1.0-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Tue Jul 26 2016 Jared Smith <jsmith(a)fedoraproject.org> - 0.1.0-1
-- Initial packaging
diff --git a/sources b/sources
deleted file mode 100644
index f637d31..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-6de1d5fd3d13a8885b86b8fac9c005e1 detect-file-0.1.0.tgz
diff --git a/test.js b/test.js
deleted file mode 100644
index 6b5ee60..0000000
--- a/test.js
+++ /dev/null
@@ -1,56 +0,0 @@
-'use strict';
-
-require('mocha');
-var path = require('path');
-var assert = require('assert');
-var detect = require('./');
-var isLinux = process.platform === 'linux';
-
-describe('detect', function() {
- it('should export a function', function() {
- assert.equal(typeof detect, 'function');
- });
-
- it('should be truthy a file exists', function() {
- assert(detect('README.md'));
- assert(detect('LICENSE'));
- });
-
- it('should not be case sensitive', function() {
- assert(detect('readme.md', {nocase: isLinux}));
- assert(detect('license', {nocase: isLinux}));
- });
-
- it('should return filepath when a file exists', function() {
- assert.equal(detect('README.md'), path.resolve('README.md'));
- assert.equal(detect('LICENSE'), path.resolve('LICENSE'));
- });
-
- it('should handle case sensitive names on linux', function() {
- assert.equal(detect('readme.md', {nocase: true}), path.resolve(isLinux ?
'README.md' : 'readme.md'));
- assert.equal(detect('license', {nocase: true}), path.resolve(isLinux ?
'LICENSE' : 'license'));
-
- if (isLinux) {
- assert(!detect('readme.md'), 'expected null when not using the
sensitive flag on linux');
- assert(!detect('license'), 'expected null when not using the sensitive
flag on linux');
- }
- });
-
- it('should return resolve filepath for directories', function() {
- assert(detect('.'));
- assert(detect('fixtures'));
- assert(detect(process.cwd()));
- });
-
- it('should return null when a file does not exist', function() {
- assert(!detect());
- assert(!detect(''));
- assert(!detect('foofofo'));
- assert(!detect('foofofo.txt'));
- });
-
- it('should return null when a directory does not exist', function() {
- assert(!detect('lib/'));
- assert(!detect('whatever/'));
- });
-});