[rubygem-test-unit-rr] F-19: Rebuild for ruby 2.0.0
Mamoru Tasaka
mtasaka at fedoraproject.org
Wed Feb 27 07:03:55 UTC 2013
commit 1635756ba70cc58c6f9458cf25f6560106ee9da9
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date: Wed Feb 27 16:03:47 2013 +0900
F-19: Rebuild for ruby 2.0.0
rubygem-test-unit-rr.spec | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/rubygem-test-unit-rr.spec b/rubygem-test-unit-rr.spec
index 553206e..5d46c4a 100644
--- a/rubygem-test-unit-rr.spec
+++ b/rubygem-test-unit-rr.spec
@@ -1,24 +1,31 @@
%global gem_name test-unit-rr
+%if 0%{?fedora} < 19
%global rubyabi 1.9.1
+%endif
Summary: Test::Unit::RR - RR adapter for Test::Unit
Name: rubygem-%{gem_name}
Version: 1.0.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Group: Development/Languages
# https://github.com/test-unit/test-unit-rr/issues/1
License: LGPLv2+
URL: http://rubyforge.org/projects/test-unit/
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+%if 0%{?fedora} >= 19
+Requires: ruby(release)
+BuildRequires: ruby(release)
+%else
Requires: ruby(abi) = %{rubyabi}
-Requires: ruby(rubygems)
Requires: ruby
+BuildRequires: ruby(abi) = %{rubyabi}
+BuildRequires: ruby
+%endif
+Requires: ruby(rubygems)
Requires: rubygem(test-unit)
Requires: rubygem(rr)
-BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: rubygems-devel
-BuildRequires: ruby
BuildRequires: rubygem(test-unit)
BuildRequires: rubygem(rr)
BuildArch: noarch
@@ -69,13 +76,7 @@ popd
rm -rf tmpunpackdir
%build
-mkdir -p .%{gem_dir}
-gem install \
- --local \
- --install-dir .%{gem_dir} \
- -V \
- --force \
- %{gem_name}-%{version}.gem
+%gem_install
# Permission
find . -type f -print0 | xargs --null chmod go-w
@@ -105,6 +106,9 @@ ruby -Ilib test/run-test.rb
%exclude %{gem_instdir}/test/
%changelog
+* Wed Feb 27 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 1.0.2-5
+- F-19: Rebuild for ruby 2.0.0
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list