From eb50047650f1932c9c1cde9337d8221ac2317ac7 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 09:46:37 +0000 Subject: import rh-nodejs6-nodejs-node-uuid-1.4.7-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7cb9ea6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/node-uuid-1.4.7.tgz diff --git a/.rh-nodejs6-nodejs-node-uuid.metadata b/.rh-nodejs6-nodejs-node-uuid.metadata new file mode 100644 index 0000000..89253ed --- /dev/null +++ b/.rh-nodejs6-nodejs-node-uuid.metadata @@ -0,0 +1 @@ +6da5a17668c4b3dd59623bda11cf7fa4c1f60a6f SOURCES/node-uuid-1.4.7.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-node-uuid.spec b/SPECS/nodejs-node-uuid.spec new file mode 100644 index 0000000..5ae103e --- /dev/null +++ b/SPECS/nodejs-node-uuid.spec @@ -0,0 +1,87 @@ +%{?scl:%scl_package nodejs-node-uuid} +%{!?scl:%global pkg_name %{name}} +%{?nodejs_find_provides_and_requires} +%global enable_tests 1 + +Name: %{?scl_prefix}nodejs-node-uuid +Version: 1.4.7 +Release: 2%{?dist} +Summary: Simple and fast generation of RFC4122 (v1 and v4) UUIDs for Node.js +License: MIT +URL: https://github.com/broofa/node-uuid +Source0: http://registry.npmjs.org/node-uuid/-/node-uuid-%{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 +This Node.js module provides simple and fast generation of RFC4122 (v1 and v4) +UUIDs. It runs in Node.js and all browsers and can also generate +cryptographically strong random numbers. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/node-uuid +cp -pr package.json uuid.js \ + %{buildroot}%{nodejs_sitelib}/node-uuid + +%nodejs_symlink_deps + + +%if 0%{?enable_tests} + +%check +%{?scl:scl enable %{scl} "} +ln -sf %{nodejs_sitelib} . +%__nodejs test/test.js +%{?scl:"} +%endif + +%files +%doc LICENSE.md README.md +%{nodejs_sitelib}/node-uuid + +%changelog +* Tue Jan 17 2017 Zuzana Svetlikova - 1.4.7-2 +- Bump + +* Wed Sep 07 2016 Zuzana Svetlikova - 1.4.7-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.4.1-3 +- rebuilt + +* Thu Oct 17 2013 Tomas Hrcka - 1.4.1-2 +- replace provides and requires with macro + +* Mon Aug 26 2013 Jamie Nguyen - 1.4.1-1 +- update to upstream release 1.4.1 + +* Sun Jul 28 2013 Jamie Nguyen - 1.4.0-5 +- add ExclusiveArch logic + +* Sat Jun 22 2013 T.C. Hollingsworth - 1.4.0-4 +- restrict to compatible arches + +* Mon Apr 15 2013 T.C. Hollingsworth - 1.4.0-3 +- add macro to enable dependency generation in EPEL + +* Fri Apr 12 2013 Stanislav Ochotnicky - 1.4.0-3 +- Add support for software collections + +* Fri Apr 05 2013 Jamie Nguyen - 1.4.0-2 +- do not include benchmark/ directory + +* Wed Feb 13 2013 Jamie Nguyen - 1.4.0-1 +- initial package