diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..09a1ae0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/core-util-is-1.0.2.tgz diff --git a/.rh-nodejs6-nodejs-core-util-is.metadata b/.rh-nodejs6-nodejs-core-util-is.metadata new file mode 100644 index 0000000..1f42f3c --- /dev/null +++ b/.rh-nodejs6-nodejs-core-util-is.metadata @@ -0,0 +1 @@ +b5fd54220aa2bc5ab57aab7140c940754503c1a7 SOURCES/core-util-is-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-core-util-is.spec b/SPECS/nodejs-core-util-is.spec new file mode 100644 index 0000000..8cba866 --- /dev/null +++ b/SPECS/nodejs-core-util-is.spec @@ -0,0 +1,60 @@ +%{?scl:%scl_package nodejs-delegates} +%{!?scl:%global pkg_name %{name}} + +# This macro is needed at the start for building on EL6 +%{?nodejs_find_provides_and_requires} + +%global barename core-util-is + +Name: %{?scl_prefix}nodejs-core-util-is +Version: 1.0.2 +Release: 4%{?dist} +Summary: The util.is functions introduced in Node v0.12 +License: MIT +URL: https://www.npmjs.org/package/core-util-is +Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz + +BuildArch: noarch +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +The util.is functions introduced in Node v0.12. + +%prep +%setup -q -n package + +# Remove bundled node_modules if there are any.. +rm -rf node_modules/ + +%nodejs_fixdep --caret + +%build +%nodejs_symlink_deps --build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/core-util-is +cp -pr package.json lib \ + %{buildroot}%{nodejs_sitelib}/core-util-is + +%nodejs_symlink_deps + +%files +%doc README.md LICENSE +%{nodejs_sitelib}/core-util-is/ + +%changelog +* Tue Feb 16 2016 Zuzana Svetlikova - 1.0.2-4 +- Rebuilt with updated metapackage + +* Thu Feb 11 2016 Zuzana Svetlikova - 1.0.2-1 +- Initial packaging for RHEL +- update to new upstream release + +* Tue Jul 22 2014 Ralph Bean - 1.0.1-1 +- Initial packaging for Fedora.