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.17.1.gem
|
||||||
/pg-0.18.1.gem
|
/pg-0.18.1.gem
|
||||||
/pg-0.18.2.gem
|
/pg-0.18.2.gem
|
||||||
|
/pg-0.18.4.gem
|
||||||
|
@ -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.2
|
Version: 0.18.4
|
||||||
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/)
|
||||||
#
|
#
|
||||||
@ -12,19 +12,17 @@ Group: Development/Languages
|
|||||||
# the BSD 3-Clause license; the contents of the BSD file are incorrect.
|
# the BSD 3-Clause license; the contents of the BSD file are incorrect.
|
||||||
#
|
#
|
||||||
License: (BSD or Ruby) and PostgreSQL
|
License: (BSD or Ruby) and PostgreSQL
|
||||||
URL: http://bitbucket.org/ged/ruby-pg/
|
URL: https://bitbucket.org/ged/ruby-pg
|
||||||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
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
|
||||||
BuildRequires: ruby(release)
|
BuildRequires: ruby(release)
|
||||||
BuildRequires: ruby-devel
|
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
BuildRequires: ruby
|
BuildRequires: ruby-devel
|
||||||
|
|
||||||
BuildRequires: postgresql-server postgresql-devel
|
BuildRequires: postgresql-server postgresql-devel
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec)
|
||||||
# Introduced in F17.
|
|
||||||
Obsoletes: ruby(postgres) <= 0.7.9-2010.01.28.2
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is the extension library to access a PostgreSQL database from Ruby.
|
This is the extension library to access a PostgreSQL database from Ruby.
|
||||||
@ -59,14 +57,14 @@ gem build %{gem_name}.gemspec
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{gem_dir}
|
mkdir -p %{buildroot}%{gem_dir}
|
||||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
|
||||||
cp -a .%{gem_dir}/* \
|
cp -a .%{gem_dir}/* \
|
||||||
%{buildroot}%{gem_dir}/
|
%{buildroot}%{gem_dir}/
|
||||||
|
|
||||||
|
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||||
cp -a .%{gem_extdir_mri}/{gem.build_complete,*.so} %{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.
|
# Prevent dangling symlink in -debuginfo (rhbz#878863).
|
||||||
rm -rf %{buildroot}%{gem_instdir}/ext
|
rm -rf %{buildroot}%{gem_instdir}/ext/
|
||||||
|
|
||||||
# Remove useless shebangs.
|
# Remove useless shebangs.
|
||||||
sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{gem_instdir}/Rakefile
|
sed -i -e '/^#!\/usr\/bin\/env/d' %{buildroot}%{gem_instdir}/Rakefile
|
||||||
@ -98,12 +96,12 @@ rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%exclude %{gem_instdir}/.gemtest
|
|
||||||
%{gem_extdir_mri}
|
|
||||||
%dir %{gem_instdir}
|
%dir %{gem_instdir}
|
||||||
%doc %{gem_instdir}/BSDL
|
%{gem_extdir_mri}
|
||||||
%doc %{gem_instdir}/POSTGRES
|
%exclude %{gem_instdir}/.gemtest
|
||||||
%doc %{gem_instdir}/LICENSE
|
%license %{gem_instdir}/BSDL
|
||||||
|
%license %{gem_instdir}/POSTGRES
|
||||||
|
%license %{gem_instdir}/LICENSE
|
||||||
%{gem_libdir}
|
%{gem_libdir}
|
||||||
%exclude %{gem_cache}
|
%exclude %{gem_cache}
|
||||||
%{gem_spec}
|
%{gem_spec}
|
||||||
@ -114,19 +112,19 @@ popd
|
|||||||
%doc %{gem_instdir}/Contributors.rdoc
|
%doc %{gem_instdir}/Contributors.rdoc
|
||||||
%doc %{gem_instdir}/History.rdoc
|
%doc %{gem_instdir}/History.rdoc
|
||||||
%doc %{gem_instdir}/Manifest.txt
|
%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-OS_X.rdoc
|
||||||
%doc %{gem_instdir}/README-Windows.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}/sample
|
||||||
%{gem_instdir}/spec
|
%{gem_instdir}/spec
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
- 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
|
* Wed Aug 26 2015 Vít Ondruch <vondruch@redhat.com> - 0.18.2-1
|
||||||
- Update to pg 1.18.2.
|
- Update to pg 1.18.2.
|
||||||
|
Loading…
Reference in New Issue
Block a user