The package rpms/nodejs-gaze.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/nodejs-gaze.git/commit/?id=922647....
Change:
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
Thanks.
Full change:
============
commit 92264733ecb66971301c9aa0b4906bdb3a6c9b90
Author: Mohan Boddu <mboddu(a)bhujji.com>
Date: Wed Oct 2 17:01:59 2019 -0400
Revert "nodejs-gaze fails to build from source:
https://bugzilla.redhat.com/show_bug.cgi?id=1675485"
Unretirement for
https://pagure.io/releng/issue/8855
This reverts commit a368bc8c47486683d35a38862101559939f533b6.
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..da8da17
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+/gaze-0.3.3.tgz
+/gaze-0.3.4.tgz
+/gaze-0.4.1.tgz
+/gaze-0.5.1.tgz
+/tests-0.5.1.tar.bz2
diff --git a/Gruntfile.js b/Gruntfile.js
new file mode 100644
index 0000000..a2d3378
--- /dev/null
+++ b/Gruntfile.js
@@ -0,0 +1,39 @@
+module.exports = function(grunt) {
+ 'use strict';
+ grunt.initConfig({
+ benchmark: {
+ all: {
+ src: ['benchmarks/*.js'],
+ options: { times: 10 }
+ }
+ },
+ nodeunit: {
+ files: ['test/*_test.js'],
+ },
+ jshint: {
+ options: {
+ jshintrc: '.jshintrc'
+ },
+ gruntfile: {
+ src: 'Gruntfile.js'
+ },
+ lib: {
+ src: ['lib/**/*.js']
+ },
+ test: {
+ src: ['test/**/*_test.js']
+ },
+ },
+ });
+
+ // Dynamic alias task to nodeunit. Run individual tests with: grunt test:events
+ grunt.registerTask('test', function(file) {
+ grunt.config('nodeunit.files',
String(grunt.config('nodeunit.files')).replace('*', file ||
'*'));
+ grunt.task.run('nodeunit');
+ });
+
+ grunt.loadNpmTasks('grunt-benchmark');
+ grunt.loadNpmTasks('grunt-contrib-jshint');
+ grunt.loadNpmTasks('grunt-contrib-nodeunit');
+ grunt.registerTask('default', ['jshint', 'nodeunit']);
+};
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 9154146..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-nodejs-gaze fails to build from source:
https://bugzilla.redhat.com/show_bug.cgi?id=1675485
diff --git a/dl-tests.sh b/dl-tests.sh
new file mode 100644
index 0000000..c886185
--- /dev/null
+++ b/dl-tests.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+version=0.5.1
+commit=dad5345a2876346fe49a68ee6e4db34205680798
+
+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/shama/gaze.git
+cd gaze
+git archive --prefix="test/" --format=tar ${commit}:test/ \
+ | bzip2 > "$pwd"/tests-${version}.tar.bz2
+popd
diff --git a/nodejs-gaze.spec b/nodejs-gaze.spec
new file mode 100644
index 0000000..c5d5794
--- /dev/null
+++ b/nodejs-gaze.spec
@@ -0,0 +1,126 @@
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 1
+
+Name: nodejs-gaze
+Version: 0.5.1
+Release: 11%{?dist}
+Summary: A globbing fs.watch wrapper built from parts of other watch libraries
+License: MIT
+URL:
https://github.com/shama/gaze
+Source0:
http://registry.npmjs.org/gaze/-/gaze-%{version}.tgz
+# Source1 is generated by running Source10, which pulls from the upstream
+# version control repository.
+Source1: tests-%{version}.tar.bz2
+Source2:
https://raw.githubusercontent.com/shama/gaze/dad5345a2876346fe49a68ee6e4d...
+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(async)
+BuildRequires: npm(globule)
+BuildRequires: npm(grunt)
+BuildRequires: npm(grunt-cli)
+BuildRequires: npm(grunt-contrib-nodeunit)
+BuildRequires: npm(nodeunit)
+BuildRequires: npm(rimraf)
+%endif
+
+%description
+This Node.js module provides a globbing fs.watch wrapper built from the best
+parts of other fine watch libraries: speedy data behavior from chokidar, the
+API interface from watch, and file globbing using glob.
+
+
+%prep
+%setup -q -n package
+%setup -q -T -D -a 1 -n package
+cp -p %{SOURCE2} .
+
+%nodejs_fixdep globule '~0.1'
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/gaze
+cp -pr package.json lib/ \
+ %{buildroot}%{nodejs_sitelib}/gaze
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+/usr/bin/grunt nodeunit -v
+%endif
+
+
+%files
+%doc LICENSE-MIT README.md
+%{nodejs_sitelib}/gaze
+
+
+%changelog
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-11
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-10
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-9
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-8
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-7
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-6
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.5.1-5
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.5.1-4
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.5.1-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sun Mar 30 2014 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.5.1-2
+- fix versioned dependency on npm(globule)
+
+* Sat Mar 29 2014 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.5.1-1
+- update to upstream release 0.5.1
+- enable tests
+
+* Mon Aug 26 2013 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.4.1-1
+- update to upstream release 0.4.1
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> -
0.3.4-3
+- Rebuilt for
https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sun Jul 21 2013 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.3.4-2
+- restrict to compatible arches
+
+* Sat May 25 2013 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.3.4-1
+- update to upstream release 0.3.4
+
+* Sat Mar 09 2013 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.3.3-2
+- shorten the %%summary
+
+* Sun Feb 17 2013 Jamie Nguyen <jamielinux(a)fedoraproject.org> - 0.3.3-1
+- initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..33545b4
--- /dev/null
+++ b/sources
@@ -0,0 +1,2 @@
+965516244bb95f9cde92d3a94790fc3b gaze-0.5.1.tgz
+31686dfca5e8180495fd8481d4d98275 tests-0.5.1.tar.bz2