2.3.1
This commit is contained in:
parent
ad6dd4bcf9
commit
a054038d85
3 changed files with 24 additions and 7 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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@fedoraproject.org> - 2.3.1-1
|
||||
- 2.3.1
|
||||
|
||||
* Sun Apr 24 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.3.0-1
|
||||
- 2.3.0
|
||||
|
||||
|
|
|
|||
3
sources
3
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue