[nodejs-errs] Initial package (#1146934)

Parag Nemade pnemade at fedoraproject.org
Thu Oct 2 16:49:38 UTC 2014


commit 61c378bdb005045767d8d6301064276b3d6304fa
Author: Parag Nemade <pnemade at redhat.com>
Date:   Thu Oct 2 22:19:27 2014 +0530

    Initial package (#1146934)

 .gitignore       |    1 +
 nodejs-errs.spec |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 50 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..21566b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/errs-0.3.0.tgz
diff --git a/nodejs-errs.spec b/nodejs-errs.spec
new file mode 100644
index 0000000..2066184
--- /dev/null
+++ b/nodejs-errs.spec
@@ -0,0 +1,48 @@
+%global module_name errs
+
+Name:           nodejs-%{module_name}
+Version:        0.3.0
+Release:        2%{?dist}
+Summary:        Simple error creation and passing utilities
+
+License:        MIT
+URL:            https://github.com/flatiron/%{module_name}
+Source0:        http://registry.npmjs.org/%{module_name}/-/%{module_name}-%{version}.tgz
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+BuildRequires:  npm(vows)
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+rm -rf node_modules
+
+%build
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{module_name}
+cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/%{module_name}
+%nodejs_symlink_deps
+
+
+%check
+%nodejs_symlink_deps --check
+vows test/*-test.js --spec
+
+%files
+%doc LICENSE README.md examples
+%{nodejs_sitelib}/%{module_name}
+
+
+%changelog
+* Thu Oct 02 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.3.0-2
+- Change lib/*js to lib 
+
+* Wed Sep 24 2014 Parag Nemade <pnemade AT redhat DOT com> - 0.3.0-1
+- Initial packaging
+
diff --git a/sources b/sources
index e69de29..1aed3f3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c57ebb35146f2b8abd3a3c1b638be16e  errs-0.3.0.tgz


More information about the scm-commits mailing list