Blame nodejs-sliced.spec

2305c86
%{?nodejs_find_provides_and_requires}
2305c86
2305c86
Name:           nodejs-sliced
2305c86
Version:        1.0.1
921356a
Release:        5%{?dist}
2305c86
Summary:        A faster alternative to [].slice.call(arguments)
2305c86
2305c86
License:        MIT
2305c86
URL:            https://www.npmjs.com/package/sliced
2305c86
Source0:        https://github.com/aheckmann/sliced/archive/%{version}/%{name}-%{version}.tar.gz
2305c86
BuildArch:      noarch
2305c86
ExclusiveArch:  %{nodejs_arches} noarch
2305c86
2305c86
BuildRequires:  nodejs-packaging
2305c86
2305c86
BuildRequires:  npm(mocha)
2305c86
2305c86
2305c86
%description
2305c86
%{summary}.
2305c86
2305c86
2305c86
%prep
2305c86
%autosetup -n sliced-%{version}
2305c86
rm -rf node_modules
2305c86
2305c86
2305c86
%build
2305c86
2305c86
2305c86
%install
2305c86
mkdir -p %{buildroot}%{nodejs_sitelib}/sliced
2305c86
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/sliced
2305c86
%nodejs_symlink_deps
2305c86
2305c86
2305c86
%check
2305c86
%nodejs_symlink_deps --check
2305c86
%{nodejs_sitelib}/mocha/bin/mocha
2305c86
2305c86
2305c86
%files
2305c86
%doc README.md
2305c86
%license LICENSE
2305c86
%{nodejs_sitelib}/sliced
2305c86
2305c86
2305c86
%changelog
921356a
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-5
921356a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
921356a
8f50efc
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-4
8f50efc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
8f50efc
fa174ed
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-3
fa174ed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fa174ed
533cdfd
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
533cdfd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
533cdfd
2305c86
* Thu Mar  8 2018 Tom Hughes <tom@compton.nu> - 1.0.1-1
2305c86
- Initial build of 1.0.1.