[nodejs-buffer-equal/f18] initial import

T.C. Hollingsworth patches at fedoraproject.org
Wed Feb 13 01:43:26 UTC 2013


commit 6fba93cbafc5a3c3c5a8e2c2bbc812d643cfbb96
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Tue Feb 12 18:42:56 2013 -0700

    initial import

 .gitignore               |    1 +
 nodejs-buffer-equal.spec |   48 ++++++++++++++++++++++++++++++++++++++++++++++
 sources                  |    1 +
 3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ee73280 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/buffer-equal-0.0.0.tgz
diff --git a/nodejs-buffer-equal.spec b/nodejs-buffer-equal.spec
new file mode 100644
index 0000000..c482865
--- /dev/null
+++ b/nodejs-buffer-equal.spec
@@ -0,0 +1,48 @@
+Name:           nodejs-buffer-equal
+Version:        0.0.0
+Release:        1%{?dist}
+Summary:        Returns whether two buffers are equal
+BuildArch:      noarch
+
+Group:          System Environment/Libraries
+#no license file included, "MIT" indicated in package.json
+License:        MIT
+URL:            https://github.com/substack/node-buffer-equal
+Source0:        http://registry.npmjs.org/buffer-equal/-/buffer-equal-%{version}.tgz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  nodejs-devel
+#BuildRequires:  npm(tap)
+
+%description
+Returns whether two buffers are equal.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/buffer-equal
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/buffer-equal
+
+%nodejs_symlink_deps
+
+#recusrive deps are recursive
+#%%check
+#%%tap test/*.js
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/buffer-equal
+%doc README.markdown example
+
+%changelog
+* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.0-1
+- initial package generated by npm2rpm
diff --git a/sources b/sources
index e69de29..4c1fa0e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7de9de95cc809a76de2dcdab021fe8f4  buffer-equal-0.0.0.tgz


More information about the scm-commits mailing list