Update to pg 1.18.2.

This commit is contained in:
Vít Ondruch 2015-08-26 16:51:55 +02:00
parent ab4c5a68a6
commit 4a40f92cf0
3 changed files with 8 additions and 9 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@
/pg-0.14.1.gem /pg-0.14.1.gem
/pg-0.17.1.gem /pg-0.17.1.gem
/pg-0.18.1.gem /pg-0.18.1.gem
/pg-0.18.2.gem

View File

@ -3,8 +3,8 @@
Summary: A Ruby interface to the PostgreSQL RDBMS Summary: A Ruby interface to the PostgreSQL RDBMS
Name: rubygem-%{gem_name} Name: rubygem-%{gem_name}
Version: 0.18.1 Version: 0.18.2
Release: 2%{?dist} Release: 1%{?dist}
Group: Development/Languages Group: Development/Languages
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/) # Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
# #
@ -80,7 +80,7 @@ done
# Fix shebangs and executable bits of samples. # Fix shebangs and executable bits of samples.
for file in `find %{buildroot}%{gem_instdir}/sample -type f -name "*.rb"`; do for file in `find %{buildroot}%{gem_instdir}/sample -type f -name "*.rb"`; do
sed -i -e 's/^#!\/usr\/bin\/env spec/#!\/usr\/bin\/ruby/' $file \ sed -i -e '/^#!\/usr\/bin\/env/ s/.*/#!\/usr\/bin\/ruby/' $file \
&& chmod -v 755 $file && chmod -v 755 $file
done done
@ -94,11 +94,6 @@ done
%check %check
pushd .%{gem_instdir} pushd .%{gem_instdir}
# The hostaddr support never get into Postgres 9.4.
# https://bitbucket.org/ged/ruby-pg/issue/202/hostaddr-with-postgres-94
sed -i '/hostaddr/ s/^/#/' spec/pg/connection_spec.rb
rspec -I$(dirs +1)%{gem_extdir_mri} spec rspec -I$(dirs +1)%{gem_extdir_mri} spec
popd popd
@ -130,6 +125,9 @@ popd
%changelog %changelog
* Wed Aug 26 2015 Vít Ondruch <vondruch@redhat.com> - 0.18.2-1
- Update to pg 1.18.2.
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.1-2 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

View File

@ -1 +1 @@
bc21aeb047b159ef68de2a84061e7f80 pg-0.18.1.gem 8a963b46ddc65141c3a863b891e91449 pg-0.18.2.gem