[nodejs-isarray: 1/3] Initial Commit

Gerard Ryan galileo at fedoraproject.org
Sat Mar 21 22:36:26 UTC 2015


commit 331414b83aec0f2a1fb4e433c1f9c09679e740ec
Author: Gerard Ryan <gerard at ryan.lt>
Date:   Sat Mar 7 16:52:22 2015 +0000

    Initial Commit

 .gitignore          |  1 +
 nodejs-isarray.spec | 44 ++++++++++++++++++++++++++++++++++++++++++++
 sources             |  1 +
 3 files changed, 46 insertions(+)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..5ca9ed7
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/isarray-0.0.1.tgz
diff --git a/nodejs-isarray.spec b/nodejs-isarray.spec
new file mode 100644
index 0000000..60c221b
--- /dev/null
+++ b/nodejs-isarray.spec
@@ -0,0 +1,44 @@
+%global shortname isarray
+
+Name:           nodejs-isarray
+Version:        0.0.1
+Release:        1%{?dist}
+Summary:        Array#isArray for older browsers
+
+License:        MIT
+URL:            https://github.com/juliangruber/%{shortname}
+Source0:        http://registry.npmjs.org/%{shortname}/-/%{shortname}-%{version}.tgz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+%description
+%{summary}.
+
+%prep
+%setup -qn package
+
+
+%build
+# Nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{shortname}/
+cp -pr package.json component.json index.js %{buildroot}%{nodejs_sitelib}/%{shortname}
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+# There aren't any tests in released version yet
+
+%files
+%{nodejs_sitelib}/%{shortname}
+%doc README.md
+
+
+%changelog
+* Sat Mar 07 2015 Gerard Ryan <galileo at fedoraproject.org> - 0.0.1-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..aaeba98
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b142b5948d8edbfe7f72612eb43795a7  isarray-0.0.1.tgz


More information about the scm-commits mailing list