diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 8d9de08..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/grunt-wrap-0.3.0.tgz -/tests-3894ad6ce5ea014b95fdf15eb8812c3640471147.tar.bz2 -/grunt-wrap-0.3.1.tgz -/tests-fb342f1781fd0fcfcd2ef6bc0b84662de4d3beb4.tar.bz2 diff --git a/.rpmlint b/.rpmlint deleted file mode 100644 index b66b3b1..0000000 --- a/.rpmlint +++ /dev/null @@ -1,5 +0,0 @@ -from Config import addFilter - - -addFilter('no-%build-section') -addFilter('only-non-binary-in-usr-lib') diff --git a/Gruntfile.js b/Gruntfile.js deleted file mode 100644 index 701d354..0000000 --- a/Gruntfile.js +++ /dev/null @@ -1,85 +0,0 @@ -module.exports = function (grunt) { - "use strict"; - var files = ['Gruntfile.js', 'tasks/**/*.js']; - //var files = ['Gruntfile.js', 'tasks/**/*.js', 'test/**/*.js']; - - var path = require('path'); - - grunt.initConfig({ - watch: { - files: files, - tasks: 'default' - }, - jshint: { - options: { - curly: true, - eqeqeq: true, - immed: true, - latedef: true, - newcap: true, - noarg: true, - sub: true, - undef: true, - boss: true, - eqnull: true, - node: true, - es5: true - }, - all: files - }, - wrap: { - basics: { - cwd: 'test/fixtures/', - src: ['**/basic*.js', 'nonexisting.js'], - dest: 'test/tmp/', - expand: true, - options: { - seperator:'\n', - indent:'/* indent */', - wrapper: [grunt.file.read('test/fixtures/header.txt'), grunt.file.read('test/fixtures/footer.txt')] - } - }, - func: { - cwd: 'test/fixtures/', - src: ['extra.js'], - dest: 'test/tmp/wrapfunction', - expand: true, - rename: function(dest, src) { - return path.join(dest, src.replace(/(\.[\w]+)$/g, '.tagged$1')); - }, - options: { - seperator:'\n', - testValue: 'yo!', - wrapper: function(filepath, options){ - var name = path.basename(filepath); - - return [ - '// ' + name + ' start ' + options.testValue, - '// ' + name + ' end' - ]; - } - } - } - }, - clean: { - test: ['test/tmp'] - }, - nodeunit: { - all: ['test/**/*_test.js'] - } - }); - - grunt.loadNpmTasks("grunt-contrib-jshint"); - grunt.loadNpmTasks("grunt-contrib-watch"); - grunt.loadNpmTasks('grunt-contrib-nodeunit'); - grunt.loadNpmTasks('grunt-contrib-clean'); - - grunt.loadTasks('tasks'); - - grunt.registerTask('default', ['test']); - grunt.registerTask('test', ['clean', 'jshint', 'wrap', 'nodeunit']); - - //editor buttons - grunt.registerTask('edit_01', ['test']); - grunt.registerTask('edit_02', ['clean']); -}; 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/dltests.sh b/dltests.sh deleted file mode 100755 index ac7189a..0000000 --- a/dltests.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -# This was borrowed from nodejs-grunt-contrib-concat - -tag=fb342f1781fd0fcfcd2ef6bc0b84662de4d3beb4 - -set -e - -tmp=$(mktemp -d) - -trap cleanup EXIT -cleanup() { - set +e - [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" -} - -unset CDPATH -pwd=$(pwd) - -pushd "$tmp" -git clone git://github.com/chrissrogers/grunt-wrap.git -cd grunt-wrap -git archive --prefix="test/" --format=tar ${tag}:test/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -popd diff --git a/nodejs-grunt-wrap.spec b/nodejs-grunt-wrap.spec deleted file mode 100644 index d3e48c2..0000000 --- a/nodejs-grunt-wrap.spec +++ /dev/null @@ -1,84 +0,0 @@ -Name: nodejs-grunt-wrap -Version: 0.3.1 -Release: 5%{?dist} -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch - -License: MIT -Summary: A Grunt plugin for wrapping project text files -URL: https://www.npmjs.com/package/grunt-wrap/ -Source0: http://registry.npmjs.org/grunt-wrap/-/grunt-wrap-%{version}.tgz -Source1: https://raw.githubusercontent.com/chrissrogers/grunt-wrap/3894ad6ce5ea014b95fdf15eb8812c3640471147/Gruntfile.js -# Source2 is generated by running dltests.sh, which pulls the tests from the upstream repository -Source2: tests-fb342f1781fd0fcfcd2ef6bc0b84662de4d3beb4.tar.bz2 - -BuildRequires: nodejs-grunt-cli -BuildRequires: nodejs-grunt-contrib-clean -BuildRequires: nodejs-grunt-contrib-nodeunit -BuildRequires: nodejs-grunt-contrib-watch -BuildRequires: nodejs-packaging - -Requires: nodejs-grunt - - -%description -A Grunt plugin for wrapping project text files. - - -%prep -%autosetup -n package -%setup -q -T -D -a 2 -n package - -cp -p %{SOURCE1} . - -# We don't need to check code style during package tests -sed -i "s/jshint', 'wrap/wrap/" Gruntfile.js - -sed -i '1 s|#!/usr/bin/env node|#!/usr/bin/node|' bin/grunt-wrap - - -%install -install -d -m 0755 %{buildroot}/%{_bindir} -install -d -m 0755 %{buildroot}/%{nodejs_sitelib} -install -d -m 0755 %{buildroot}/%{nodejs_sitelib}/grunt-wrap - -cp -a package.json tasks %{buildroot}/%{nodejs_sitelib}/grunt-wrap -install -D -p -m 0755 bin/grunt-wrap %{buildroot}/%{_bindir} - -%nodejs_symlink_deps - - -%check -%nodejs_symlink_deps --check - -grunt test - - -%files -%license LICENSE-MIT -%doc README.md -%{_bindir}/grunt-wrap -%{nodejs_sitelib}/grunt-wrap - - -%changelog -* Wed Jan 29 2020 Fedora Release Engineering - 0.3.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jul 25 2019 Fedora Release Engineering - 0.3.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 0.3.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Sun Feb 18 2018 Randy Barlow - 0.3.1-1 -- Update to 0.3.1 (#1460839). - -* Thu Feb 08 2018 Fedora Release Engineering - 0.3.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.3.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources deleted file mode 100644 index ae83728..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (grunt-wrap-0.3.1.tgz) = 4bcb12367d8b61b4d5bad472fcdef51fc38804c9388ac1fbe1073c4b60c4d8cb0e167eccac13e915af81eed4c38dd7a76a888e5a92f4ba0605b56026493d7c32 -SHA512 (tests-fb342f1781fd0fcfcd2ef6bc0b84662de4d3beb4.tar.bz2) = 260d4f24cec0ad490199066c87ec83f808908aff85dce13d7ea7f4e57226e9ea67b14538c4e94e35f41a24059a507311d61fb257871b366fad84a38aecb6b585