From eab0ab25746b4a1ee28494d7c1bec9049c9fe03a Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Aug 18 2020 12:31:19 +0000 Subject: Retired: Fails to install --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index a922e5c..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/coveralls-2.11.6.tgz diff --git a/coveralls-2.11.4-fix-should-syntax.patch b/coveralls-2.11.4-fix-should-syntax.patch deleted file mode 100644 index 38121eb..0000000 --- a/coveralls-2.11.4-fix-should-syntax.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/test/fetchGitData.js b/test/fetchGitData.js -index cd0a679..c9c2966 100644 ---- a/test/fetchGitData.js -+++ b/test/fetchGitData.js -@@ -98,14 +98,14 @@ describe("fetchGitData", function(){ - "covert": "to a string" - } - }, function(err, str){ -- str.branch.should.be.a("string"); -+ str.branch.should.be.a.String(); - fetchGitData({ - "head": { - "id": "COMMIT_HASH" - }, - "branch": ["convert", "to", "a", "string"] - }, function(err, str){ -- str.branch.should.be.a("string"); -+ str.branch.should.be.a.String(); - done(); - }); - }); -@@ -168,11 +168,11 @@ describe("fetchGitData", function(){ - process.env.COVERALLS_GIT_BRANCH = "master"; - getOptions(function(err, options){ - options = options.git; -- options.head.should.be.a("object"); -+ options.head.should.be.a.Object(); - options.head.author_name.should.not.equal("Unknown Author"); - options.head.committer_name.should.not.equal("Unknown Committer"); - options.head.message.should.not.equal("Unknown Commit Message"); -- options.branch.should.be.a("string"); -+ options.branch.should.be.a.String(); - options.should.have.property("remotes"); - options.remotes.should.be.instanceof(Array); - options.remotes.length.should.be.above(0); diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5e251b6 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Retired: Fails to install diff --git a/nodejs-coveralls.spec b/nodejs-coveralls.spec deleted file mode 100644 index 6d3f177..0000000 --- a/nodejs-coveralls.spec +++ /dev/null @@ -1,123 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename coveralls -%global enable_tests 0 -# tests disabled due to failing git tests, despite the patch to fix some of them - -Name: nodejs-coveralls -Version: 2.11.6 -Release: 10%{?dist} -Summary: Takes json-cov output into stdin and POSTs to coveralls.io - -License: BSD -URL: https://github.com/nickmerwin/node-coveralls.git -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz - -# Add a patch to fix syntax of the 'should' module. It has changed from -# should.be.a.("string") to should.be.a.String() -Patch0: coveralls-2.11.4-fix-should-syntax.patch - - -ExclusiveArch: %{nodejs_arches} noarch -BuildArch: noarch - -BuildRequires: nodejs-packaging -BuildRequires: npm(js-yaml) -BuildRequires: npm(minimist) -BuildRequires: npm(lcov-parse) -BuildRequires: npm(log-driver) -BuildRequires: npm(request) -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(sinon-restore) -%endif - -Requires: nodejs - -%description -takes json-cov output into stdin and POSTs to coveralls.io - - -%prep -%setup -q -n package -%patch0 -p1 - -%nodejs_fixdep js-yaml -%nodejs_fixdep lcov-parse '~0.0.6' -%nodejs_fixdep log-driver '~1.2.4' -%nodejs_fixdep request '^2.40.0' - -%build -# nothing to do! - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename} -cp -pr package.json *.js fixtures/ lib/ test/ \ - %{buildroot}%{nodejs_sitelib}/%{packagename} - -mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}/bin -install -p -D -m0755 bin/coveralls.js \ - %{buildroot}%{nodejs_sitelib}/%{packagename}/bin/coveralls.js - -mkdir -p %{buildroot}%{_bindir} -ln -sf %{nodejs_sitelib}/%{packagename}/bin/coveralls.js \ - %{buildroot}%{_bindir}/coveralls - - -%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 -%{nodejs_sitelib}/%{packagename} -%{_bindir}/coveralls - - - -%changelog -* Sat Aug 01 2020 Fedora Release Engineering - 2.11.6-10 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 2.11.6-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 2.11.6-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 2.11.6-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 2.11.6-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 2.11.6-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 2.11.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 2.11.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 2.11.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Jared Smith - 2.11.6-1 -- Update to upstream 2.11.6 release - -* Sat Oct 31 2015 Jared Smith - 2.11.4-2 -- Fixup dependency versions - -* Thu Oct 15 2015 Jared Smith - 2.11.4-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index 6b2d708..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -c2e25594c351ab40d65b5b7ec57fd53c coveralls-2.11.6.tgz