zvetlik pushed to nodejs-inflight (f21). "Initial import (#1199285)."

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 27 17:09:49 UTC 2015


From 5579570c2a1ead816854ccaac2b14310acf65c24 Mon Sep 17 00:00:00 2001
From: Zuzana Svetlikova <zsvetlik at redhat.com>
Date: Tue, 26 May 2015 19:13:24 +0200
Subject: Initial import (#1199285).


diff --git a/.gitignore b/.gitignore
index e69de29..8e3cc9b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/inflight-1.0.4.tgz
diff --git a/nodejs-inflight.spec b/nodejs-inflight.spec
new file mode 100644
index 0000000..52d843e
--- /dev/null
+++ b/nodejs-inflight.spec
@@ -0,0 +1,72 @@
+%{?scl:%scl_package nodejs-inflight}
+%{!?scl:%global pkg_name %{name}}
+
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 1
+
+Name:		%{?scl_prefix}nodejs-inflight
+Version:	1.0.4
+Release:	5%{?dist}
+Summary:	Node.js inflight
+License:	ISC
+Url:		https://github.com/isaacs/inflight
+Source:		http://registry.npmjs.org/inflight/-/inflight-%{version}.tgz
+BuildRequires:	nodejs-packaging
+BuildArch:	noarch
+ExclusiveArch:	%{nodejs_arches} noarch
+
+BuildRequires:	npm(wrappy)
+BuildRequires:	npm(once)
+
+%if 0%{?enable_tests}
+BuildRequires:	npm(tap)
+%endif
+
+%description
+Add callbacks to requests in flight to avoid async duplication 
+
+%prep
+%setup -q -n package
+
+%{nodejs_fixdep} once
+%{nodejs_fixdep} wrappy
+
+%build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/inflight
+cp -pr package.json inflight.js \
+        %{buildroot}%{nodejs_sitelib}/inflight/
+
+%nodejs_symlink_deps
+
+%if 0%{?enable_tests}
+%check
+%{nodejs_symlink_deps} --check
+tap test.js
+%endif
+
+%files
+%doc README.md
+%license LICENSE
+%{nodejs_sitelib}/inflight
+
+%changelog
+* Wed May 22 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.4-5
+- Removed redundant %%nodejs_fixdep macro
+
+* Wed Apr 15 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.4-4
+- Added BuildRequires, macros, %%license and %%check sections
+
+* Tue Mar 03 2015 Zuzana Svetlikova <zsvetlik at redhat.com> - 1.0.4-3
+- Fixed dependency
+- removed BuildRoot, Group, %%defattr
+- changed ExclusiveArch
+
+* Tue Jan 13 2015 Tomas Hrcka <thrcka at redhat.com> - 1.0.4-2
+- Remove undefined macro
+
+* Mon Jan 12 2015 Tomas Hrcka <thrcka at redhat.com> - 1.0.4-1
+- Initial build
+
diff --git a/sources b/sources
index e69de29..45ca018 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+7643dfe43b25ca289c11ae5515afc3eb  inflight-1.0.4.tgz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-inflight.git/commit/?h=f21&id=5579570c2a1ead816854ccaac2b14310acf65c24


More information about the scm-commits mailing list