[nodejs-wrappy/f21] Initial build

anish anishpatil at fedoraproject.org
Mon Nov 24 07:05:37 UTC 2014


commit 60c5570778ee598fe1ff9b5c243c1698d35e9631
Author: anish <apatil at redhat.com>
Date:   Mon Nov 24 12:34:46 2014 +0530

    Initial build

 nodejs-wrappy.spec |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)
---
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


More information about the scm-commits mailing list