diff --git a/bunker-0.1.2.tgz b/bunker-0.1.2.tgz new file mode 100644 index 0000000..e84f1be Binary files /dev/null and b/bunker-0.1.2.tgz differ diff --git a/nodejs-bunker.spec b/nodejs-bunker.spec new file mode 100644 index 0000000..23f4a46 --- /dev/null +++ b/nodejs-bunker.spec @@ -0,0 +1,32 @@ +%{?nodejs_find_provides_and_requires} +Name: nodejs-bunker +Version: 0.1.2 +Release: 1 +Summary: Code coverage in native JavaScript +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +License: MIT +URL: https://github.com/substack/node-bunker +Source0: http://registry.npmjs.org/bunker/-/bunker-%{version}.tgz +BuildRequires: nodejs-packaging +%description +Bunker is a module to calculate code coverage written in native JavaScript. +It uses AST trickery with the help of the nodejs-burrito package. + +%prep +%setup -q -n package + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/bunker +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/bunker +%nodejs_symlink_deps + +%files +%{nodejs_sitelib}/bunker +%doc README.markdown example + +%changelog +* Mon Aug 10 2020 wutao - 0.1.2-1 +- package init diff --git a/nodejs-bunker.yaml b/nodejs-bunker.yaml new file mode 100644 index 0000000..a61cfe2 --- /dev/null +++ b/nodejs-bunker.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: substack/node-bunker +tag_prefix: "^" +seperator: "."