update to 4.12.0
This commit is contained in:
parent
9d649462be
commit
c7564344df
BIN
nodejs-mock-fs-4.12.0.tar.gz
Normal file
BIN
nodejs-mock-fs-4.12.0.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,41 +1,58 @@
|
|||||||
%{?nodejs_find_provides_and_requires}
|
%{?nodejs_find_provides_and_requires}
|
||||||
Name: nodejs-mock-fs
|
|
||||||
Version: 4.8.0
|
Name: nodejs-mock-fs
|
||||||
Release: 1
|
Version: 4.12.0
|
||||||
Summary: A configurable mock file system
|
Release: 1
|
||||||
License: MIT
|
Summary: A configurable mock file system
|
||||||
URL: https://www.npmjs.com/package/mock-fs
|
|
||||||
Source0: https://github.com/tschaub/mock-fs/archive/v%{version}/%{name}-%{version}.tar.gz
|
License: MIT
|
||||||
BuildArch: noarch
|
URL: https://www.npmjs.com/package/mock-fs
|
||||||
ExclusiveArch: %{nodejs_arches} noarch
|
Source0: https://github.com/tschaub/mock-fs/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: nodejs-packaging
|
BuildArch: noarch
|
||||||
BuildRequires: npm(mocha) npm(chai) npm(semver)
|
ExclusiveArch: %{nodejs_arches} noarch
|
||||||
|
|
||||||
|
BuildRequires: nodejs-packaging
|
||||||
|
|
||||||
|
BuildRequires: npm(mocha)
|
||||||
|
BuildRequires: npm(chai)
|
||||||
|
BuildRequires: npm(semver)
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The mock-fs module allows Node's built-in fs module to be backed
|
The mock-fs module allows Node's built-in fs module to be backed
|
||||||
temporarily by an in-memory, mock file system. This lets you run
|
temporarily by an in-memory, mock file system. This lets you run
|
||||||
tests against a set of mock files and directories instead of lugging
|
tests against a set of mock files and directories instead of lugging
|
||||||
around a bunch of test fixtures.
|
around a bunch of test fixtures.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p 1 -n mock-fs-%{version}
|
%autosetup -p 1 -n mock-fs-%{version}
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{nodejs_sitelib}/mock-fs
|
mkdir -p %{buildroot}%{nodejs_sitelib}/mock-fs
|
||||||
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/mock-fs
|
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/mock-fs
|
||||||
%nodejs_symlink_deps
|
%nodejs_symlink_deps
|
||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%nodejs_symlink_deps --check
|
%nodejs_symlink_deps --check
|
||||||
%{nodejs_sitelib}/mocha/bin/mocha --recursive test
|
%{nodejs_sitelib}/mocha/bin/mocha --recursive test
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc readme.md changelog.md
|
%doc readme.md changelog.md
|
||||||
%license license.md
|
%license license.md
|
||||||
%{nodejs_sitelib}/mock-fs
|
%{nodejs_sitelib}/mock-fs
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 31 2020 Ge Wang <wangge20@huawei.com> - 4.12.0-1
|
||||||
|
- Update to 4.12.0
|
||||||
|
|
||||||
* Thu Aug 20 2020 Ge Wang <wangge20@huawei.com> - 4.8.0-1
|
* Thu Aug 20 2020 Ge Wang <wangge20@huawei.com> - 4.8.0-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user