commit
5112a7f253
BIN
nodejs-module-not-found-error-1.0.1.tar.gz
Normal file
BIN
nodejs-module-not-found-error-1.0.1.tar.gz
Normal file
Binary file not shown.
37
nodejs-module-not-found-error.spec
Normal file
37
nodejs-module-not-found-error.spec
Normal file
@ -0,0 +1,37 @@
|
||||
Name: nodejs-module-not-found-error
|
||||
Version: 1.0.1
|
||||
Release: 1
|
||||
Summary: Create a module not found error
|
||||
License: MIT
|
||||
URL: https://github.com/bendrucker/module-not-found-error
|
||||
Source0: https://github.com/bendrucker/module-not-found-error/archive/v%{version}.tar.gz#/nodejs-module-not-found-error-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
ExclusiveArch: %{nodejs_arches} noarch
|
||||
BuildRequires: nodejs-packaging
|
||||
BuildRequires: npm(tape)
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%setup -q -n module-not-found-error-%{version}
|
||||
rm -rf node_modules
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{nodejs_sitelib}/module-not-found-error
|
||||
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/module-not-found-error
|
||||
%nodejs_symlink_deps
|
||||
|
||||
%check
|
||||
%nodejs_symlink_deps --check
|
||||
%{nodejs_sitelib}/tape/bin/tape test.js
|
||||
|
||||
%files
|
||||
%doc readme.md
|
||||
%license license
|
||||
%{nodejs_sitelib}/module-not-found-error
|
||||
|
||||
%changelog
|
||||
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
|
||||
- Package init
|
||||
4
nodejs-module-not-found-error.yaml
Normal file
4
nodejs-module-not-found-error.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: bendrucker/module-not-found-error
|
||||
tag_pattern: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user