diff --git a/nodejs-module-not-found-error-1.0.1.tar.gz b/nodejs-module-not-found-error-1.0.1.tar.gz new file mode 100644 index 0000000..c58cf65 Binary files /dev/null and b/nodejs-module-not-found-error-1.0.1.tar.gz differ diff --git a/nodejs-module-not-found-error.spec b/nodejs-module-not-found-error.spec new file mode 100644 index 0000000..7698f36 --- /dev/null +++ b/nodejs-module-not-found-error.spec @@ -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 - 1.0.1-1 +- Package init diff --git a/nodejs-module-not-found-error.yaml b/nodejs-module-not-found-error.yaml new file mode 100644 index 0000000..6ad8f60 --- /dev/null +++ b/nodejs-module-not-found-error.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: bendrucker/module-not-found-error +tag_pattern: "^v" +seperator: "."