Mamoru Tasaka b75162
%global	gem_name	test-unit
Mamoru Tasaka c8069f
Mamoru Tasaka a05403
# svn repository
Mamoru Tasaka a05403
# http://test-unit.rubyforge.org/svn/trunk/
Mamoru Tasaka a05403
Mamoru Tasaka cf7c52
Summary:	Improved version of Test::Unit bundled in Ruby 1.8.x
Mamoru Tasaka b75162
Name:		rubygem-%{gem_name}
882f97
Version:	3.3.3
3fb5bc
Release:	200%{?dist}
Mamoru Tasaka cf7c52
# lib/test/unit/diff.rb is under GPLv2 or Ruby or Python
Mamoru Tasaka b75162
# lib/test-unit.rb is under LGPLv2+ or Ruby
Mamoru Tasaka cf7c52
# Other file: GPLv2 or Ruby
Mamoru Tasaka b75162
License:	(GPLv2 or Ruby) and (GPLv2 or Ruby or Python) and (LGPLv2+ or Ruby)
04db6f
URL:		http://test-unit.github.io/
Mamoru Tasaka cf7c52
Mamoru Tasaka b75162
Source0:	http://rubygems.org/gems/%{gem_name}-%{version}.gem
TASAKA Mamoru 8d8245
TASAKA Mamoru 541807
BuildRequires:	ruby(release)
Mamoru Tasaka cf7c52
BuildRequires:	rubygems
Mamoru Tasaka 511557
BuildRequires:	rubygems-devel
860d73
BuildRequires:	rubygem(power_assert)
Mamoru Tasaka 06b73b
# For %%check
Mamoru Tasaka a05403
#BuildRequires:	rubygem(rake)
Mamoru Tasaka a05403
#BuildRequires:	rubygem(hoe)
TASAKA Mamoru 541807
Requires:	ruby(release)
Mamoru Tasaka cf7c52
Requires:	rubygems
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
BuildArch:	noarch
Mamoru Tasaka b75162
Provides:	rubygem(%{gem_name}) = %{version}-%{release}
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%description
Mamoru Tasaka cf7c52
Test::Unit 2.x - Improved version of Test::Unit bundled in
Mamoru Tasaka cf7c52
Ruby 1.8.x.
Mamoru Tasaka cf7c52
Ruby 1.9.x bundles minitest not Test::Unit. Test::Unit
Mamoru Tasaka cf7c52
bundled in Ruby 1.8.x had not been improved but unbundled
Mamoru Tasaka cf7c52
Test::Unit (Test::Unit 2.x) will be improved actively.
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%package	doc
Mamoru Tasaka cf7c52
Summary:	Documentation for %{name}
Mamoru Tasaka cf7c52
Requires:	%{name} = %{version}-%{release}
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%description	doc
Mamoru Tasaka cf7c52
This package contains documentation for %{name}.
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%prep
Mamoru Tasaka cf7c52
%setup -q -c -T
Mamoru Tasaka b75162
# Gem repack
Mamoru Tasaka b75162
TOPDIR=$(pwd)
Mamoru Tasaka b75162
mkdir tmpunpackdir
Mamoru Tasaka b75162
pushd tmpunpackdir
Mamoru Tasaka b75162
Mamoru Tasaka b75162
gem unpack %{SOURCE0}
Mamoru Tasaka b75162
cd %{gem_name}-%{version}
Mamoru Tasaka b75162
Mamoru Tasaka b75162
gem specification -l --ruby %{SOURCE0} > %{gem_name}.gemspec
Mamoru Tasaka b75162
gem build %{gem_name}.gemspec
Mamoru Tasaka b75162
mv %{gem_name}-%{version}.gem $TOPDIR
Mamoru Tasaka b75162
Mamoru Tasaka b75162
popd
Mamoru Tasaka b75162
rm -rf tmpunpackdir
Mamoru Tasaka cf7c52
Mamoru Tasaka b75162
%build
TASAKA Mamoru 541807
%gem_install
Mamoru Tasaka cf7c52
Mamoru Tasaka b75162
#find . -name \*.gem | xargs chmod 0644
Mamoru Tasaka a05403
find . -type f | xargs chmod ugo+r
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%install
Mamoru Tasaka b75162
mkdir -p %{buildroot}%{gem_dir}
Mamoru Tasaka b75162
cp -a .%{gem_dir}/* \
Mamoru Tasaka b75162
	%{buildroot}%{gem_dir}/
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%check
Mamoru Tasaka b75162
pushd .%{gem_instdir}
Mamoru Tasaka a05403
#rake test --trace
TASAKA Mamoru 8d8245
ruby -Ilib ./test/run-test.rb
Mamoru Tasaka a05403
popd
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%files
Mamoru Tasaka b75162
%dir	%{gem_instdir}
Mamoru Tasaka b75162
%doc	%{gem_instdir}/[A-Z]*
Mamoru Tasaka b75162
%exclude	%{gem_instdir}/Rakefile
Mamoru Tasaka cf7c52
Mamoru Tasaka b75162
%{gem_instdir}/lib/
Mamoru Tasaka cf7c52
Mamoru Tasaka b75162
%exclude	%{gem_cache}
Mamoru Tasaka b75162
%{gem_spec}
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%files	doc
860d73
%{gem_instdir}/doc/
Mamoru Tasaka b75162
# Keep below for this package
Mamoru Tasaka b75162
%{gem_instdir}/Rakefile
Mamoru Tasaka b75162
%{gem_instdir}/sample/
Mamoru Tasaka b75162
%{gem_instdir}/test/
Mamoru Tasaka cf7c52
TASAKA Mamoru 541807
%{gem_docdir}/
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
%changelog
882f97
* Mon May 13 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.3-200
882f97
- 3.3.3
882f97
5ec9b8
* Tue Apr 23 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.2-200
5ec9b8
- 3.3.2
5ec9b8
3fb5bc
* Mon Apr  1 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.1-200
3fb5bc
- 3.3.1
3fb5bc
57a0be
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-201
57a0be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
57a0be
9bfd86
* Wed Jan 30 2019 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.3.0-200
9bfd86
- 3.3.0
9bfd86
d420e6
* Fri Dec 14 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.9-200
d420e6
- 3.2.9
d420e6
484f8a
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.8-201
484f8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
484f8a
12e453
* Mon Jun  4 2018 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.8-200
12e453
- 3.2.8
12e453
- Bump release number
12e453
729279
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.7-101
729279
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
729279
83c167
* Wed Dec 27 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.7-100
83c167
- 3.2.7
83c167
d382ef
* Fri Sep 22 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.6-100
d382ef
- 3.2.6
d382ef
30ad34
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.5-101
30ad34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
30ad34
6de493
* Thu Jun 29 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.5-100
6de493
- 3.2.5
6de493
520aec
* Fri May 26 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.4-100
520aec
- 3.2.4
520aec
c2c532
* Fri May  5 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.3-103
c2c532
- Follow up power_assert 1.0.0 change
c2c532
878fe7
* Thu Feb 16 2017 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.3-102
878fe7
- Fix test failure for ruby24 wrt integer unification
878fe7
e0de18
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-101
e0de18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e0de18
9e92ba
* Thu Dec  1 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.3-100
9e92ba
- 3.2.3
9e92ba
a33a22
* Tue Nov 15 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.2-100
a33a22
- 3.2.2
a33a22
01bf5e
* Sun Jul 31 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.1-100
01bf5e
- 3.2.1
01bf5e
4957e9
* Fri Jun 24 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.2.0-100
4957e9
- 3.2.0
4957e9
66259e
* Tue May 24 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.9-100
66259e
- 3.1.9
66259e
1b4e30
* Wed Mar 23 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.8-100
1b4e30
- 3.1.8
1b4e30
fc75e8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.7-101
fc75e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fc75e8
d0a740
* Tue Jan 19 2016 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.7-100
d0a740
- 3.1.7
d0a740
06246a
* Mon Oct 12 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.5-100
06246a
- 3.1.5
06246a
90255a
* Mon Sep 28 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.4-100
06246a
- 3.1.4
90255a
8e2d4d
* Mon Jul 27 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.3-100
8e2d4d
- 3.1.3
8e2d4d
30bf25
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.1.2-101
30bf25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
30bf25
0d5e13
* Wed Jun 10 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.2-100
0d5e13
- 3.1.2
0d5e13
13e660
* Fri May 29 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.1-100
13e660
- 3.1.1
13e660
13e660
* Fri May 29 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.1.0-100
04db6f
- 3.1.0
04db6f
1187f8
* Tue Jan 13 2015 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.9-101
1187f8
- Kill 2-year-old testrb2 support on F-22+
1187f8
7dc41d
* Wed Dec 29 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.9-100
7dc41d
- 3.0.9
7dc41d
2abd54
* Sun Dec 14 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.8-100
2abd54
- Bump release massively (for ruby srpm)
2abd54
54a32e
* Sun Dec 14 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.8-1
54a32e
- 3.0.8
54a32e
860d73
* Thu Dec  4 2014 Mamoru TASAKA <mtasaka@fedoraproject.org> - 3.0.7-1
860d73
- 3.0.7
860d73
4b8569
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.5-3
4b8569
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
4b8569
1d26a7
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.5-2
1d26a7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1d26a7
1297bd
* Thu Jul 18 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.5.5-1
1297bd
- 2.5.5
1297bd
TASAKA Mamoru 8d8245
* Thu Feb 28 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.5.4-3
TASAKA Mamoru 8d8245
- Patch for CSV support (patch by upstream)
TASAKA Mamoru 8d8245
TASAKA Mamoru 541807
* Wed Feb 27 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.5.4-2
TASAKA Mamoru 541807
- Rebuild for ruby 2.0.0
TASAKA Mamoru 541807
Mamoru Tasaka 9337da
* Sun Feb  3 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.5.4-1
Mamoru Tasaka 9337da
- 2.5.4
Mamoru Tasaka 9337da
Mamoru Tasaka b75162
* Wed Jan  3 2013 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.5.3-1
Mamoru Tasaka b75162
- 2.5.3
Mamoru Tasaka b75162
33340e
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-4
33340e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
33340e
d8f3e1
* Tue Apr 03 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 2.4.5-3
d8f3e1
- Fix conditionals for F17 to work for RHEL 7 as well.
d8f3e1
Mamoru Tasaka afebea
* Sun Jan 22 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.5-2
Mamoru Tasaka c8069f
- 2.4.5
Mamoru Tasaka c8069f
Mamoru Tasaka c8069f
* Sun Jan 15 2012 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.4-1
Mamoru Tasaka c8069f
- 2.4.4
Mamoru Tasaka c8069f
3f6f07
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.3-2
Mamoru Tasaka 371f97
- F-17: Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
3f6f07
Mamoru Tasaka ec0687
* Sun Dec 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.3-1
Mamoru Tasaka ec0687
- 2.4.3
Mamoru Tasaka ec0687
Mamoru Tasaka 370628
* Sun Nov 27 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.2-1
Mamoru Tasaka 370628
- 2.4.2
Mamoru Tasaka 370628
Mamoru Tasaka 1ae53a
* Wed Nov 16 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.1-1
Mamoru Tasaka 1ae53a
- 2.4.1
Mamoru Tasaka 1ae53a
Mamoru Tasaka 996f7e
* Mon Sep 19 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.4.0-1
Mamoru Tasaka 996f7e
- 2.4.0
Mamoru Tasaka 996f7e
Mamoru Tasaka 9680ca
* Thu Aug 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.3.2-1
Mamoru Tasaka 9680ca
- 2.3.2
Mamoru Tasaka 9680ca
Mamoru Tasaka a05403
* Sun Aug 14 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.3.1-1
Mamoru Tasaka a05403
- 2.3.1
Mamoru Tasaka a05403
Mamoru Tasaka ad6dd4
* Sun Apr 24 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.3.0-1
Mamoru Tasaka ad6dd4
- 2.3.0
Mamoru Tasaka ad6dd4
Mamoru Tasaka 92f8f2
* Fri Feb 18 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 2.2.0-1
Mamoru Tasaka 92f8f2
- 2.2.0
Mamoru Tasaka 92f8f2
Mamoru Tasaka 06b73b
* Mon Feb 14 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.2-2
Mamoru Tasaka 06b73b
- F-15 mass rebuild
b21747
Mamoru Tasaka a9c5e4
* Thu Nov 26 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.2-1
Mamoru Tasaka a9c5e4
- 2.1.2
Mamoru Tasaka a9c5e4
Mamoru Tasaka cf7c52
* Sun Sep 19 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.1-2
Mamoru Tasaka cf7c52
- Fix up license tag
Mamoru Tasaka cf7c52
Mamoru Tasaka cf7c52
* Sat Sep 18 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 2.1.1-1
Mamoru Tasaka cf7c52
- Initial package