diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 29c6bf5..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/lex-parser-0.1.4.tgz -/lex-parser-f75c7db.tar.gz diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index e273feb..0000000 --- a/LICENSE.md +++ /dev/null @@ -1,38 +0,0 @@ -MIT License ------------ - -> Copyright (c) 2009-2014 Zachary Carter -> -> Permission is hereby granted, free of -> charge, to any person obtaining a -> copy of this software and associated -> documentation files (the "Software"), -> to deal in the Software without -> restriction, including without -> limitation the rights to use, copy, -> modify, merge, publish, distribute, -> sublicense, and/or sell copies of the -> Software, and to permit persons to -> whom the Software is furnished to do -> so, subject to the following -> conditions: -> -> The above copyright notice and this -> permission notice shall be included -> in all copies or substantial portions -> of the Software. -> -> THE SOFTWARE IS PROVIDED "AS IS", -> WITHOUT WARRANTY OF ANY KIND, EXPRESS -> OR IMPLIED, INCLUDING BUT NOT LIMITED -> TO THE WARRANTIES OF MERCHANTABILITY, -> FITNESS FOR A PARTICULAR PURPOSE AND -> NONINFRINGEMENT. IN NO EVENT SHALL THE -> AUTHORS OR COPYRIGHT HOLDERS BE -> LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -> LIABILITY, WHETHER IN AN ACTION OF -> CONTRACT, TORT OR OTHERWISE, ARISING -> FROM, OUT OF OR IN CONNECTION WITH THE -> SOFTWARE OR THE USE OR OTHER DEALINGS -> IN THE SOFTWARE. - diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..886f286 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +nodejs-lex-parser fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675509 diff --git a/nodejs-lex-parser.spec b/nodejs-lex-parser.spec deleted file mode 100644 index 3eeab29..0000000 --- a/nodejs-lex-parser.spec +++ /dev/null @@ -1,113 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -# The JavaScript code provided by this package is generated with nodejs-jison, -# nodejs-jison has a dependency on this package. To overcome this circular -# dependency we first ship with pre-generated code from npm sources by setting -# '%%global bootstrap 1'. After nodejs-jison is built we rebuild this package -# from github sources with '%%global bootstrap 0'. -%{!?_with_bootstrap: %global bootstrap 1} - -%global commit0 f75c7db2e2a176f618ccd354e1897ed73d8fdb40 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) -%global owner zaach -%global srcname lex-parser - -%global packagename lex-parser -%global enable_tests 1 - -Name: nodejs-lex-parser -Version: 0.1.4 -Release: 8%{?dist} -Summary: A parser for lexical grammars used by jison - -License: MIT -URL: https://github.com/zaach/lex-parser.git -# Source0 only contains generated JavaScript, needed for bootstrapping -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz -# Source1 only contains sourcecode which is needed to rebuild after bootstrapping jison -Source1: https://github.com/%{owner}/%{srcname}/archive/%{commit0}.tar.gz#/%{srcname}-%{shortcommit0}.tar.gz -Source2: LICENSE.md -# upstream license file requested at https://github.com/zaach/lex-parser/issues/7 - -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: npm(test) -%endif - -%if ! 0%{?bootstrap} -BuildRequires: npm(jison) -%endif - -%description -A parser for lexical grammars used by jison - - -%prep -%if 0%{?bootstrap} -%setup -q -n package -%else -%setup -q -n %{srcname}-%{commit0} -%endif -cp -p %{SOURCE2} . - - -%build -%if ! 0%{?bootstrap} -%{__nodejs} ./node_modules/.bin/jison lex.y lex.l -mv lex.js lex-parser.js -%endif - - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -%nodejs_symlink_deps - -%if 0%{?enable_tests} -%check -%nodejs_symlink_deps --check -%{__nodejs} tests/all-tests.js -%endif - - -%files -%{!?_licensedir:%global license %doc} -%doc README.md -%license LICENSE.md -%{nodejs_sitelib}/%{packagename} - - -%changelog -* Thu Jul 25 2019 Fedora Release Engineering - 0.1.4-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 0.1.4-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.1.4-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 0.1.4-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 0.1.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 0.1.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 0.1.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Nov 24 2015 Jared Smith - 0.1.4-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index f9b8aa3..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -688d07d65033287f59bfc9f3b758e922 lex-parser-0.1.4.tgz -033268b088b9b5833847dfd5636cd2d1 lex-parser-f75c7db.tar.gz