Compare commits
10 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1920ddb0b4 | ||
|
|
61d80d831c | ||
|
|
284c1f4235 | ||
|
|
7ff16cd098 | ||
|
|
c6ddf944d5 | ||
|
|
67072e8212 | ||
|
|
62f838198e | ||
|
|
719f65ace0 | ||
|
|
17e930a897 | ||
|
|
46f945f3b2 |
3 changed files with 52 additions and 20 deletions
10
.gitignore
vendored
10
.gitignore
vendored
|
|
@ -1,2 +1,12 @@
|
||||||
/test-unit-2.1.1.gem
|
/test-unit-2.1.1.gem
|
||||||
/test-unit-2.1.2.gem
|
/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
|
||||||
|
/test-unit-2.3.2.gem
|
||||||
|
/test-unit-2.4.0.gem
|
||||||
|
/test-unit-2.4.1.gem
|
||||||
|
/test-unit-2.4.2.gem
|
||||||
|
/test-unit-2.4.3.gem
|
||||||
|
/test-unit-2.4.4.gem
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,13 @@
|
||||||
|
|
||||||
%global rubyabi 1.8
|
%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
|
Summary: Improved version of Test::Unit bundled in Ruby 1.8.x
|
||||||
Name: rubygem-%{gemname}
|
Name: rubygem-%{gemname}
|
||||||
Version: 2.1.2
|
Version: 2.4.4
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
# lib/test/unit/diff.rb is under GPLv2 or Ruby or Python
|
# lib/test/unit/diff.rb is under GPLv2 or Ruby or Python
|
||||||
# Other file: GPLv2 or Ruby
|
# Other file: GPLv2 or Ruby
|
||||||
|
|
@ -17,8 +20,9 @@ URL: http://rubyforge.org/projects/test-unit/
|
||||||
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
|
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
|
||||||
BuildRequires: ruby(abi) = %{rubyabi}
|
BuildRequires: ruby(abi) = %{rubyabi}
|
||||||
BuildRequires: rubygems
|
BuildRequires: rubygems
|
||||||
BuildRequires(check): rubygem(rake)
|
# For %%check
|
||||||
BuildRequires(check): rubygem(hoe)
|
#BuildRequires: rubygem(rake)
|
||||||
|
#BuildRequires: rubygem(hoe)
|
||||||
Requires: ruby(abi) = %{rubyabi}
|
Requires: ruby(abi) = %{rubyabi}
|
||||||
Requires: rubygems
|
Requires: rubygems
|
||||||
|
|
||||||
|
|
@ -53,17 +57,11 @@ gem install \
|
||||||
%{SOURCE0}
|
%{SOURCE0}
|
||||||
|
|
||||||
find . -name \*.gem | xargs chmod 0644
|
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
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
mkdir -p %{buildroot}%{gemdir}
|
mkdir -p %{buildroot}%{gemdir}
|
||||||
cp -a .%{gemdir}/* \
|
cp -a .%{gemdir}/* \
|
||||||
%{buildroot}%{gemdir}/
|
%{buildroot}%{gemdir}/
|
||||||
|
|
@ -79,12 +77,11 @@ find %{buildroot}%{geminstdir}/bin -type f | xargs chmod 0755
|
||||||
## rename!!
|
## rename!!
|
||||||
mv %{buildroot}%{_bindir}/testrb{,2}
|
mv %{buildroot}%{_bindir}/testrb{,2}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd .%{geminstdir}
|
pushd .%{geminstdir}
|
||||||
rake test --trace
|
#rake test --trace
|
||||||
|
ruby -Ilib ./test/run-test.rb
|
||||||
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
|
@ -102,16 +99,41 @@ rake test --trace
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%{geminstdir}/Rakefile
|
%{geminstdir}/Rakefile
|
||||||
%{geminstdir}/html/
|
|
||||||
%{geminstdir}/images/
|
|
||||||
%{geminstdir}/sample/
|
%{geminstdir}/sample/
|
||||||
%{geminstdir}/test/
|
%{geminstdir}/test/
|
||||||
|
|
||||||
%{gemdir}/doc/%{gemname}-%{version}/
|
%{gemdir}/doc/%{gemname}-%{version}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- F-17: Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Dec 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.3-1
|
||||||
|
- 2.4.3
|
||||||
|
|
||||||
|
* Sun Nov 27 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.2-1
|
||||||
|
- 2.4.2
|
||||||
|
|
||||||
|
* Wed Nov 16 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.1-1
|
||||||
|
- 2.4.1
|
||||||
|
|
||||||
|
* Mon Sep 19 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.0-1
|
||||||
|
- 2.4.0
|
||||||
|
|
||||||
|
* Thu Aug 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.3.2-1
|
||||||
|
- 2.3.2
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Feb 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.2.0-1
|
||||||
|
- 2.2.0
|
||||||
|
|
||||||
|
* Mon Feb 14 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.2-2
|
||||||
|
- F-15 mass rebuild
|
||||||
|
|
||||||
* Thu Nov 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.2-1
|
* Thu Nov 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.2-1
|
||||||
- 2.1.2
|
- 2.1.2
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
fbe74832c21be380098569a99f75858d test-unit-2.1.2.gem
|
2fdf0705f7ee7e42676325eff2c32e85 test-unit-2.4.4.gem
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue