Fix PostgreSQL 11 compatibility.
This commit is contained in:
parent
ae3d7f9ded
commit
f4c55ad7ce
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A Ruby interface to the PostgreSQL RDBMS
|
Summary: A Ruby interface to the PostgreSQL RDBMS
|
||||||
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
||||||
#
|
#
|
||||||
@ -16,6 +16,9 @@ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|||||||
# Disable RPATH.
|
# Disable RPATH.
|
||||||
# https://bitbucket.org/ged/ruby-pg/issue/183
|
# https://bitbucket.org/ged/ruby-pg/issue/183
|
||||||
Patch0: rubygem-pg-0.17.1-remove-rpath.patch
|
Patch0: rubygem-pg-0.17.1-remove-rpath.patch
|
||||||
|
# Fix compatibility with PG11.
|
||||||
|
# https://bitbucket.org/ged/ruby-pg/issues/287/pg-connection-server-ping-returns-correct
|
||||||
|
Patch1: rubygem-pg-1.1.3-Fix-specs-for-PostgreSQL-11.patch
|
||||||
# Required in ext/pg_text_decoder.c
|
# Required in ext/pg_text_decoder.c
|
||||||
Requires: rubygem(bigdecimal)
|
Requires: rubygem(bigdecimal)
|
||||||
BuildRequires: ruby(release)
|
BuildRequires: ruby(release)
|
||||||
@ -46,6 +49,7 @@ Documentation for %{name}.
|
|||||||
%setup -q -n %{gem_name}-%{version}
|
%setup -q -n %{gem_name}-%{version}
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Create the gem as gem install only works on a gem file
|
# Create the gem as gem install only works on a gem file
|
||||||
@ -121,6 +125,9 @@ popd
|
|||||||
%{gem_instdir}/spec
|
%{gem_instdir}/spec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 09 2019 Vít Ondruch <vondruch@redhat.com> - 1.1.3-2
|
||||||
|
- Fix PostgreSQL 11 compatibility.
|
||||||
|
|
||||||
* Tue Sep 18 2018 Jun Aruga <jaruga@redhat.com> - 1.1.3-1
|
* Tue Sep 18 2018 Jun Aruga <jaruga@redhat.com> - 1.1.3-1
|
||||||
- Update to pg 1.1.3.
|
- Update to pg 1.1.3.
|
||||||
- Update to output log when tests fail.
|
- Update to output log when tests fail.
|
||||||
|
Loading…
Reference in New Issue
Block a user