[rubygem-test-unit-notify] F-19: Rebuild for ruby 2.0.0
Mamoru Tasaka
mtasaka at fedoraproject.org
Wed Feb 27 03:47:05 UTC 2013
commit 7b3229cf4d552c5e0e9904fdfaf3807633089157
Author: TASAKA Mamoru <mtasaka at localhost.localdomain>
Date: Wed Feb 27 12:46:59 2013 +0900
F-19: Rebuild for ruby 2.0.0
rubygem-test-unit-notify.spec | 26 +++++++++++++++-----------
1 files changed, 15 insertions(+), 11 deletions(-)
---
diff --git a/rubygem-test-unit-notify.spec b/rubygem-test-unit-notify.spec
index 9fa27e6..56b337e 100644
--- a/rubygem-test-unit-notify.spec
+++ b/rubygem-test-unit-notify.spec
@@ -1,23 +1,30 @@
%global gem_name test-unit-notify
+%if 0%{?fedora} < 19
%global rubyabi 1.9.1
+%endif
Summary: Test::Unit::Notify - A test result notify extension for Test::Unit
Name: rubygem-%{gem_name}
Version: 0.3.0
-Release: 2%{?dist}
+Release: 3{?dist}
Group: Development/Languages
# https://github.com/test-unit/test-unit-notify/issues/2
License: LGPLv2+ and (LGPLv2+ or GFDL or CC-BY-SA)
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
-Requires: rubygem(test-unit)
BuildRequires: ruby(abi) = %{rubyabi}
-BuildRequires: rubygems-devel
BuildRequires: ruby
+%endif
+Requires: ruby(rubygems)
+Requires: rubygem(test-unit)
+BuildRequires: rubygems-devel
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}-%{release}
@@ -52,13 +59,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
@@ -86,6 +87,9 @@ rm -f %{buildroot}%{gem_instdir}/{Manifest.txt,Rakefile}
%doc %{gem_instdir}/screenshot/
%changelog
+* Wed Feb 27 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 0.3.0-3
+- F-19: Rebuild for ruby 2.0.0
+
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list