diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..56082e6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/isarray-1.0.0.tgz diff --git a/.rh-nodejs8-nodejs-isarray.metadata b/.rh-nodejs8-nodejs-isarray.metadata new file mode 100644 index 0000000..6465b7f --- /dev/null +++ b/.rh-nodejs8-nodejs-isarray.metadata @@ -0,0 +1 @@ +bb935d48582cba168c06834957a54a3e07124f11 SOURCES/isarray-1.0.0.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-isarray.spec b/SPECS/nodejs-isarray.spec new file mode 100644 index 0000000..58476dd --- /dev/null +++ b/SPECS/nodejs-isarray.spec @@ -0,0 +1,73 @@ +# spec file for package nodejs-nodejs-isarray +%{?scl:%scl_package nodejs-nodejs-isarray} +%{!?scl:%global pkg_name %{name}} + +%global npm_name isarray +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-isarray +Version: 1.0.0 +Release: 2%{?dist} +Summary: Array#isArray for older browsers +Url: https://github.com/juliangruber/isarray +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: MIT +# License text is included in README.md file +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 +Array#isArray for older browsers + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr component.json package.json *.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}/isarray + +%doc README.md + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 1.0.0-2 +- rh-nodejs8 rebuild + +* Tue Sep 13 2016 Zuzana Svetlikova - 1.0.0-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 0.0.1-5 +- rebuilt + +* Sat Feb 13 2016 Zuzana Svetlikova - 0.0.1-4 +- rebuilt + +* Tue Sep 22 2015 Zuzana Svetlikova - 0.0.1-3 +- Add build/ to %%install + +* Thu Aug 13 2015 Zuzana Svetlikova - 0.0.1-2 +- Initial build