Blob Blame Raw
%{?nodejs_find_provides_and_requires}

Name:           nodejs-pg-types
Version:        1.11.0
Release:        2%{?dist}
Summary:        Query result type converters for node-postgres

License:        MIT
URL:            https://www.npmjs.com/package/pg-types
Source0:        https://registry.npmjs.org/pg-types/-/pg-types-%{version}.tgz
BuildArch:      noarch
ExclusiveArch:  %{nodejs_arches} noarch

BuildRequires:  nodejs-packaging

BuildRequires:  npm(tape)
BuildRequires:  npm(ap)
BuildRequires:  npm(pff)
BuildRequires:  npm(postgres-array)
BuildRequires:  npm(postgres-bytea)
BuildRequires:  npm(postgres-date)
BuildRequires:  npm(postgres-interval)


%description
%{summary}.


%prep
%autosetup -n package
rm -rf node_modules


%build


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/pg-types
cp -pr package.json index.js lib %{buildroot}%{nodejs_sitelib}/pg-types
%nodejs_symlink_deps


%check
%nodejs_symlink_deps --check
TZ=UTC %{nodejs_sitelib}/tape/bin/tape test/*.js


%files
%doc README.md
%{nodejs_sitelib}/pg-types


%changelog
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Sun Apr 24 2016 Tom Hughes <tom@compton.nu> - 1.11.0-1
- Update to 1.11.0 upstreamrelease

* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Dec  9 2015 Tom Hughes <tom@compton.nu> - 1.10.0-2
- Enable tests

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