diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 51639a8..0000000 --- a/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/monocle-1.1.51.tgz -/tests-00ccc2a0454058f0cd1964d0703d8322f78af049.tar.bz2 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..c8831a5 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +nodejs-monocle fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1675516 diff --git a/dl-tests.sh b/dl-tests.sh deleted file mode 100644 index 20a2963..0000000 --- a/dl-tests.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -commit=00ccc2a0454058f0cd1964d0703d8322f78af049 - -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/samccone/monocle.git -cd monocle -git archive --format=tar ${commit} test/ \ - | bzip2 > "$pwd"/tests-${commit}.tar.bz2 -popd diff --git a/nodejs-monocle.spec b/nodejs-monocle.spec deleted file mode 100644 index cdf4928..0000000 --- a/nodejs-monocle.spec +++ /dev/null @@ -1,115 +0,0 @@ -%{?nodejs_find_provides_and_requires} - -# tests have circular dependency (mocha -> jade -> monocle) -%global enable_tests 1 - -Name: nodejs-monocle -Version: 1.1.51 -Release: 15%{?dist} -Summary: A tool for watching directories for file changes -License: BSD -URL: https://github.com/samccone/monocle -Source0: https://registry.npmjs.org/monocle/-/monocle-%{version}.tgz -# The test files are not included in the npm tarball. -# Source1 is generated by running Source10, which pulls from the upstream -# version control repository. -Source1: tests-00ccc2a0454058f0cd1964d0703d8322f78af049.tar.bz2 -Source10: dl-tests.sh - -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(mocha) -BuildRequires: npm(readdirp) -%endif - -%description -%{summary}. - - -%prep -%setup -q -n package -find . -type f -exec chmod -x '{}' \; -%setup -q -T -D -a 1 -n package - -%nodejs_fixdep readdirp '2.x' - - -%build -#nothing to do - - -%install -mkdir -p %{buildroot}%{nodejs_sitelib}/monocle -cp -pr package.json monocle.js \ - %{buildroot}%{nodejs_sitelib}/monocle - -%nodejs_symlink_deps - - -%if 0%{?enable_tests} -%check -%nodejs_symlink_deps --check -/usr/bin/mocha test -R spec -t 60000 -%endif - - -%files -%doc README.md -%license LICENSE -%{nodejs_sitelib}/monocle - - -%changelog -* Thu Jul 25 2019 Fedora Release Engineering - 1.1.51-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 1.1.51-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Jul 13 2018 Fedora Release Engineering - 1.1.51-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Thu Feb 08 2018 Fedora Release Engineering - 1.1.51-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Aug 12 2017 Tom Hughes - 1.1.51-11 -- Increase test timeout - -* Thu Jul 27 2017 Fedora Release Engineering - 1.1.51-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.1.51-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Feb 04 2016 Fedora Release Engineering - 1.1.51-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jan 22 2016 Tom Hughes - 1.1.51-7 -- Increase test timeout - -* Thu Dec 31 2015 Tom Hughes - 1.1.51-6 -- Enable tests - -* Thu Dec 31 2015 Piotr Popieluch - 1.1.51-5 -- Update fixdep on readdirp -- Disable tests to break circular dependency - -* Wed Jun 17 2015 Fedora Release Engineering - 1.1.51-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 1.1.51-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sat Apr 26 2014 Jamie Nguyen - 1.1.51-2 -- fix version of npm(readdirp) dependency - -* Sun Mar 02 2014 Jamie Nguyen - 1.1.51-1 -- initial package diff --git a/sources b/sources deleted file mode 100644 index 79ed77b..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -73b6372cd7d5e05daa51ea5da3bd61e3 monocle-1.1.51.tgz -36aa2e3b4838027b44140fca74dfad93 tests-00ccc2a0454058f0cd1964d0703d8322f78af049.tar.bz2