From 0f0c0e60a36d80eeac5c45e629efb3ba01e1b0f0 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 31 2016 12:04:07 +0000 Subject: import rh-nodejs4-nodejs-readdir-scoped-modules-1.0.2-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0586dc --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/readdir-scoped-modules-1.0.2.tgz diff --git a/.rh-nodejs4-nodejs-readdir-scoped-modules.metadata b/.rh-nodejs4-nodejs-readdir-scoped-modules.metadata new file mode 100644 index 0000000..6329be0 --- /dev/null +++ b/.rh-nodejs4-nodejs-readdir-scoped-modules.metadata @@ -0,0 +1 @@ +9fafa37d286be5d92cbaebdee030dc9b5f406747 SOURCES/readdir-scoped-modules-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-readdir-scoped-modules.spec b/SPECS/nodejs-readdir-scoped-modules.spec new file mode 100644 index 0000000..6aa8580 --- /dev/null +++ b/SPECS/nodejs-readdir-scoped-modules.spec @@ -0,0 +1,79 @@ +%{?scl:%scl_package nodejs-readdir-scoped-modules} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-readdir-scoped-modules + +%global npm_name readdir-scoped-modules +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-readdir-scoped-modules +Version: 1.0.2 +Release: 2%{?dist} +Summary: Like `fs.readdir` but handling `@org/module` dirs as if they were a single entry. +Url: https://github.com/npm/readdir-scoped-modules +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: ISC + +BuildArch: noarch + +%if 0%{?fedora} >= 19 +ExclusiveArch: %{nodejs_arches} noarch +%else +ExclusiveArch: %{ix86} x86_64 %{arm} noarch +%endif + +BuildRequires: %{?scl_prefix}nodejs-devel +BuildRequires: %{?scl_prefix}runtime + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +BuildRequires: %{?scl_prefix}npm(debuglog) +BuildRequires: %{?scl_prefix}npm(dezalgo) +BuildRequires: %{?scl_prefix}npm(graceful-fs) +BuildRequires: %{?scl_prefix}npm(once) + +Requires: %{?scl_prefix}npm(debuglog) +Requires: %{?scl_prefix}npm(dezalgo) +Requires: %{?scl_prefix}npm(graceful-fs) +Requires: %{?scl_prefix}npm(once) + +%description +Like `fs.readdir` but handling `@org/module` dirs as if they were a single entry. + +%prep +%setup -q -n package + +rm -rf node_modules + +%build + +%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 + +%endif + +%files +%{nodejs_sitelib}/readdir-scoped-modules + +%doc README.md LICENSE + +%changelog +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.2-2 +- rebuilt + +* Mon Nov 30 2015 Tomas Hrcka - 1.0.2-1 +- Initial build