From 25b8dcf9b78d58d505c87e5c793353d545efbedf Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 24 2017 08:26:07 +0000 Subject: import rh-nodejs8-nodejs-write-file-atomic-1.1.4-2.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f69b406 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/write-file-atomic-1.1.4.tgz diff --git a/.rh-nodejs8-nodejs-write-file-atomic.metadata b/.rh-nodejs8-nodejs-write-file-atomic.metadata new file mode 100644 index 0000000..e14f867 --- /dev/null +++ b/.rh-nodejs8-nodejs-write-file-atomic.metadata @@ -0,0 +1 @@ +b1f52dc2e8dc0e3cb04d187a25f758a38a90ca3b SOURCES/write-file-atomic-1.1.4.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-write-file-atomic.spec b/SPECS/nodejs-write-file-atomic.spec new file mode 100644 index 0000000..0f73bd7 --- /dev/null +++ b/SPECS/nodejs-write-file-atomic.spec @@ -0,0 +1,83 @@ +%{?scl:%scl_package nodejs-write-file-atomic} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-write-file-atomic + +%global npm_name write-file-atomic +%{?nodejs_find_provides_and_requires} + +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-write-file-atomic +Version: 1.1.4 +Release: 2%{?dist} +Summary: Write files in an atomic fashion w/configurable ownership +Url: https://github.com/iarna/write-file-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(require-inject) +BuildRequires: %{?scl_prefix}npm(tap) +%endif + +%description +Write files in an atomic fashion w/configurable ownership + +%prep +%setup -q -n package + +#%{nodejs_fixdep} graceful-fs +#%{nodejs_fixdep} slide + +%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 +tap test/*.js +%endif + +%files +%{nodejs_sitelib}/write-file-atomic + +%doc README.md +%doc LICENSE + +%changelog +* Mon Jul 03 2017 Zuzana Svetlikova - 1.1.4-2 +- rh-nodejs8 rebuild + +* Thu Sep 15 2016 Zuzana Svetlikova - 1.1.4-1 +- Updated with script + +* Sun Feb 14 2016 Zuzana Svetlikova - 1.1.2-4 +- rebuilt + +* Fri Nov 27 2015 Tomas Hrcka - 1.1.2-3 +- Enable SCL macros + +* Sat May 23 2015 Zuzana Svetlikova - 1.1.2-2 +- Added %%nodejs_fixdep macro + +* Fri May 22 2015 Zuzana Svetlikova - 1.1.2-1 +- Rebuilt with new upstream release +- minor changes + +* Thu May 14 2015 Zuzana Svetlikova - 1.1.0-1 +- Initial build