diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..535eba0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/process-nextick-args-1.0.2.tgz diff --git a/.rh-nodejs4-nodejs-process-nextick-args.metadata b/.rh-nodejs4-nodejs-process-nextick-args.metadata new file mode 100644 index 0000000..d75c56b --- /dev/null +++ b/.rh-nodejs4-nodejs-process-nextick-args.metadata @@ -0,0 +1 @@ +8b4d3fc586668bd5b6573e732edf2b71c1c1d8aa SOURCES/process-nextick-args-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/SOURCES/license.md b/SOURCES/license.md new file mode 100644 index 0000000..c67e353 --- /dev/null +++ b/SOURCES/license.md @@ -0,0 +1,19 @@ +# Copyright (c) 2015 Calvin Metcalf + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.** diff --git a/SPECS/nodejs-process-nextick-args.spec b/SPECS/nodejs-process-nextick-args.spec new file mode 100644 index 0000000..745510b --- /dev/null +++ b/SPECS/nodejs-process-nextick-args.spec @@ -0,0 +1,68 @@ +# spec file for package nodejs-nodejs-process-nextick-args +%{?scl:%scl_package nodejs-nodejs-process-nextick-args} +%{!?scl:%global pkg_name %{name}} + +%global npm_name process-nextick-args +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-process-nextick-args +Version: 1.0.2 +Release: 3%{?dist} +Summary: process.nextTick but always with args +Url: https://github.com/calvinmetcalf/process-nextick-args +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +Source1: https://raw.githubusercontent.com/calvinmetcalf/process-nextick-args/master/license.md +# License is not included in npm tarball but is published on github +License: MIT + +BuildArch: noarch +ExclusiveArch: %{ix86} x86_64 %{arm}} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel +#BuildRequires: nodejs-packaging + +%if 0%{?enable_tests} +BuildRequires: npm(tap) +%endif + +%description +process.nextTick but always with args + +%prep +%setup -q -n package + +cp -p %{SOURCE1} . + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json *.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} +%check +%{nodejs_symlink_deps} --check +node test.js +%endif + +%files +%{nodejs_sitelib}/process-nextick-args + +%doc readme.md license.md + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.2-3 +- rebuilt + +* Sat Feb 13 2016 Zuzana Svetlikova - 1.0.2-2 +- rebuilt + +* Thu Aug 13 2015 Zuzana Svetlikova - 1.0.2-1 +- Initial build