Update to pg 1.18.4.
This commit is contained in:
parent
1f3dd4a9fe
commit
7724b6371a
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@
|
||||
/pg-0.17.1.gem
|
||||
/pg-0.18.1.gem
|
||||
/pg-0.18.2.gem
|
||||
/pg-0.18.4.gem
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
Summary: A Ruby interface to the PostgreSQL RDBMS
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.18.2
|
||||
Release: 2%{?dist}
|
||||
Version: 0.18.4
|
||||
Release: 1%{?dist}
|
||||
Group: Development/Languages
|
||||
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
||||
#
|
||||
@ -12,19 +12,17 @@ Group: Development/Languages
|
||||
# the BSD 3-Clause license; the contents of the BSD file are incorrect.
|
||||
#
|
||||
License: (BSD or Ruby) and PostgreSQL
|
||||
URL: http://bitbucket.org/ged/ruby-pg/
|
||||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
URL: https://bitbucket.org/ged/ruby-pg
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
# Disable RPATH.
|
||||
# https://bitbucket.org/ged/ruby-pg/issue/183
|
||||
Patch0: rubygem-pg-0.17.1-remove-rpath.patch
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby
|
||||
BuildRequires: ruby-devel
|
||||
|
||||
BuildRequires: postgresql-server postgresql-devel
|
||||
BuildRequires: rubygem(rspec)
|
||||
# Introduced in F17.
|
||||
Obsoletes: ruby(postgres) <= 0.7.9-2010.01.28.2
|
||||
|
||||
%description
|
||||
This is the extension library to access a PostgreSQL database from Ruby.
|
||||
@ -59,14 +57,14 @@ gem build %{gem_name}.gemspec
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdir_mri}/
|
||||
|
||||
# Remove the binary extension sources and build leftovers.
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext
|
||||
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||
|
||||
# Remove useless shebangs.
|
||||
sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{gem_instdir}/Rakefile
|
||||
@ -98,12 +96,12 @@ rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
||||
popd
|
||||
|
||||
%files
|
||||
%exclude %{gem_instdir}/.gemtest
|
||||
%{gem_extdir_mri}
|
||||
%dir %{gem_instdir}
|
||||
%doc %{gem_instdir}/BSDL
|
||||
%doc %{gem_instdir}/POSTGRES
|
||||
%doc %{gem_instdir}/LICENSE
|
||||
%{gem_extdir_mri}
|
||||
%exclude %{gem_instdir}/.gemtest
|
||||
%license %{gem_instdir}/BSDL
|
||||
%license %{gem_instdir}/POSTGRES
|
||||
%license %{gem_instdir}/LICENSE
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
@ -114,19 +112,19 @@ popd
|
||||
%doc %{gem_instdir}/Contributors.rdoc
|
||||
%doc %{gem_instdir}/History.rdoc
|
||||
%doc %{gem_instdir}/Manifest.txt
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/Rakefile.cross
|
||||
%doc %{gem_instdir}/README.rdoc
|
||||
%doc %{gem_instdir}/README.ja.rdoc
|
||||
%doc %{gem_instdir}/README-OS_X.rdoc
|
||||
%doc %{gem_instdir}/README-Windows.rdoc
|
||||
%doc %{gem_instdir}/README.ja.rdoc
|
||||
%doc %{gem_instdir}/README.rdoc
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/Rakefile.cross
|
||||
%{gem_instdir}/sample
|
||||
%{gem_instdir}/spec
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 06 2016 Vít Ondruch <vondruch@redhat.com> - 0.18.2-2
|
||||
* Wed Jan 06 2016 Vít Ondruch <vondruch@redhat.com> - 0.18.4-1
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.3
|
||||
- Update to pg 1.18.4.
|
||||
|
||||
* Wed Aug 26 2015 Vít Ondruch <vondruch@redhat.com> - 0.18.2-1
|
||||
- Update to pg 1.18.2.
|
||||
|
Loading…
Reference in New Issue
Block a user