Sophie

Sophie

distrib > Mageia > cauldron > i586 > media > core-release-src > by-pkgid > 6298c337da9fcd0cec74e12b5a47f272 > files > 2

nodejs-collection-visit-1.0.0-5.mga9.src.rpm

%global npm_name collection-visit
%global enable_tests 1

Name: nodejs-%{npm_name}
Version: 1.0.0
Release: %mkrel 5
Summary: Visit a method over the items in an object
License: MIT
Group: Development/Other
URL: https://github.com/jonschlinkert/collection-visit
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
BuildRequires: nodejs-packaging
Requires: npm(map-visit)
Requires: npm(object-visit)
BuildArch: noarch

%description
Visit a method over the items in an object,
or map visit over the objects in an array.

%prep
%setup -q -n package

%build
# Nothing to do here

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}

%nodejs_symlink_deps

%if 0%{?enable_tests}
%check
%{nodejs_symlink_deps} --check
%endif

%files
%{nodejs_sitelib}/%{npm_name}
%license LICENSE
%doc README.md



%changelog
* Wed Mar 23 2022 umeabot <umeabot> 1.0.0-5.mga9
+ Revision: 1820235
- Mageia 9 Mass Rebuild

* Sat Jul 04 2020 joequant <joequant> 1.0.0-4.mga8
+ Revision: 1601968
- redo deps

* Wed Feb 12 2020 umeabot <umeabot> 1.0.0-3.mga8
+ Revision: 1502503
- Mageia 8 Mass Rebuild

* Thu Sep 20 2018 umeabot <umeabot> 1.0.0-2.mga7
+ Revision: 1280189
- Mageia 7 Mass Rebuild

* Thu May 03 2018 kekepower <kekepower> 1.0.0-1.mga7
+ Revision: 1225827
- imported package nodejs-collection-visit