[rubygem-hoe/f14] 2.9.6

Mamoru Tasaka mtasaka at fedoraproject.org
Sun Jun 26 08:43:03 UTC 2011


commit 6069a7c22af81c69a77fff997d2b5927f8db4816
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Jun 26 17:42:51 2011 +0900

    2.9.6

 .gitignore                               |    1 +
 rubygem-hoe-2.9.4-rake-dsl-include.patch |   14 --------------
 rubygem-hoe.spec                         |   20 ++++++++++++++++----
 sources                                  |    2 +-
 4 files changed, 18 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4bac0fe..83c1aa9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ hoe-2.6.1.gem
 /hoe-2.9.0.gem
 /hoe-2.9.1.gem
 /hoe-2.9.4.gem
+/hoe-2.9.6.gem
diff --git a/rubygem-hoe.spec b/rubygem-hoe.spec
index 2af3352..3ccab27 100644
--- a/rubygem-hoe.spec
+++ b/rubygem-hoe.spec
@@ -4,7 +4,7 @@
 
 Summary:    	Hoe is a simple rake/rubygems helper for project Rakefiles
 Name:       	rubygem-%{gemname}
-Version:    	2.9.4
+Version:    	2.9.6
 Release:    	1%{?dist}
 Group:      	Development/Languages
 License:    	MIT
@@ -14,8 +14,6 @@ Source0:    	http://rubygems.org/gems/%{gemname}-%{version}.gem
 Patch0:		hoe-2.6.2-rescue-missing-Manifest.patch
 # Fix test order due to glob order issue
 Patch1:		rubygem-hoe-2.9.4-test-glob-order.patch
-# Fix place to include Rake::DSL (for newer rake)
-Patch2:		rubygem-hoe-2.9.4-rake-dsl-include.patch
 Requires:   	ruby(abi) = 1.8
 Requires:   	rubygems >= 1.3.6
 Requires:   	rubygem(rubyforge) >= 2.0.4
@@ -70,9 +68,20 @@ gem install \
 pushd .%{geminstdir}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
 
 %build
+# Allow rake 0.9
+pushd .%{gemdir}/specifications/
+sed -i -e '/rake.*0\.8/s|~>|>=|' %{gemname}-%{version}.gemspec
+popd
+pushd .%{geminstdir}
+sed -i -e '/rake/s|~> 0\.8|>= 0.8.7|' lib/hoe.rb
+
+# Allow RubyInline 3.8.4
+sed -i -e '/RubyInline/s|~> 3\.9|>= 3.8.4|' lib/hoe.rb
+
+popd
+
 
 %install
 mkdir -p %{buildroot}%{gemdir}
@@ -119,6 +128,9 @@ popd
 %{gemdir}/doc/%{gemname}-%{version}
 
 %changelog
+* Sun Jun 26 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.9.6-1
+- 2.9.6
+
 * Sun Apr  3 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.9.4-1
 - 2.9.4
 
diff --git a/sources b/sources
index 661ef05..0d45d8c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-351c82af1ea045d51b4aae5ae7be7ba5  hoe-2.9.4.gem
+521cea11e227d56727e38b39653e5f10  hoe-2.9.6.gem


More information about the scm-commits mailing list