From 7d79726457cd9f703e04fa7877015f75ab501b10 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 04 2015 08:09:31 +0000 Subject: import nodejs010-nodejs-inflight-1.0.4-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a96376c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/inflight-1.0.4.tgz diff --git a/.nodejs010-nodejs-inflight.metadata b/.nodejs010-nodejs-inflight.metadata new file mode 100644 index 0000000..059f752 --- /dev/null +++ b/.nodejs010-nodejs-inflight.metadata @@ -0,0 +1 @@ +6cbb4521ebd51ce0ec0a936bfd7657ef7e9b172a SOURCES/inflight-1.0.4.tgz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-inflight.spec b/SPECS/nodejs-inflight.spec new file mode 100644 index 0000000..7e45c51 --- /dev/null +++ b/SPECS/nodejs-inflight.spec @@ -0,0 +1,45 @@ +%{?scl:%scl_package nodejs-inflight} +%{!?scl:%global pkg_name %{name}} +%nodejs_find_provides_and_requires + +Name: %{?scl_prefix}nodejs-inflight +Version: 1.0.4 +Release: 2%{?dist} +Summary: Node.js inflight +License: ISC +Group: Development/Languages/Other +Url: https://github.com/isaacs/inflight +Source: http://registry.npmjs.org/inflight/-/inflight-%{version}.tgz +BuildRequires: nodejs010 +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-build +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm} noarch + + +%description +Add callbacks to requests in flight to avoid async duplication + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/inflight +cp -pr package.json inflight.js \ + %{buildroot}%{nodejs_sitelib}/inflight/ + +%nodejs_symlink_deps + +%files +%defattr(-,root,root,-) +%doc README.md LICENSE +%{nodejs_sitelib}/inflight + +%changelog +* Tue Jan 13 2015 Tomas Hrcka - 1.0.4-2 +- Remove undefined macro + +* Mon Jan 12 2015 Tomas Hrcka - 1.0.4-1 +- Initial build +