Architecture specific change in rpms/nodejs-sort-keys.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-sort-keys.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-sort-keys.git/commit/?id=0....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 02b4f4d214803aa940e9d6bdece4507bc87caa29
Author: Jared K. Smith <jaredsmith(a)jaredsmith.net>
Date: Wed May 3 13:42:24 2017 -0400
Initial packaging
diff --git a/.gitignore b/.gitignore
index e69de29..ea9fecb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/sort-keys-1.1.2.tgz
diff --git a/nodejs-sort-keys.spec b/nodejs-sort-keys.spec
new file mode 100644
index 0000000..78ecbb3
--- /dev/null
+++ b/nodejs-sort-keys.spec
@@ -0,0 +1,63 @@
+%{?nodejs_find_provides_and_requires}
+
+%global packagename sort-keys
+
+# tests missing due to missing npm(ava)
+%global enable_tests 0
+
+Name: nodejs-sort-keys
+Version: 1.1.2
+Release: 1%{?dist}
+Summary: Sort the keys of an object
+
+License: MIT
+URL: https://github.com/sindresorhus/sort-keys
+Source0: https://registry.npmjs.org/%{packagename}/-/%{packagename}-%{version}.tgz
+# The test files are not included in the npm tarball.
+Source1: https://raw.githubusercontent.com/sindresorhus/sort-keys/v%{version}/test.js
+
+ExclusiveArch: %{nodejs_arches} noarch
+BuildArch: noarch
+
+BuildRequires: nodejs-packaging
+BuildRequires: npm(is-plain-obj)
+%if 0%{?enable_tests}
+BuildRequires: npm(ava)
+%endif
+
+%description
+Sort the keys of an object
+
+
+%prep
+%autosetup -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}/ava
+%else
+%{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m"
+%endif
+
+%files
+%doc readme.md
+%license license
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Thu Apr 20 2017 Jared Smith <jsmith(a)fedoraproject.org> - 1.1.2-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..a6b86b1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sort-keys-1.1.2.tgz) = bf39fc692a8a832b558a4d22c1d0448becdebdb4d866881ec1350ce9db69986c0471dcdbb9bfd35f86c2cd185e6c30910b74335e026c2d1281d95fcea1fec75e
diff --git a/test.js b/test.js
new file mode 100644
index 0000000..c5e41ea
--- /dev/null
+++ b/test.js
@@ -0,0 +1,78 @@
+'use strict';
+/* eslint-env mocha */
+var assert = require('assert');
+var sortKeys = require('./');
+
+it('should sort the keys of an object', function () {
+ assert.strictEqual(
+ JSON.stringify(sortKeys({c: 0, a: 0, b: 0})),
+ JSON.stringify({a: 0, b: 0, c: 0})
+ );
+});
+
+it('DEPRECATED - should sort the keys of an object with a custom sort function', function () {
+ var sortFn = function (a, b) {
+ return -a.localeCompare(b);
+ };
+
+ assert.strictEqual(
+ JSON.stringify(sortKeys({c: 0, a: 0, b: 0}, sortFn)),
+ JSON.stringify({c: 0, b: 0, a: 0})
+ );
+});
+
+it('custom compare function', function () {
+ var compare = function (a, b) {
+ return -a.localeCompare(b);
+ };
+
+ assert.strictEqual(
+ JSON.stringify(sortKeys({c: 0, a: 0, b: 0}, {compare: compare})),
+ JSON.stringify({c: 0, b: 0, a: 0})
+ );
+});
+
+it('deep option', function () {
+ assert.strictEqual(
+ JSON.stringify(sortKeys({c: {c: 0, a: 0, b: 0}, a: 0, b: 0}, {deep: true})),
+ JSON.stringify({a: 0, b: 0, c: {a: 0, b: 0, c: 0}})
+ );
+
+ assert.doesNotThrow(function () {
+ var obj = {a: 0};
+ obj.circular = obj;
+ sortKeys(obj, {deep: true});
+ });
+
+ var obj = {z: 0};
+ obj.circular = obj;
+ var sortedObj = sortKeys(obj, {deep: true});
+ assert.strictEqual(sortedObj, sortedObj.circular);
+ assert.strictEqual(
+ JSON.stringify(Object.keys(sortedObj)),
+ JSON.stringify(['circular', 'z'])
+ );
+
+ var obj1 = {b: 0};
+ var obj2 = {d: 0};
+ obj1.a = obj2;
+ obj2.c = obj1;
+
+ assert.doesNotThrow(function () {
+ sortKeys(obj1, {deep: true});
+ sortKeys(obj2, {deep: true});
+ });
+
+ var sorted = sortKeys(obj1, {deep: true});
+
+ assert.strictEqual(sorted, sorted.a.c);
+ assert.strictEqual(
+ JSON.stringify(Object.keys(sorted)),
+ JSON.stringify(['a', 'b'])
+ );
+
+ assert.strictEqual(
+ JSON.stringify(sortKeys({c: {c: 0, a: 0, b: 0}, a: 0, b: 0, z: [9, 8, 7, 6, 5]}, {deep: true})),
+ JSON.stringify({a: 0, b: 0, c: {a: 0, b: 0, c: 0}, z: [9, 8, 7, 6, 5]})
+ );
+});
6 years, 11 months
Architecture specific change in rpms/nodejs-union.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-union.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-union.git/commit/?id=1a4ea....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 1a4ea9d91d69e96632e1a21b3bb0ed2a8c9abaed
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:32:49 2017 +0530
Initial commit (#1445130)
diff --git a/.gitignore b/.gitignore
index e69de29..8fa1878 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.4.6.tar.gz
diff --git a/nodejs-union.spec b/nodejs-union.spec
new file mode 100644
index 0000000..a14f3f5
--- /dev/null
+++ b/nodejs-union.spec
@@ -0,0 +1,58 @@
+%{?nodejs_find_provides_and_requires}
+
+# tests are hanging therefore disabled
+%global enable_tests 0
+%global packagename union
+
+Name: nodejs-%{packagename}
+Version: 0.4.6
+Release: 1%{?dist}
+Summary: A hybrid streaming middleware kernel backwards compatible with connect
+License: MIT
+URL: https://github.com/flatiron/%{packagename}
+Source0: https://github.com/flatiron/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(vows)
+BuildRequires: npm(qs)
+BuildRequires: npm(request)
+%endif
+
+%description
+A hybrid streaming middleware kernel backwards compatible with connect.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%nodejs_fixdep qs
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json lib \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+vows test/*-test.js --spec -i
+%endif
+
+%files
+%doc README.md examples
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.4.6-1
+- initial package
diff --git a/sources b/sources
index e69de29..950f4c1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (0.4.6.tar.gz) = fe5d04f0bafa3097c1a6203d74e1acf74e84c8ba6c2c1cb0ad5efc35f73bf2259b72bb977218ad61e664d989941a81487de58ec15638af47719ed99bb4113c8c
6 years, 11 months
Architecture specific change in rpms/nodejs-union.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-union.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-union.git/commit/?id=1a4ea....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 1a4ea9d91d69e96632e1a21b3bb0ed2a8c9abaed
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:32:49 2017 +0530
Initial commit (#1445130)
diff --git a/.gitignore b/.gitignore
index e69de29..8fa1878 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/0.4.6.tar.gz
diff --git a/nodejs-union.spec b/nodejs-union.spec
new file mode 100644
index 0000000..a14f3f5
--- /dev/null
+++ b/nodejs-union.spec
@@ -0,0 +1,58 @@
+%{?nodejs_find_provides_and_requires}
+
+# tests are hanging therefore disabled
+%global enable_tests 0
+%global packagename union
+
+Name: nodejs-%{packagename}
+Version: 0.4.6
+Release: 1%{?dist}
+Summary: A hybrid streaming middleware kernel backwards compatible with connect
+License: MIT
+URL: https://github.com/flatiron/%{packagename}
+Source0: https://github.com/flatiron/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(vows)
+BuildRequires: npm(qs)
+BuildRequires: npm(request)
+%endif
+
+%description
+A hybrid streaming middleware kernel backwards compatible with connect.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%nodejs_fixdep qs
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json lib \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+vows test/*-test.js --spec -i
+%endif
+
+%files
+%doc README.md examples
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 0.4.6-1
+- initial package
diff --git a/sources b/sources
index e69de29..950f4c1 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (0.4.6.tar.gz) = fe5d04f0bafa3097c1a6203d74e1acf74e84c8ba6c2c1cb0ad5efc35f73bf2259b72bb977218ad61e664d989941a81487de58ec15638af47719ed99bb4113c8c
6 years, 11 months
Architecture specific change in rpms/nodejs-url-join.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-url-join.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-url-join.git/commit/?id=9f....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 9fd0563e21872e1f0fca33f7b29590b3f27db366
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:29:49 2017 +0530
Initial commit (#1447229)
diff --git a/.gitignore b/.gitignore
index e69de29..eaa3a1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v2.0.1.tar.gz
diff --git a/nodejs-url-join.spec b/nodejs-url-join.spec
new file mode 100644
index 0000000..476629c
--- /dev/null
+++ b/nodejs-url-join.spec
@@ -0,0 +1,54 @@
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 1
+%global packagename url-join
+
+Name: nodejs-%{packagename}
+Version: 2.0.1
+Release: 1%{?dist}
+Summary: Join all arguments together and normalize the resulting url
+License: MIT
+URL: https://github.com/jfromaniello/%{packagename}
+Source0: https://github.com/jfromaniello/%{packagename}/archive/v%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(should)
+%endif
+
+%description
+Join all arguments together and normalize the resulting url.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json lib \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+mocha --require should
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Fri Apr 28 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..2fab348 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (v2.0.1.tar.gz) = 1572a43d8b2427757d263c317fad03917f468f5d31558107207d1150ba11800a01fb886c87741370a619214865d03f035196c6a0e8d55c9f7f52f0bdfe5c9e18
6 years, 11 months
Architecture specific change in rpms/nodejs-url-join.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-url-join.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-url-join.git/commit/?id=9f....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 9fd0563e21872e1f0fca33f7b29590b3f27db366
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:29:49 2017 +0530
Initial commit (#1447229)
diff --git a/.gitignore b/.gitignore
index e69de29..eaa3a1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v2.0.1.tar.gz
diff --git a/nodejs-url-join.spec b/nodejs-url-join.spec
new file mode 100644
index 0000000..476629c
--- /dev/null
+++ b/nodejs-url-join.spec
@@ -0,0 +1,54 @@
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 1
+%global packagename url-join
+
+Name: nodejs-%{packagename}
+Version: 2.0.1
+Release: 1%{?dist}
+Summary: Join all arguments together and normalize the resulting url
+License: MIT
+URL: https://github.com/jfromaniello/%{packagename}
+Source0: https://github.com/jfromaniello/%{packagename}/archive/v%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(should)
+%endif
+
+%description
+Join all arguments together and normalize the resulting url.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json lib \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+mocha --require should
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Fri Apr 28 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..2fab348 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (v2.0.1.tar.gz) = 1572a43d8b2427757d263c317fad03917f468f5d31558107207d1150ba11800a01fb886c87741370a619214865d03f035196c6a0e8d55c9f7f52f0bdfe5c9e18
6 years, 11 months
Architecture specific change in rpms/nodejs-eventemitter3.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-eventemitter3.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-eventemitter3.git/commit/?....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit a506788f55ce6ca1971efe66b43be3844542c5e9
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:28:07 2017 +0530
Initial commit (#1444766)
diff --git a/.gitignore b/.gitignore
index e69de29..8879016 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/2.0.3.tar.gz
diff --git a/nodejs-eventemitter3.spec b/nodejs-eventemitter3.spec
new file mode 100644
index 0000000..abc2db5
--- /dev/null
+++ b/nodejs-eventemitter3.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+# npm(assume) not in fedora yet
+%global enable_tests 0
+%global packagename eventemitter3
+
+Name: nodejs-%{packagename}
+Version: 2.0.3
+Release: 2%{?dist}
+Summary: EventEmitter3 is a high performance EventEmmitter
+License: MIT
+URL: https://github.com/primus/%{packagename}
+Source0: https://github.com/primus/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(assume)
+%endif
+
+%description
+EventEmitter3 is a high performance EventEmitter. It has been micro-optimized
+for various of code paths making this, one of, if not the fastest EventEmitter
+available for Node.js and browsers. The module is API compatible with the
+EventEmitter that ships by default with Node.js.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json bower.json component.json *.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+mocha test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Wed May 03 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.3-2
+- Disabled tests
+
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.3-1
+- initial package
diff --git a/sources b/sources
index e69de29..a0b4b23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (2.0.3.tar.gz) = 4eca7f24685d4494db7caac23bb91d018ba5620d3088d612ea838cc846646fd03ca653e85d59c4932e40436b652c399619604a4ba3280bb12458259b9581a430
6 years, 11 months
Architecture specific change in rpms/nodejs-eventemitter3.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-eventemitter3.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-eventemitter3.git/commit/?....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit a506788f55ce6ca1971efe66b43be3844542c5e9
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:28:07 2017 +0530
Initial commit (#1444766)
diff --git a/.gitignore b/.gitignore
index e69de29..8879016 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/2.0.3.tar.gz
diff --git a/nodejs-eventemitter3.spec b/nodejs-eventemitter3.spec
new file mode 100644
index 0000000..abc2db5
--- /dev/null
+++ b/nodejs-eventemitter3.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+# npm(assume) not in fedora yet
+%global enable_tests 0
+%global packagename eventemitter3
+
+Name: nodejs-%{packagename}
+Version: 2.0.3
+Release: 2%{?dist}
+Summary: EventEmitter3 is a high performance EventEmmitter
+License: MIT
+URL: https://github.com/primus/%{packagename}
+Source0: https://github.com/primus/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(assume)
+%endif
+
+%description
+EventEmitter3 is a high performance EventEmitter. It has been micro-optimized
+for various of code paths making this, one of, if not the fastest EventEmitter
+available for Node.js and browsers. The module is API compatible with the
+EventEmitter that ships by default with Node.js.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json bower.json component.json *.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+%if 0%{?enable_tests}
+mocha test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Wed May 03 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.3-2
+- Disabled tests
+
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 2.0.3-1
+- initial package
diff --git a/sources b/sources
index e69de29..a0b4b23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (2.0.3.tar.gz) = 4eca7f24685d4494db7caac23bb91d018ba5620d3088d612ea838cc846646fd03ca653e85d59c4932e40436b652c399619604a4ba3280bb12458259b9581a430
6 years, 11 months
Architecture specific change in rpms/nodejs-requires-port.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-requires-port.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-requires-port.git/commit/?....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 96c1d588f881e3612815ef6f90c7c31e48dd9f56
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:26:40 2017 +0530
Initial commit (#1444765)
diff --git a/.gitignore b/.gitignore
index e69de29..f1ce3d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/1.0.0.tar.gz
diff --git a/nodejs-requires-port.spec b/nodejs-requires-port.spec
new file mode 100644
index 0000000..cfcaf59
--- /dev/null
+++ b/nodejs-requires-port.spec
@@ -0,0 +1,56 @@
+%{?nodejs_find_provides_and_requires}
+
+# npm(assume) not available in fedora
+%global enable_tests 0
+%global packagename requires-port
+
+Name: nodejs-%{packagename}
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: Check if a protocol requires a certain port number
+License: MIT
+URL: https://github.com/unshiftio/%{packagename}
+Source0: https://github.com/unshiftio/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(assume)
+%endif
+
+%description
+This module is intended to be used with browserify or Node.js
+and is distributed in the public npm registry.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json *.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+mocha test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..390bc97 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (1.0.0.tar.gz) = ff55b9b4ecf5a1cd4a44bd7f15b0257e05b20095fad5a5447a26bebf7c56decd5d3722ca2b967368109f9971837528eb122c8f5ae87e7db554c02dc7eb4dd268
6 years, 11 months
Architecture specific change in rpms/nodejs-requires-port.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-requires-port.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-requires-port.git/commit/?....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 96c1d588f881e3612815ef6f90c7c31e48dd9f56
Author: Parag A Nemade <pnemade(a)fedoraproject.org>
Date: Wed May 3 18:26:40 2017 +0530
Initial commit (#1444765)
diff --git a/.gitignore b/.gitignore
index e69de29..f1ce3d5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/1.0.0.tar.gz
diff --git a/nodejs-requires-port.spec b/nodejs-requires-port.spec
new file mode 100644
index 0000000..cfcaf59
--- /dev/null
+++ b/nodejs-requires-port.spec
@@ -0,0 +1,56 @@
+%{?nodejs_find_provides_and_requires}
+
+# npm(assume) not available in fedora
+%global enable_tests 0
+%global packagename requires-port
+
+Name: nodejs-%{packagename}
+Version: 1.0.0
+Release: 1%{?dist}
+Summary: Check if a protocol requires a certain port number
+License: MIT
+URL: https://github.com/unshiftio/%{packagename}
+Source0: https://github.com/unshiftio/%{packagename}/archive/%{version}.tar.gz
+
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires: npm(mocha)
+BuildRequires: npm(assume)
+%endif
+
+%description
+This module is intended to be used with browserify or Node.js
+and is distributed in the public npm registry.
+
+%prep
+%autosetup -n %{packagename}-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{packagename}
+cp -pr package.json *.js \
+ %{buildroot}%{nodejs_sitelib}/%{packagename}
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%{__nodejs} -e 'require("./")'
+mocha test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{packagename}
+
+%changelog
+* Mon Apr 24 2017 Parag Nemade <pnemade AT redhat DOT com> - 1.0.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..390bc97 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (1.0.0.tar.gz) = ff55b9b4ecf5a1cd4a44bd7f15b0257e05b20095fad5a5447a26bebf7c56decd5d3722ca2b967368109f9971837528eb122c8f5ae87e7db554c02dc7eb4dd268
6 years, 11 months
Architecture specific change in rpms/nodejs-humanize-ms.git
by githook-noreply@fedoraproject.org
The package rpms/nodejs-humanize-ms.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-humanize-ms.git/commit/?id....
Change:
+ExclusiveArch: %{nodejs_arches} noarch
Thanks.
Full change:
============
commit 74daf74dfc2f072390ed53a3a56c6fc82075e7c6
Author: Tom Hughes <tom(a)compton.nu>
Date: Wed May 3 13:49:50 2017 +0100
Initial import of nodejs-humanize-ms
diff --git a/.gitignore b/.gitignore
index e69de29..381b5c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nodejs-humanize-ms-1.2.0.tar.gz
diff --git a/LICENSE-MIT.txt b/LICENSE-MIT.txt
new file mode 100644
index 0000000..89de354
--- /dev/null
+++ b/LICENSE-MIT.txt
@@ -0,0 +1,17 @@
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff --git a/nodejs-humanize-ms.spec b/nodejs-humanize-ms.spec
new file mode 100644
index 0000000..7f0a346
--- /dev/null
+++ b/nodejs-humanize-ms.spec
@@ -0,0 +1,54 @@
+%{?nodejs_find_provides_and_requires}
+
+Name: nodejs-humanize-ms
+Version: 1.2.0
+Release: 1%{?dist}
+Summary: Transform humanize time to ms
+
+License: MIT
+URL: https://www.npmjs.com/package/humanize-ms
+Source0: https://github.com/node-modules/humanize-ms/archive/1.2.0/%{name}-%{versi...
+# https://github.com/node-modules/humanize-ms/pull/2
+Source1: LICENSE-MIT.txt
+BuildArch: noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires: nodejs-packaging
+
+BuildRequires: npm(mocha)
+BuildRequires: npm(should)
+BuildRequires: npm(ms)
+
+%description
+%{summary}.
+
+
+%prep
+%autosetup -n humanize-ms-%{version}
+cp %{SOURCE1} LICENSE
+rm -rf node_modules
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/humanize-ms
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/humanize-ms
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+make test
+
+
+%files
+%license LICENSE
+%doc README.md History.md
+%{nodejs_sitelib}/humanize-ms
+
+
+%changelog
+* Mon Feb 20 2017 Tom Hughes <tom(a)compton.nu> - 1.2.0-1
+- Initial build of 1.2.0
diff --git a/sources b/sources
index e69de29..cfefa0f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nodejs-humanize-ms-1.2.0.tar.gz) = 529a78cc56a96743f2c616ddde7135efe0338a5efe10ac6b276a39e5e9e46876512d7c3b802cb30524ea5e998c9fb7e2d63683e61fc1859e977f6839b555d91d
6 years, 11 months