Blob Blame History Raw
%{?nodejs_find_provides_and_requires}

Name:           nodejs-postgres-array
Version:        1.0.0
Release:        2%{?dist}
Summary:        Parse postgres array columns

License:        MIT
URL:            https://www.npmjs.com/package/postgres-array
Source0:        https://github.com/bendrucker/postgres-array/archive/v%{version}/%{name}-%{version}.tar.gz
BuildArch:      noarch
ExclusiveArch:  %{nodejs_arches} noarch

BuildRequires:  nodejs-packaging

BuildRequires:  npm(tape)
BuildRequires:  npm(ap)


%description
%{summary}.


%prep
%autosetup -n postgres-array-%{version}
rm -rf node_modules


%build


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/postgres-array
cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/postgres-array
%nodejs_symlink_deps


%check
%nodejs_symlink_deps --check
%{nodejs_sitelib}/tape/bin/tape test.js


%files
%{!?_licensedir:%global license %doc}
%doc readme.md
%license license
%{nodejs_sitelib}/postgres-array


%changelog
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Dec  3 2015 Tom Hughes <tom@compton.nu> - 1.0.0-1
- Initial build of 1.0.0