Blob Blame Raw
%global enable_tests 1
%global srcname array-union

%global commit0 d0e72cc6fbff57273032e45050c51ff44c8e137c
%global gittag0 v1.0.1
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})

Name:           nodejs-%{srcname}
Version:        1.0.1
Release:        2%{?dist}
Summary:        Create an array of unique values, in order, from the input arrays
License:        MIT
URL:  {srcname}

BuildArch:      noarch
ExclusiveArch:  %{nodejs_arches} noarch

BuildRequires:  nodejs-packaging

%if 0%{?enable_tests}
BuildRequires:  npm(array-uniq)
BuildRequires:  npm(mocha)


%setup -qn %{srcname}-%{commit0}
rm -rf node_modules/

#nothing to do

mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
cp -pr index.js package.json \


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

%license license

* Thu Feb 04 2016 Fedora Release Engineering <> - 1.0.1-2
- Rebuilt for

* Sat Oct 17 2015 Piotr Popieluch <> - 1.0.1-1
- Initial package