[nodejs-wrappy/f20] Initial build

anish anishpatil at fedoraproject.org
Mon Nov 24 07:06:20 UTC 2014


commit 81bca77a1aa0177a0cd7d634b519b632b6fdbdf1
Author: anish <apatil at redhat.com>
Date:   Mon Nov 24 12:35:53 2014 +0530

    Initial build

 .gitignore         |    1 +
 nodejs-wrappy.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 47 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..14f7e8e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v1.0.1.tar.gz
diff --git a/nodejs-wrappy.spec b/nodejs-wrappy.spec
new file mode 100644
index 0000000..3907af6
--- /dev/null
+++ b/nodejs-wrappy.spec
@@ -0,0 +1,45 @@
+%{?nodejs_find_provides_and_requires}
+%global enable_tests 0
+Name:       nodejs-wrappy
+Version:    1.0.1
+Release:    1%{?dist}
+Summary:    Callback wrapping utility
+License:    ISC
+URL:        https://github.com/npm/wrappy
+Source:     https://github.com/npm/wrappy/archive/v%{version}.tar.gz 
+
+BuildArch:  noarch
+
+BuildRequires:  nodejs-packaging
+BuildRequires:  npm(tap)
+
+ExclusiveArch: %{nodejs_arches} noarch
+
+%description
+Callback wrapping utility for node.js
+
+%prep
+%setup -q -n wrappy-%{version}
+
+%build
+#nothing to do
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/nodejs-wrappy
+cp -pr wrappy.js package.json \
+    %{buildroot}%{nodejs_sitelib}/nodejs-wrappy
+
+
+%check
+%if 0%{?enable_tests}
+tap test/*.js
+%endif
+
+%files
+%doc LICENSE README.md test/ 
+%{nodejs_sitelib}/nodejs-wrappy
+
+
+%changelog
+* Thu Nov 06 2014 Anish Patil <apatil at redhat.com> - 1.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..82337a0 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9255594fb8e3f15846d753d1a9b5a7b1  v1.0.1.tar.gz


More information about the scm-commits mailing list