[rubygem-hoe] 2.12.2

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Aug 27 19:32:58 UTC 2011


commit d78988de151953c16f89d5892082cab4e960488b
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Aug 28 04:32:44 2011 +0900

    2.12.2

 .gitignore                                       |    1 +
 hoe-2.6.2-rescue-missing-Manifest.patch          |   11 -----------
 rubygem-hoe-2.12.0-test-glob-order.patch         |    9 ---------
 rubygem-hoe-2.12.2-rescue-missing-Manifest.patch |   11 +++++++++++
 rubygem-hoe.spec                                 |   17 +++++++++--------
 sources                                          |    2 +-
 6 files changed, 22 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9e50ec2..70290f6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ hoe-2.6.1.gem
 /hoe-2.9.6.gem
 /hoe-2.10.0.gem
 /hoe-2.12.0.gem
+/hoe-2.12.2.gem
diff --git a/rubygem-hoe-2.12.2-rescue-missing-Manifest.patch b/rubygem-hoe-2.12.2-rescue-missing-Manifest.patch
new file mode 100644
index 0000000..47bff9c
--- /dev/null
+++ b/rubygem-hoe-2.12.2-rescue-missing-Manifest.patch
@@ -0,0 +1,11 @@
+--- lib/hoe.rb.manifest	1970-01-01 09:00:00.000000000 +0900
++++ lib/hoe.rb	2011-08-28 04:15:47.000000000 +0900
+@@ -424,7 +424,7 @@
+ 
+       manifest = File.read_utf("Manifest.txt").split(/\r?\n\r?/) rescue nil
+ 
+-      abort [
++      warn [
+              "Manifest is missing or couldn't be read.",
+              "The Manifest is kind of a big deal.",
+              "Maybe you're using a gem packaged by a linux project.",
diff --git a/rubygem-hoe.spec b/rubygem-hoe.spec
old mode 100755
new mode 100644
index a1b13e0..6eb56bb
--- a/rubygem-hoe.spec
+++ b/rubygem-hoe.spec
@@ -4,16 +4,15 @@
 
 Summary:    	Hoe is a simple rake/rubygems helper for project Rakefiles
 Name:       	rubygem-%{gemname}
-Version:    	2.12.0
-Release:    	2%{?dist}
+Version:    	2.12.2
+Release:    	1%{?dist}
 Group:      	Development/Languages
 License:    	MIT
 URL:        	http://rubyforge.org/projects/seattlerb/
 Source0:    	http://rubygems.org/gems/%{gemname}-%{version}.gem
 # Rescue Hoe.spec task when Manifest.txt
-Patch0:		hoe-2.6.2-rescue-missing-Manifest.patch
-# Fix test order due to glob order issue
-Patch1:		rubygem-hoe-2.12.0-test-glob-order.patch
+# seattlerb-Bugs-28571
+Patch0:		rubygem-hoe-2.12.2-rescue-missing-Manifest.patch
 Requires:   	ruby(abi) = 1.8
 Requires:   	rubygems >= 1.3.6
 Requires:   	rubygem(rubyforge) >= 2.0.4
@@ -66,8 +65,7 @@ gem install \
 	%{SOURCE0}
 
 pushd .%{geminstdir}
-%patch0 -p1
-%patch1 -p0
+%patch0 -p0
 
 %build
 # Allow rake 0.9
@@ -78,7 +76,7 @@ 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
+sed -i -e '/RubyInline/s|~> 3\.9|>= 3.8.4|' lib/hoe/inline.rb
 
 popd
 
@@ -128,6 +126,9 @@ popd
 %{gemdir}/doc/%{gemname}-%{version}
 
 %changelog
+* Sun Aug 28 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.12.2-1
+- 2.12.2
+
 * Thu Aug 18 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.12.0-2
 - Fix glob order issue under test/
 
diff --git a/sources b/sources
index d9b8cf9..1a5d380 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fe84790ca78160a1e7b137a24f99a4d7  hoe-2.12.0.gem
+95531f422a3c5f2c5afb8b157a5fc880  hoe-2.12.2.gem


More information about the scm-commits mailing list