diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a456506 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/async-some-1.0.2.tgz diff --git a/.nodejs010-nodejs-async-some.metadata b/.nodejs010-nodejs-async-some.metadata new file mode 100644 index 0000000..461076f --- /dev/null +++ b/.nodejs010-nodejs-async-some.metadata @@ -0,0 +1 @@ +4d8a81620d5958791b5b98f802d3207776e95509 SOURCES/async-some-1.0.2.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-async-some.spec b/SPECS/nodejs-async-some.spec new file mode 100644 index 0000000..2a4bc06 --- /dev/null +++ b/SPECS/nodejs-async-some.spec @@ -0,0 +1,69 @@ +%{?scl:%scl_package nodejs-async-some} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-async-some + +%global npm_name async-some +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-async-some +Version: 1.0.2 +Release: 2%{?dist} +Summary: Short-circuited, asynchronous version of Array.prototype.some +Url: https://github.com/othiym23/async-some +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: ISC + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(dezalgo) +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +%description +Short-circuited, asynchronous version of Array.prototype.some + +%prep +%setup -q -n package + +#%{nodejs_fixdep} tap + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json some.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check +tap test/*.js +%endif + +%files +%{nodejs_sitelib}/async-some + +%doc README.md +%doc LICENSE + +%changelog +* Fri Nov 27 2015 Tomas Hrcka - 1.0.2-2 +- Enable scl macros + +* Wed Jun 24 2015 Zuzana Svetlikova - 1.0.2-1 +- Updated to new upstream release + +* Wed May 13 2015 Zuzana Svetlikova - 1.0.1-1 +- Initial build