rebuild against f17-ruby
This commit is contained in:
parent
5555a4489b
commit
23f1beef9f
1 changed files with 8 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
%if 0%{?fedora} >= 18
|
||||
%if 0%{?fedora} >= 17
|
||||
%global rubyabi 1.9.1
|
||||
%global header_dir %{ruby_vendorarchdir}
|
||||
%global ruby19 1
|
||||
|
|
@ -11,21 +11,15 @@
|
|||
%global ruby19 0
|
||||
%endif
|
||||
|
||||
%global gem_name gdk_pixbuf2
|
||||
|
||||
%global glibminver 1.1.0
|
||||
%global obsoleteevr 0.90.7-1.999
|
||||
%global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
|
||||
%global ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")
|
||||
|
||||
%global gem_dir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
|
||||
%global gem_name gio2
|
||||
%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{version}
|
||||
|
||||
Summary: Ruby binding of gio-2.0.x
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.1.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Group: Development/Languages
|
||||
# from README
|
||||
License: LGPLv2
|
||||
|
|
@ -38,6 +32,7 @@ BuildRequires: rubygem-glib2-devel >= %{glibminver}
|
|||
BuildRequires: ruby-devel
|
||||
# For Patch0:
|
||||
BuildRequires: rubygem(rake-compiler)
|
||||
BuildRequires: rubygem(test-unit)
|
||||
Requires: ruby(abi) = %{rubyabi}
|
||||
Requires: rubygems
|
||||
Requires: rubygem(glib2) >= %{glibminver}
|
||||
|
|
@ -224,8 +219,12 @@ ruby -rubygems -Ilib test/load-test.rb
|
|||
|
||||
%{gem_instdir}/lib/%{gem_name}.rb
|
||||
%{gem_instdir}/lib/%{gem_name}/deprecated.rb
|
||||
%if 0%{ruby19}
|
||||
%{gem_extdir}/lib/%{gem_name}.so
|
||||
%else
|
||||
# %%ruby_sitearch/ruby-gnome2 is owned by rubygem-glib2
|
||||
%{ruby_sitearch}/ruby-gnome2/%{gem_name}.so
|
||||
%endif
|
||||
|
||||
%{gem_cache}
|
||||
%{gem_spec}
|
||||
|
|
@ -248,7 +247,7 @@ ruby -rubygems -Ilib test/load-test.rb
|
|||
%{gem_instdir}/test/
|
||||
|
||||
%changelog
|
||||
* Mon Jan 30 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.1.2-1
|
||||
* Mon Jan 30 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.1.2-2
|
||||
- 1.1.2
|
||||
|
||||
* Sun Jan 15 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 1.1.1-1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue