piotrp pushed to nodejs-set-immediate-shim (f21). "Initial import (#1194926)."

notifications at fedoraproject.org notifications at fedoraproject.org
Mon May 25 09:24:41 UTC 2015


From ae75bc661ba4b19a8f1ed248018aaf72205d97bd Mon Sep 17 00:00:00 2001
From: Piotr Popieluch <piotr1212 at gmail.com>
Date: Mon, 25 May 2015 11:23:06 +0200
Subject: Initial import (#1194926).


diff --git a/.gitignore b/.gitignore
index e69de29..98a031f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/set-immediate-shim-29ac611e181046f2cf8b61ed5d038c64733a1cbc.tar.gz
diff --git a/nodejs-set-immediate-shim.spec b/nodejs-set-immediate-shim.spec
new file mode 100644
index 0000000..37480db
--- /dev/null
+++ b/nodejs-set-immediate-shim.spec
@@ -0,0 +1,69 @@
+# This macro is needed at the start for building on EL6
+%{?nodejs_find_provides_and_requires}
+
+# tests disabled due to circular dep, can be enabled later
+%global enable_tests 0
+%global srcname set-immediate-shim
+%global commit 29ac611e181046f2cf8b61ed5d038c64733a1cbc
+
+Name:           nodejs-%{srcname}
+Version:        1.0.1
+Release:        1%{?dist}
+Summary:        Simple setImmediate shim
+License:        MIT
+URL:            https://github.com/sindresorhus/set-immediate-shim
+Source0:        https://github.com/sindresorhus/%{srcname}/archive/%{commit}/%{srcname}-%{commit}.tar.gz
+
+BuildArch:      noarch
+ExclusiveArch:  %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(ava)
+BuildRequires:  npm(require-uncached)
+%endif
+
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n %{srcname}-%{commit}
+rm -rf node_modules/
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
+cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{srcname}
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+node test.js
+%endif
+
+
+%files
+%doc readme.md
+%license license
+%{nodejs_sitelib}/%{srcname}
+
+
+%changelog
+* Mon May 25 2015 Piotr Popieluch <piotr1212 at gmail.com> - 1.0.1-1
+- Update to 1.0.1
+
+* Sun Mar  8 2015 Piotr Popieluch <piotr1212 at gmail.com> - 1.0.0-2
+- Update Source0 to comply with github source guidelines
+- Move license from %%doc to %%license
+
+* Wed Dec 31 2014 Piotr Popieluch <piotr1212 at gmail.com> - 1.0.0-1
+- Initial package
diff --git a/sources b/sources
index e69de29..83c8a04 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ea53efb8bf84e395d10cae09ec553c2f  set-immediate-shim-29ac611e181046f2cf8b61ed5d038c64733a1cbc.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/nodejs-set-immediate-shim.git/commit/?h=f21&id=ae75bc661ba4b19a8f1ed248018aaf72205d97bd


More information about the scm-commits mailing list