[rubygem-gdk_pixbuf2/f14/master] - 0.90.7

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Feb 9 15:09:24 UTC 2011


commit 07a7047feb23907ffc4e876b7c68557df471d558
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Thu Feb 10 00:09:18 2011 +0900

    - 0.90.7

 .gitignore               |    1 +
 rubygem-gdk_pixbuf2.spec |   18 ++++++++++--------
 sources                  |    2 +-
 3 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 11a15a3..c0e4dd7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /gdk_pixbuf2-0.90.5.gem
+/gdk_pixbuf2-0.90.7.gem
diff --git a/rubygem-gdk_pixbuf2.spec b/rubygem-gdk_pixbuf2.spec
index 40d0c7a..b8fab11 100644
--- a/rubygem-gdk_pixbuf2.spec
+++ b/rubygem-gdk_pixbuf2.spec
@@ -5,14 +5,14 @@
 %global	gemname	gdk_pixbuf2
 %global	geminstdir	%{gemdir}/gems/%{gemname}-%{version}
 
-%global	glibminver	0.90.5
-%global	obsoleteevr	0.90.5-1.999
+%global	glibminver	0.90.7
+%global	obsoleteevr	0.90.7-1.999
 
 %global	rubyabi	1.8
 
 Summary:	Ruby binding of GdkPixbuf-2.x
 Name:		rubygem-%{gemname}
-Version:	0.90.5
+Version:	0.90.7
 Release:	2%{?dist}
 Group:		Development/Languages
 # from README
@@ -106,9 +106,11 @@ grep -rl '%{gemname}.so' . | \
 		-e "\@require at s|'%{gemname}.so'|'ruby-gnome2/%{gemname}.so'|" \
 		-e '\@require at s|"%{gemname}.so"|"ruby-gnome2/%{gemname}.so"|'
 
-%install
-rm -rf %{buildroot}
+# Fix up Rakefile for "gnome2-raketask" requirement
+sed -i -e "/require.*gnome2-raketask/s|^\(.*\)|begin\n  \1\nrescue LoadError\n  require 'rubygems'\n  require 'gnome2-raketask'\nend\n|" \
+	Rakefile
 
+%install
 # Once copy all
 mkdir -p %{buildroot}%{gemdir}
 cp -a .%{gemdir}/* \
@@ -197,9 +199,6 @@ create_symlink_rec %{geminstdir}/lib %{ruby_sitelib}
 %check
 # Currently no testsuite is available
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %dir	%{geminstdir}
@@ -230,6 +229,9 @@ rm -rf %{buildroot}
 %{geminstdir}/sample/
 
 %changelog
+* Wed Feb  9 2011 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.90.7-2
+- 0.90.7
+
 * Sun Oct 31 2010 Mamoru Taska  <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.90.5-2
 - 0.90.5
 - Move C extension so that "require %%gemname" works correctly
diff --git a/sources b/sources
index 0986c81..ecd47c1 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-2a5fe5f080e4f3ee85a451ef3dcd65a0  gdk_pixbuf2-0.90.5.gem
+0b3e3ec8c28c673cdfabae483ce7342a  gdk_pixbuf2-0.90.7.gem


More information about the scm-commits mailing list