piotrp pushed to nodejs-pend (f22). "Initial import (#1199814)."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 25 09:17:44 UTC 2015


From 78c7f47b585462794f3777353a640b49fddff2d9 Mon Sep 17 00:00:00 2001
From: Piotr Popieluch <piotr1212 at gmail.com>
Date: Mon, 25 May 2015 11:16:10 +0200
Subject: Initial import (#1199814).


diff --git a/.gitignore b/.gitignore
index e69de29..8440176 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pend-1.2.0.tgz
diff --git a/nodejs-pend.spec b/nodejs-pend.spec
new file mode 100644
index 0000000..b0e4ee2
--- /dev/null
+++ b/nodejs-pend.spec
@@ -0,0 +1,53 @@
+%global enable_tests 1
+%global srcname pend
+
+Name:           nodejs-%{srcname}
+Version:        1.2.0
+Release:        1%{?dist}
+Summary:        Dead-simple optimistic async helper
+License:        MIT
+URL:            https://github.com/andrewrk/node-pend
+Source0:        https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
+
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+
+%description
+%{summary}.
+
+
+%prep
+%setup -q -n package
+rm -rf node_modules/
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
+cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{srcname}
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+%__nodejs test.js
+%endif
+
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/%{srcname}
+
+
+%changelog
+* Sun Mar  8 2015 Piotr Popieluch <piotr1212 at gmail.com> - 1.2.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..dfeecb2 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0dfda261831bb7820e5b11d97a94060d  pend-1.2.0.tgz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-pend.git/commit/?h=f22&id=78c7f47b585462794f3777353a640b49fddff2d9


More information about the scm-commits mailing list