The package rpms/nodejs-spdx-expression-parse.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-spdx-expression-parse.git/....
Change:
-ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 89225c87278f503758e50602b3ce070371a10ea7
Author: Miro Hronok <miro(a)hroncok.cz>
Date: Mon Dec 24 12:46:31 2018 +0100
Orphaned for 6+ weeks
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 1d677e9..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/spdx-expression-parse-1.0.2.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/generate-parser.js b/generate-parser.js
deleted file mode 100644
index bcb2e4e..0000000
--- a/generate-parser.js
+++ /dev/null
@@ -1,87 +0,0 @@
-var Generator = require('jison').Generator
-var options = {
- type: 'slr',
- moduleType: 'commonjs',
- moduleName: 'spdxparse' }
-
-var words = [ 'AND', 'OR', 'WITH' ]
-
-var quote = function(argument) {
- return '\'' + argument + '\'' }
-
-var regexEscape = function(s) {
- return s.replace(/[\^\\$*+?.()|{}\[\]\/]/g, '\\$&') }
-
-var handleLicensesAndExceptions = function() {
- var ids = require('spdx-license-ids')
- var exceptions = require('spdx-exceptions')
-
- // Sort tokens longest-first (both license ids and exception strings)
- var tokens = ids.concat(exceptions)
- tokens.sort(function(a, b) { return ( b.length - a.length ) })
- return tokens.map(function(t) {
- var type = ( (ids.indexOf(t) >= 0) ? 'LICENSE' : 'EXCEPTION' )
- return [ regexEscape(t), ( 'return ' + quote(type) ) ] }) }
-
-var grammar = {
- lex: {
- macros: { },
- rules: [
- [ '$', 'return ' + quote('EOS') ],
- [ '\\s+', '/* skip whitespace */' ],
- [ '\\+', 'return ' + quote('PLUS') ],
- [ '\\(', 'return ' + quote('OPEN') ],
- [ '\\)', 'return ' + quote('CLOSE') ],
- [ ':', 'return ' + quote('COLON') ],
- [ 'DocumentRef-([0-9A-Za-z-+.]+)',
- 'return ' + quote('DOCUMENTREF') ],
- [ 'LicenseRef-([0-9A-Za-z-+.]+)',
- 'return ' + quote('LICENSEREF') ] ]
- .concat(words.map(function(word) {
- return [ word, 'return ' + quote(word) ] }))
- .concat(handleLicensesAndExceptions()) },
- operators: [
- [ 'left', 'OR' ],
- [ 'left', 'AND' ],
- [ 'right', 'PLUS', 'WITH' ] ],
- tokens: [
- 'CLOSE',
- 'COLON',
- 'EXCEPTION',
- 'LICENSE',
- 'LICENSEREF',
- 'OPEN',
- 'PLUS' ]
- .concat(words)
- .join(' '),
- start: 'start',
- bnf: {
- start: [
- [ 'expression EOS', 'return $$ = $1' ] ],
- simpleExpression: [
- [ 'LICENSE',
- '$$ = { license: yytext }' ],
- [ 'LICENSE PLUS',
- '$$ = { license: $1, plus: true }' ],
- [ 'LICENSEREF',
- '$$ = { license: yytext }' ],
- [ 'DOCUMENTREF COLON LICENSEREF',
- '$$ = { license: yytext }' ] ],
- expression: [
- [ 'simpleExpression',
- '$$ = $1' ],
- [ 'simpleExpression WITH EXCEPTION',
- [ '$$ = { exception: $3 }',
- '$$.license = $1.license',
- 'if ($1.hasOwnProperty(\'plus\')) {',
- ' $$.plus = $1.plus',
- '}' ]
- .join('\n') ],
- [ 'expression AND expression',
- '$$ = { conjunction: \'and\', left: $1, right: $3 }' ],
- [ 'expression OR expression',
- '$$ = { conjunction: \'or\', left: $1, right: $3 }' ],
- [ 'OPEN expression CLOSE',
- '$$ = $2' ] ] } }
-
-console.log(new Generator(grammar, options).generate())
diff --git a/nodejs-spdx-expression-parse.spec b/nodejs-spdx-expression-parse.spec
deleted file mode 100644
index a3d590e..0000000
--- a/nodejs-spdx-expression-parse.spec
+++ /dev/null
@@ -1,99 +0,0 @@
-%{?nodejs_find_provides_and_requires}
-
-%global packagename spdx-expression-parse
-%global enable_tests 1
-
-Name: nodejs-spdx-expression-parse
-Version: 1.0.2
-Release: 7%{?dist}
-Summary: Parse SPDX license expressions
-
-License: MIT and CC-BY
-URL:
https://github.com/kemitchell/spdx-expression-parse.js.git
-Source0:
https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
-Source1:
https://raw.githubusercontent.com/kemitchell/spdx-expression-parse.js/v%{...
-# the package is actually precompiled from this source file, which isn't included
-# in the NPM tarball
-
-ExclusiveArch: %{nodejs_arches} noarch
-BuildArch: noarch
-
-BuildRequires: nodejs-packaging
-BuildRequires: uglify-js
-BuildRequires: npm(jison)
-BuildRequires: npm(spdx-license-ids)
-BuildRequires: npm(spdx-exceptions)
-
-%if 0%{?enable_tests}
-# BuildRequres for tests go here
-%endif
-
-Requires: nodejs
-
-%description
-Parse SPDX license expressions
-
-
-%prep
-%setup -q -n package
-cp -p %{SOURCE1} .
-# remove pre-compiled version
-rm parser.generated.js
-
-
-%build
-# We need to symlink the dependencies in %%build instead of %%check
-# so that we can generate the minified JavaScript
-%nodejs_symlink_deps --check
-%__nodejs generate-parser.js | %{_bindir}/uglifyjs > parser.generated.js
-
-%install
-mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
-cp -pr package.json *.js \
- %{buildroot}%{nodejs_sitelib}/%{packagename}
-
-%nodejs_symlink_deps
-
-%check
-# %nodejs_symlink_deps --check
-# We already symlinked the deps in %%build, so we don't need to
-# do it in %%check again. (It just creates noise in the build logs)
-%{__nodejs} -e 'require("./")'
-%if 0%{?enable_tests}
-# test suite goes here
-echo "There are no tests..."
-%endif
-
-
-%files
-%{!?_licensedir:%global license %doc}
-%doc *.md
-%license LICENSE
-%{nodejs_sitelib}/%{packagename}
-
-
-
-%changelog
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-7
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-6
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Thu Jul 27 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-5
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-4
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 1.0.2-3
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Wed Jan 13 2016 Stephen Gallagher <sgallagh(a)redhat.com> - 1.0.2-2
-- Properly BuildRequires: spdx-license-ids and spdx-exceptions
-
-* Mon Dec 14 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.2-1
-- Update to upstream 1.0.2 release
-
-* Mon Oct 26 2015 Jared Smith <jsmith(a)fedoraproject.org> - 1.0.0-1
-- Initial packaging
diff --git a/sources b/sources
deleted file mode 100644
index 66e65ce..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-7ab6fd7c5229496f083d4fd6b4a03f30 spdx-expression-parse-1.0.2.tgz