Projects
Mega:23.09
nodejs-graceful-fs
_service:tar_scm:nodejs-graceful-fs.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:nodejs-graceful-fs.spec of Package nodejs-graceful-fs
%{?nodejs_find_provides_and_requires} %global enable_tests 0 Name: nodejs-graceful-fs Version: 4.2.11 Release: 1 Summary: A drop-in replacement for fs, making various improvements License: ISC URL: https://github.com/isaacs/node-graceful-fs Source0: https://github.com/isaacs/node-graceful-fs/archive/v%{version}/node-graceful-fs-%{version}.tar.gz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging BuildRequires: npm(tap) npm(rimraf) %description A drop-in replacement for fs, making various improvements. The improvements are meant to normalize behavior across different platforms and environments, and to make filesystem access more resilient to errors. Improvements over fs module * Queues up open and readdir calls, and retries them once something closes if there is an EMFILE error from too many file descriptors. * Fixes lchmod for Node versions prior to 0.6.2. * Implements fs.lutimes if possible. Otherwise it becomes a noop. * Ignores EINVAL and EPERM errors in chown, fchown or lchown if the user isn't root. * Makes lchmod and lchown become noops, if not available. * Retries reading a file if read results in EAGAIN error. On Windows, it retries renaming a file for up to one second if EACCESS or EPERM error occurs, likely because antivirus software has locked the directory. %prep %autosetup -n node-graceful-fs-%{version} %build %install mkdir -p %{buildroot}%{nodejs_sitelib}/graceful-fs cp -p package.json graceful-fs.js polyfills.js legacy-streams.js clone.js \ %{buildroot}%{nodejs_sitelib}/graceful-fs %nodejs_symlink_deps %check %nodejs_symlink_deps --check %{__nodejs} -e 'require("./")' %if 0%{?enable_tests} %{_bindir}/tap test/*.js %else %{_bindir}/echo -e "\e[101m -=#=- Tests disabled -=#=- \e[0m" %endif %files %doc README.md %license LICENSE %{nodejs_sitelib}/graceful-fs %changelog * Tue Oct 31 2023 Ge Wang <wang__ge@126.com> - 4.2.11-1 - Update to version 4.2.11 * Tue Jan 05 2021 huanghaitao <huanghaitao8@huawei.com> -4.1.11-2 - Modify Spec file to make license consistent * Thu Aug 20 2020 Anan Fu <fuanan3@huawei.com> - 4.1.11-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2