Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
This commit is contained in:
parent
3761ec59a9
commit
528b514ae1
@ -3,14 +3,12 @@
|
||||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 0.3.15
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: A simple, fast Mysql library for Ruby, binding to libmysql
|
||||
Group: Development/Languages
|
||||
License: MIT
|
||||
URL: http://github.com/brianmario/mysql2
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
Requires: ruby(release)
|
||||
Requires: ruby(rubygems)
|
||||
Requires: mariadb-libs
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
@ -18,7 +16,6 @@ BuildRequires: ruby-devel
|
||||
BuildRequires: rubygem(rspec)
|
||||
BuildRequires: mariadb-devel
|
||||
BuildRequires: mariadb-server
|
||||
Provides: rubygem(%{gem_name}) = %{version}
|
||||
|
||||
%description
|
||||
The Mysql2 gem is meant to serve the extremely common use-case of
|
||||
@ -57,8 +54,12 @@ mkdir -p %{buildroot}%{gem_dir}
|
||||
cp -pa .%{gem_dir}/* \
|
||||
%{buildroot}%{gem_dir}/
|
||||
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}/lib/mysql2
|
||||
mv %{buildroot}%{gem_instdir}/lib/mysql2/mysql2.so %{buildroot}%{gem_extdir_mri}/lib/mysql2
|
||||
mkdir -p %{buildroot}%{gem_extdir_mri}
|
||||
cp -a .%{gem_extdir_mri}/* %{buildroot}%{gem_extdir_mri}/
|
||||
|
||||
# Prevent dangling symlink in -debuginfo.
|
||||
rm -rf %{buildroot}%{gem_instdir}/ext
|
||||
|
||||
|
||||
# Remove some droppings
|
||||
rm -f %{buildroot}%{gem_instdir}/{.gitignore,.rspec,.rvmrc,.travis.yml}
|
||||
@ -74,7 +75,6 @@ rm -rf %{buildroot}%{gem_instdir}/spec
|
||||
%files
|
||||
%dir %{gem_instdir}
|
||||
%{gem_libdir}
|
||||
%exclude %{gem_instdir}/ext
|
||||
%{gem_extdir_mri}
|
||||
%exclude %{gem_cache}
|
||||
%{gem_spec}
|
||||
@ -88,6 +88,9 @@ rm -rf %{buildroot}%{gem_instdir}/spec
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 15 2014 Vít Ondruch <vondruch@redhat.com> - 0.3.15-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Changes/Ruby_2.1
|
||||
|
||||
* Tue Feb 11 2014 Miroslav Suchý <msuchy@redhat.com> 0.3.15-2
|
||||
- rebase to mysql2-0.3.15
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user