|
|
3f7c12 |
%{?scl:%scl_package nodejs-fs-write-stream-atomic}
|
|
|
3f7c12 |
%{!?scl:%global pkg_name %{name}}
|
|
|
3f7c12 |
|
|
|
3f7c12 |
# spec file for package nodejs-nodejs-fs-write-stream-atomic
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%global npm_name fs-write-stream-atomic
|
|
|
3f7c12 |
%{?nodejs_find_provides_and_requires}
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%global enable_tests 0
|
|
|
3f7c12 |
|
|
|
3f7c12 |
Name: %{?scl_prefix}nodejs-fs-write-stream-atomic
|
|
|
3f7c12 |
Version: 1.0.8
|
|
|
69ff40 |
Release: 2%{?dist}
|
|
|
3f7c12 |
Summary: Like `fs.createWriteStream(...)`, but atomic
|
|
|
3f7c12 |
Url: https://github.com/npm/fs-write-stream-atomic
|
|
|
3f7c12 |
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
|
|
|
3f7c12 |
License: ISC
|
|
|
3f7c12 |
|
|
|
3f7c12 |
BuildArch: noarch
|
|
|
3f7c12 |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
3f7c12 |
|
|
|
3f7c12 |
BuildRequires: %{?scl_prefix}nodejs-devel
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%if 0%{?enable_tests}
|
|
|
3f7c12 |
BuildRequires: %{?scl_prefix}npm(tap)
|
|
|
3f7c12 |
BuildRequires: %{?scl_prefix}npm(standard)
|
|
|
3f7c12 |
BuildRequires: %{?scl_prefix}npm(rimraf)
|
|
|
3f7c12 |
%endif
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%description
|
|
|
3f7c12 |
Like `fs.createWriteStream(...)`, but atomic
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%prep
|
|
|
3f7c12 |
%setup -q -n package
|
|
|
3f7c12 |
|
|
|
3f7c12 |
#%{nodejs_fixdep} graceful-fs
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%build
|
|
|
3f7c12 |
#nothing to do
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%install
|
|
|
3f7c12 |
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
3f7c12 |
|
|
|
3f7c12 |
cp -pr package.json index.js \
|
|
|
3f7c12 |
%{buildroot}%{nodejs_sitelib}/%{npm_name}
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%{nodejs_symlink_deps}
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%if 0%{?enable_tests}
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%check
|
|
|
3f7c12 |
%{nodejs_symlink_deps} --check
|
|
|
3f7c12 |
standard && tap --coverage test/*.js
|
|
|
3f7c12 |
%endif
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%files
|
|
|
3f7c12 |
%{nodejs_sitelib}/fs-write-stream-atomic
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%doc README.md
|
|
|
3f7c12 |
%doc LICENSE
|
|
|
3f7c12 |
|
|
|
3f7c12 |
%changelog
|
|
|
69ff40 |
* Mon May 28 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.8-2
|
|
|
69ff40 |
- Resolves: RHBZ#1543198, rebuild for multiarch
|
|
|
69ff40 |
|
|
|
3f7c12 |
* Wed Sep 07 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.8-1
|
|
|
3f7c12 |
- Updated with script
|
|
|
3f7c12 |
|
|
|
3f7c12 |
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.3-4
|
|
|
3f7c12 |
- rebuilt
|
|
|
3f7c12 |
|
|
|
3f7c12 |
* Fri Nov 27 2015 Tomas Hrcka <thrcka@redhat.com> - 1.0.3-3
|
|
|
3f7c12 |
- Enable SCL macros
|
|
|
3f7c12 |
|
|
|
3f7c12 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-2
|
|
|
3f7c12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3f7c12 |
|
|
|
3f7c12 |
* Fri May 22 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.3-1
|
|
|
3f7c12 |
- New upstream release
|
|
|
3f7c12 |
|
|
|
3f7c12 |
* Wed May 13 2015 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.0.2-1
|
|
|
3f7c12 |
- Initial build
|