F-19: Rebuild for ruby 2.0.0
This commit is contained in:
parent
fb8c19a8e2
commit
7bc52c3bce
@ -4,7 +4,9 @@
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 7
|
||||
%if 0%{?fedora} < 19
|
||||
%global rubyabi 1.9.1
|
||||
%endif
|
||||
%global header_dir %{ruby_vendorarchdir}
|
||||
%global ruby19 1
|
||||
%else
|
||||
@ -22,7 +24,7 @@
|
||||
Summary: Ruby bindings for cairo
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: %{gemver}
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Group: Development/Languages
|
||||
License: GPLv2 or Ruby
|
||||
URL: http://cairographics.org/rcairo/
|
||||
@ -34,7 +36,16 @@ Source0: %{gem_name}-%{gemver}-%{gem_githash}.gem
|
||||
# Git based gem is created by below
|
||||
Source1: create-cairo-gem.sh
|
||||
|
||||
%if 0%{?fedora} >= 19
|
||||
Requires: ruby(release)
|
||||
BuildRequires: ruby(release)
|
||||
%else
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: ruby
|
||||
BuildRequires: ruby(abi) = %{rubyabi}
|
||||
BuildRequires: ruby
|
||||
%endif
|
||||
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: ruby-devel
|
||||
@ -44,7 +55,6 @@ BuildRequires: rubygem(pkg-config)
|
||||
# Make sure at least one font is available for test/test_context.rb:57
|
||||
# `initialize': out of memory (NoMemoryError)
|
||||
BuildRequires: dejavu-serif-fonts
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: rubygems
|
||||
Provides: rubygem(%{gem_name}) = %{version}-%{release}
|
||||
|
||||
@ -285,6 +295,9 @@ popd
|
||||
%{header_dir}/rb_cairo.h
|
||||
|
||||
%changelog
|
||||
* Sun Mar 3 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.12.3-3
|
||||
- F-19: Rebuild for ruby 2.0.0
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.12.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user