From 3f7c12ba6b98e6a801b726068e16a0895be8aa99 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Apr 26 2017 10:03:41 +0000 Subject: import rh-nodejs6-nodejs-fs-write-stream-atomic-1.0.8-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bb794c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/fs-write-stream-atomic-1.0.8.tgz diff --git a/.rh-nodejs6-nodejs-fs-write-stream-atomic.metadata b/.rh-nodejs6-nodejs-fs-write-stream-atomic.metadata new file mode 100644 index 0000000..06d5d00 --- /dev/null +++ b/.rh-nodejs6-nodejs-fs-write-stream-atomic.metadata @@ -0,0 +1 @@ +e49aaddf288f87d46ff9e882f216a13abc40778b SOURCES/fs-write-stream-atomic-1.0.8.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-fs-write-stream-atomic.spec b/SPECS/nodejs-fs-write-stream-atomic.spec new file mode 100644 index 0000000..735bba1 --- /dev/null +++ b/SPECS/nodejs-fs-write-stream-atomic.spec @@ -0,0 +1,79 @@ +%{?scl:%scl_package nodejs-fs-write-stream-atomic} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-fs-write-stream-atomic + +%global npm_name fs-write-stream-atomic +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-fs-write-stream-atomic +Version: 1.0.8 +Release: 1%{?dist} +Summary: Like `fs.createWriteStream(...)`, but atomic +Url: https://github.com/npm/fs-write-stream-atomic +Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz +License: ISC + +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: %{?scl_prefix}nodejs-devel + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(tap) +BuildRequires: %{?scl_prefix}npm(standard) +BuildRequires: %{?scl_prefix}npm(rimraf) +%endif + +%description +Like `fs.createWriteStream(...)`, but atomic + +%prep +%setup -q -n package + +#%{nodejs_fixdep} graceful-fs + +%build +#nothing to do + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name} + +cp -pr package.json index.js \ + %{buildroot}%{nodejs_sitelib}/%{npm_name} + +%{nodejs_symlink_deps} + +%if 0%{?enable_tests} + +%check +%{nodejs_symlink_deps} --check +standard && tap --coverage test/*.js +%endif + +%files +%{nodejs_sitelib}/fs-write-stream-atomic + +%doc README.md +%doc LICENSE + +%changelog +* Wed Sep 07 2016 Zuzana Svetlikova - 1.0.8-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.0.3-4 +- rebuilt + +* Fri Nov 27 2015 Tomas Hrcka - 1.0.3-3 +- Enable SCL macros + +* Wed Jun 17 2015 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri May 22 2015 Zuzana Svetlikova - 1.0.3-1 +- New upstream release + +* Wed May 13 2015 Zuzana Svetlikova - 1.0.2-1 +- Initial build