!1 package init

Merge pull request !1 from yaokai13/master
This commit is contained in:
openeuler-ci-bot 2020-08-22 13:13:02 +08:00 committed by Gitee
commit 5112a7f253
3 changed files with 41 additions and 0 deletions

Binary file not shown.

View 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

View File

@ -0,0 +1,4 @@
version_control: github
src_repo: bendrucker/module-not-found-error
tag_pattern: "^v"
seperator: "."