diff --git a/nodejs-fill-keys-1.0.2.tar.gz b/nodejs-fill-keys-1.0.2.tar.gz new file mode 100644 index 0000000..791785f Binary files /dev/null and b/nodejs-fill-keys-1.0.2.tar.gz differ diff --git a/nodejs-fill-keys.spec b/nodejs-fill-keys.spec new file mode 100644 index 0000000..4d40ed1 --- /dev/null +++ b/nodejs-fill-keys.spec @@ -0,0 +1,40 @@ +Name: nodejs-fill-keys +Version: 1.0.2 +Release: 1 +Summary: Fill keys in a destination that are defined on the source +License: MIT +URL: https://github.com/bendrucker/fill-keys +Source0: https://github.com/bendrucker/fill-keys/archive/v%{version}.tar.gz#/nodejs-fill-keys-%{version}.tar.gz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch +BuildRequires: nodejs-packaging +BuildRequires: npm(is-object) npm(merge-descriptors) >= 1.0.0 +BuildRequires: npm npm(tape) + +%description +Fill keys in a destination that are defined on the source. Copies +descriptors so properties like enumerable will persist. + +%prep +%setup -q -n fill-keys-%{version} +rm -rf node_modules + +%build + +%install +mkdir -p %{buildroot}%{nodejs_sitelib}/fill-keys +cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/fill-keys +%nodejs_symlink_deps + +%check +%nodejs_symlink_deps --check +%{__nodejs} --harmony %{nodejs_sitelib}/tape/bin/tape test.js + +%files +%doc readme.md +%license license +%{nodejs_sitelib}/fill-keys + +%changelog +* Tue Aug 18 2020 leiju - 1.0.2-1 +- Package init diff --git a/nodejs-fill-keys.yaml b/nodejs-fill-keys.yaml new file mode 100644 index 0000000..ff13dc1 --- /dev/null +++ b/nodejs-fill-keys.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: bendrucker/fill-keys +tag_prefix: "^v" +seperator: "."