[rubygem-test-unit/f14] 2.3.1

Mamoru Tasaka mtasaka at fedoraproject.org
Sun Aug 14 14:21:09 UTC 2011


commit fbe6b160ecc8e57cb7f2ef8a9f6679f5ee66450e
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Aug 14 23:20:52 2011 +0900

    2.3.1

 .gitignore             |    2 ++
 rubygem-test-unit.spec |   26 ++++++++++++++++++++------
 sources                |    3 ++-
 3 files changed, 24 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e417940..795f1b5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,5 @@
 /test-unit-2.1.2.gem
 /test-unit-2.2.0.gem
 /test-unit-2.3.0.gem
+/test-unit-2.3.1.gem
+/rubygem-test-unit-2.3.1-missing-files.tar.gz
diff --git a/rubygem-test-unit.spec b/rubygem-test-unit.spec
index 0d5a1f1..8fa2213 100644
--- a/rubygem-test-unit.spec
+++ b/rubygem-test-unit.spec
@@ -4,9 +4,12 @@
 
 %global	rubyabi	1.8
 
+# svn repository
+# http://test-unit.rubyforge.org/svn/trunk/
+
 Summary:	Improved version of Test::Unit bundled in Ruby 1.8.x
 Name:		rubygem-%{gemname}
-Version:	2.3.0
+Version:	2.3.1
 Release:	1%{?dist}
 Group:		Development/Languages
 # lib/test/unit/diff.rb is under GPLv2 or Ruby or Python
@@ -15,11 +18,13 @@ License:	(GPLv2 or Ruby) and (GPLv2 or Ruby or Python)
 URL:		http://rubyforge.org/projects/test-unit/
 
 Source0:	http://rubygems.org/gems/%{gemname}-%{version}.gem
+# From upstream svn, ah..
+Source1:	rubygem-test-unit-2.3.1-missing-files.tar.gz
 BuildRequires:	ruby(abi) = %{rubyabi}
 BuildRequires:	rubygems
 # For %%check
-BuildRequires:	rubygem(rake)
-BuildRequires:	rubygem(hoe)
+#BuildRequires:	rubygem(rake)
+#BuildRequires:	rubygem(hoe)
 Requires:	ruby(abi) = %{rubyabi}
 Requires:	rubygems
 
@@ -54,12 +59,18 @@ gem install \
 	%{SOURCE0}
 
 find . -name \*.gem | xargs chmod 0644
+find . -type f | xargs chmod ugo+r
 
 pushd .%{geminstdir}
 # rdoc gem not needed
 sed -i -e '/rdoc/s|^gem|#gem|' Rakefile
 popd
 
+# Unpack missing files
+pushd .%{geminstdir}
+gunzip -dc %{SOURCE1} | tar xf -
+popd
+
 %build
 
 %install
@@ -85,7 +96,9 @@ rm -rf %{buildroot}
 
 %check
 pushd .%{geminstdir}
-rake test --trace
+#rake test --trace
+ruby -Ilib ./test/run-test.rb
+popd
 
 %files
 %defattr(-,root,root,-)
@@ -103,14 +116,15 @@ rake test --trace
 %files	doc
 %defattr(-,root,root,-)
 %{geminstdir}/Rakefile
-%{geminstdir}/html/
-%{geminstdir}/images/
 %{geminstdir}/sample/
 %{geminstdir}/test/
 
 %{gemdir}/doc/%{gemname}-%{version}/
 
 %changelog
+* Sun Aug 14 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.3.1-1
+- 2.3.1
+
 * Sun Apr 24 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 2.3.0-1
 - 2.3.0
 
diff --git a/sources b/sources
index 8e873fc..fbfedce 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-393047f217a0156b3b2ea288e171d7f5  test-unit-2.3.0.gem
+05d6ee07bbef8e9bda7913bd77da482e  test-unit-2.3.1.gem
+1ef542903cded28e4e7b30b1fdc0b398  rubygem-test-unit-2.3.1-missing-files.tar.gz


More information about the scm-commits mailing list