From 6f2fdbe0a8e938cb2eff8c975571e150f7d5ca10 Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Jan 04 2021 11:30:07 +0000 Subject: Orphaned for 6+ weeks --- diff --git a/.gitignore b/.gitignore deleted file mode 100644 index cecf439..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/extend-shallow-2.0.1.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-extend-shallow.spec b/nodejs-extend-shallow.spec deleted file mode 100644 index def3dd4..0000000 --- a/nodejs-extend-shallow.spec +++ /dev/null @@ -1,102 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -%global packagename extend-shallow -%global enable_tests 1 - -Name: nodejs-extend-shallow -Version: 2.0.1 -Release: 10%{?dist} -Summary: Extend an object with the properties of additional objects - -License: MIT -URL: https://github.com/jonschlinkert/extend-shallow.git -Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz -# The test files are not included in the npm tarball. -Source1: https://raw.githubusercontent.com/jonschlinkert/extend-shallow/2.0.1/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(is-extendable) -%if 0%{?enable_tests} -BuildRequires: mocha -BuildRequires: npm(should) -%endif - -%description -Extend an object with the properties of additional objects. A node.js/javascript -utility. - - -%prep -%setup -q -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} -%{_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 - 2.0.1-10 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jul 28 2020 Fedora Release Engineering - 2.0.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed Jan 29 2020 Fedora Release Engineering - 2.0.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 2.0.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 2.0.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 2.0.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 2.0.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 2.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 2.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Sat Feb 20 2016 Jared Smith - 2.0.1-1 -- Initial packaging diff --git a/sources b/sources deleted file mode 100644 index eeb45ba..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -5c9316b33e9363368f4468595c700044 extend-shallow-2.0.1.tgz diff --git a/test.js b/test.js deleted file mode 100644 index 83260d5..0000000 --- a/test.js +++ /dev/null @@ -1,68 +0,0 @@ -/*! - * extend-shallow - * - * Copyright (c) 2014-2015, Jon Schlinkert. - * Licensed under the MIT License. - */ - -'use strict'; - -/* deps: mocha */ -var path = require('path'); -var argv = require('minimist')(process.argv.slice(2)); -var extend = require('./'); -require('should'); - -if (argv && argv.lib) { - extend = require(path.resolve('benchmark/code', argv.lib)); -} - -describe('extend', function () { - it('should extend the first object with the properties of the other objects.', function () { - extend({a: 'b'}, {c: 'd'}).should.eql({a: 'b', c: 'd'}); - extend({a: 'b', c: 'd'}, {c: 'e'}).should.eql({a: 'b', c: 'e'}); - }); - - it('should skip over non-plain objects.', function () { - extend({a: 'b'}, 'foo', {c: 'd'}).should.eql({a: 'b', c: 'd'}); - extend({a: 'b'}, null, {c: 'd'}).should.eql({a: 'b', c: 'd'}); - extend({a: 'b'}, new Date(), {c: 'd'}).should.eql({a: 'b', c: 'd'}); - extend({a: 'b', c: 'd'}, 'bar', {c: 'e'}).should.eql({a: 'b', c: 'e'}); - }); - - it('should extend a regex.', function () { - var fixture = /foo/; - extend(fixture, {a: 'b'}, new Date(), {c: 'd'}); - fixture.a.should.equal('b'); - fixture.c.should.equal('d'); - }); - - it('should extend a function.', function () { - var fixture = function() {}; - extend(fixture, {a: 'b'}, new Date(), {c: 'd'}); - fixture.a.should.equal('b'); - fixture.c.should.equal('d'); - }); - - it('should extend an array.', function () { - var arr = []; - extend(arr, {a: 'b'}, new Date(), {c: 'd'}); - arr.a.should.equal('b'); - arr.c.should.equal('d'); - }); - - it('should return an empty object when args are undefined.', function () { - extend(null).should.eql({}); - extend(undefined).should.eql({}); - }); - - describe('.extend():', function () { - it('should extend object a with object b:', function () { - extend({a: {b: 'b'}}, {b: {c: 'c'}}).should.eql({a: {b: 'b'}, b: {c: 'c'}}); - }); - - it('should return an empty object when args are undefined:', function () { - extend().should.eql({}); - }); - }); -});