diff --git a/.gitignore b/.gitignore deleted file mode 100644 index cac4092..0000000 --- a/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/fs-extra-0.8.1.tgz -/tests-v0.8.1.tar.bz2 -/fs-extra-0.26.5.tgz -/tests-0.26.5.tar.bz2 -/dl-tests.sh -/nodejs-fs-extra-0.30.0.tar.gz diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..d2947cf --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +nodejs-fs-extra fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675484 diff --git a/dl-tests.sh b/dl-tests.sh deleted file mode 100644 index 2b694f4..0000000 --- a/dl-tests.sh +++ /dev/null @@ -1,80 +0,0 @@ -#!/bin/bash - -tag=$(sed -n 's/^Version:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -url=$(sed -n 's/^URL:\s\(.*\)$/\1/p' ./*.spec | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//') -pkgdir=$(basename $url | sed -s 's/\.git$//') - -echo "tag: $tag" -echo "URL: $url" -echo "pkgdir: $pkgdir" - -set -e - -tmp=$(mktemp -d) - -trap cleanup EXIT -cleanup() { - echo Cleaning up... - set +e - [ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" -} - -unset CDPATH -pwd=$(pwd) - -pushd "$tmp" -git clone $url -cd $pkgdir -echo Finding git tag -gittag=$(git show-ref --tags | cut -d' ' -f2 | grep "${tag}$" || git show-ref --tags | cut -d' ' -f2 | sort -Vr | head -n1) -if [ -z $gittag ]; then - gittag=tags/$tag -fi -echo "Git Tag: $gittag" -if [ -d "test" ]; then - git archive --prefix='test/' --format=tar ${gittag}:test/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -elif [ -d "tests" ]; then - git archive --prefix='tests/' --format=tar ${gittag}:tests/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -elif [ -d "spec" ]; then - git archive --prefix='spec/' --format=tar ${gittag}:spec/ \ - | bzip2 > "$pwd"/tests-${tag}.tar.bz2 -else - echo "No test directory found for tag ${gittag}" -fi -if [ -d "support" ]; then - git archive --prefix='support/' --format=tar ${gittag}:support/ \ - | bzip2 > "$pwd"/support-${tag}.tar.bz2 -fi -if [ -d "fixture" ]; then - git archive --prefix='fixture/' --format=tar ${gittag}:fixture/ \ - | bzip2 > "$pwd"/fixture-${tag}.tar.bz2 -fi -if [ -d "examples" ]; then - git archive --prefix='examples/' --format=tar ${gittag}:examples/ \ - | bzip2 > "$pwd"/examples-${tag}.tar.bz2 -elif [ -d "example" ]; then - git archive --prefix='example/' --format=tar ${gittag}:example/ \ - | bzip2 > "$pwd"/examples-${tag}.tar.bz2 -fi -if [ -d "tasks" ]; then - git archive --prefix='tasks/' --format=tar ${gittag}:tasks/ \ - | bzip2 > "$pwd"/tasks-${tag}.tar.bz2 -fi -if [ -d "docs" ]; then - git archive --prefix='docs/' --format=tar ${gittag}:docs/ \ - | bzip2 > "$pwd"/docs-${tag}.tar.bz2 -elif [ -d "doc" ]; then - git archive --prefix='doc/' --format=tar ${gittag}:doc/ \ - | bzip2 > "$pwd"/docs-${tag}.tar.bz2 -fi -if [ -d "src" ]; then - git archive --prefix='src/' --format=tar ${gittag}:src/ \ - | bzip2 > "$pwd"/src-${tag}.tar.bz2 -fi -if [ -d "tools" ]; then - git archive --prefix='tools/' --format=tar ${gittag}:tools/ \ - | bzip2 > "$pwd"/tools-${tag}.tar.bz2 -fi -popd diff --git a/nodejs-fs-extra.spec b/nodejs-fs-extra.spec deleted file mode 100644 index 0adce3b..0000000 --- a/nodejs-fs-extra.spec +++ /dev/null @@ -1,125 +0,0 @@ -%global enable_tests 1 - -Name: nodejs-fs-extra -Version: 0.30.0 -Release: 9%{?dist} -Summary: A drop-in replacement for Node's native fs module with a few extra methods -License: MIT -URL: https://github.com/jprichardson/node-fs-extra -Source0: https://github.com/jprichardson/node-fs-extra/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz - -BuildArch: noarch -ExclusiveArch: %{nodejs_arches} noarch - -BuildRequires: nodejs-packaging - -BuildRequires: npm(jsonfile) -BuildRequires: npm(klaw) -BuildRequires: npm(mkdirp) -BuildRequires: npm(ncp) -BuildRequires: npm(read-dir-files) -BuildRequires: npm(rimraf) -BuildRequires: npm(secure-random) -BuildRequires: npm(semver) -%if 0%{?enable_tests} -BuildRequires: mocha -%endif - -%description -%{summary}. - - -%prep -%autosetup -n node-fs-extra-%{version} -%nodejs_fixdep klaw "^3.0.0" -#chmod 644 package.json - -%build -#nothing to do - - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/fs-extra -cp -pr package.json lib/ \ - %{buildroot}%{nodejs_sitelib}/fs-extra - -%nodejs_symlink_deps - - -%check -%nodejs_symlink_deps --check -%__nodejs -e 'require("./")' -%if 0%{?enable_tests} -# Point TMPDIR at the build directory -# -# Some of the tests copy files from the build directory to a -# temporary directory and assume that timestamps will have the -# same precision in both places but koji seems to have the build -# directory on a filesystem with only seconds precision but the -# temporary directory has milliseconds precision. -mkdir tmp -export TMPDIR=$PWD/tmp -find ./lib/**/__tests__ -name *.test.js | xargs mocha -%endif - - -%files -%doc CHANGELOG.md README.md -%license LICENSE -%{nodejs_sitelib}/fs-extra - - -%changelog -* Thu Aug 1 2019 Tom Hughes - 0.30.0-9 -- Update npm(klaw) dependency - -* Thu Jul 25 2019 Fedora Release Engineering - 0.30.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 0.30.0-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 0.30.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 0.30.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.30.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Mon Jun 26 2017 Tom Hughes - 0.30.0-3 -- Update npm(klaw) dependency - -* Fri Feb 10 2017 Fedora Release Engineering - 0.30.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Aug 29 2016 Piotr Popieluch - - 0.30.0-1 -- Update to 0.30 - -* Sat Feb 20 2016 Jared Smith - 0.26.5-1 -- Update to upstream 0.26.5 release - -* Thu Feb 04 2016 Fedora Release Engineering - 0.8.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Sun Jan 17 2016 Tom Hughes - 0.8.1-7 -- Update npm(rimraf) dependency - -* Fri Jan 1 2016 Tom Hughes - 0.8.1-6 -- Update npm(mkdirp) dependency - -* Wed Jun 17 2015 Fedora Release Engineering - 0.8.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 0.8.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Apr 26 2014 Jamie Nguyen - 0.8.1-3 -- fix version of npm(ncp) dependency - -* Wed Apr 23 2014 Jamie Nguyen - 0.8.1-2 -- fix version of npm(ncp) dependency - -* Sat Apr 19 2014 Jamie Nguyen - 0.8.1-1 -- initial package diff --git a/sources b/sources deleted file mode 100644 index 2537108..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -1e346b573da0d8f3876e048fb843c401 nodejs-fs-extra-0.30.0.tar.gz