Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
This commit is contained in:
parent
f852869233
commit
aeb6375562
@ -4,7 +4,7 @@
|
||||
Summary: A Ruby interface to the PostgreSQL RDBMS
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.14.1
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Group: Development/Languages
|
||||
# Upstream license clarification (https://bitbucket.org/ged/ruby-pg/issue/72/)
|
||||
#
|
||||
@ -15,8 +15,6 @@ License: (BSD or Ruby) and PostgreSQL
|
||||
URL: http://bitbucket.org/ged/ruby-pg/
|
||||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
Patch0: rubygem-pg-0.15.0.pre.432-Adding-some-fixes-for-PostgreSQL-9.2.x.patch
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems)
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: rubygems-devel
|
||||
@ -25,7 +23,6 @@ BuildRequires: postgresql-server postgresql-devel
|
||||
BuildRequires: rubygem(rspec)
|
||||
# Introduced in F17.
|
||||
Obsoletes: ruby(postgres) <= 0.7.9-2010.01.28.2
|
||||
Provides: rubygem(%{gem_name}) = %{version}
|
||||
|
||||
%description
|
||||
This is the extension library to access a PostgreSQL database from Ruby.
|
||||
@ -54,11 +51,11 @@ popd
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{gem_dir}
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}/lib
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||
cp -a .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mv %{buildroot}%{gem_libdir}/pg_ext.so %{buildroot}%{gem_extdir_mri}/lib
|
||||
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
|
||||
@ -85,7 +82,7 @@ done
|
||||
|
||||
%check
|
||||
pushd .%{gem_instdir}
|
||||
rspec spec
|
||||
rspec -I$(dirs +1)%{gem_extdir_mri} spec
|
||||
popd
|
||||
|
||||
%files
|
||||
@ -116,6 +113,9 @@ popd
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 15 2014 Vít Ondruch <vondruch@redhat.com> - 0.14.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user