[rubygem-atk/f14/master] - 0.90.7

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Feb 9 15:08:49 UTC 2011


commit 4a841b8606ab682e8a9ea19bbb15fd6d1edd5064
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Thu Feb 10 00:08:47 2011 +0900

    - 0.90.7

 .gitignore       |    1 +
 rubygem-atk.spec |   18 ++++++++++--------
 sources          |    2 +-
 3 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b428ee3..1d2119a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /atk-0.90.3.gem
 /atk-0.90.4.gem
 /atk-0.90.5.gem
+/atk-0.90.7.gem
diff --git a/rubygem-atk.spec b/rubygem-atk.spec
index 22e4c59..ab1d2f2 100644
--- a/rubygem-atk.spec
+++ b/rubygem-atk.spec
@@ -5,14 +5,14 @@
 %global	gemname	atk
 %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 ATK-1.0.x
 Name:		rubygem-%{gemname}
-Version:	0.90.5
+Version:	0.90.7
 Release:	2%{?dist}
 Group:		Development/Languages
 # from README
@@ -95,9 +95,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}/* \
@@ -186,9 +188,6 @@ create_symlink_rec %{geminstdir}/lib %{ruby_sitelib}
 %check
 # Currently no testsuite is available
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %dir	%{geminstdir}
@@ -220,6 +219,9 @@ rm -rf %{buildroot}
 %{geminstdir}/Rakefile
 
 %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 a10fb4c..3cff2e5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-91567b259afad58a05cfbdb42089b1a0  atk-0.90.5.gem
+3be2ba91902ba2c4491305023d0c62b8  atk-0.90.7.gem


More information about the scm-commits mailing list