[rubygem-test-unit] Kill 2-year-old testrb2 support on F-22+
Mamoru TASAKA
mtasaka at fedoraproject.org
Tue Jan 13 08:51:52 UTC 2015
commit 1187f8ae36ab318abef3f3b7effc05a23dfeea4f
Author: John <mtasaka at fedoraproject.org>
Date: Tue Jan 13 17:52:08 2015 +0900
Kill 2-year-old testrb2 support on F-22+
rubygem-test-unit.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/rubygem-test-unit.spec b/rubygem-test-unit.spec
index c8b5aec..69cfebe 100644
--- a/rubygem-test-unit.spec
+++ b/rubygem-test-unit.spec
@@ -6,7 +6,7 @@
Summary: Improved version of Test::Unit bundled in Ruby 1.8.x
Name: rubygem-%{gem_name}
Version: 3.0.9
-Release: 100%{?dist}
+Release: 101%{?dist}
Group: Development/Languages
# lib/test/unit/diff.rb is under GPLv2 or Ruby or Python
# lib/test-unit.rb is under LGPLv2+ or Ruby
@@ -73,11 +73,13 @@ cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
# Keep testrb2
+%if 0%{?fedora} < 22
mkdir %{buildroot}%{_bindir}
cat %{_bindir}/testrb | \
sed -e '\@require at s|test/unit|test-unit|' \
> %{buildroot}%{_bindir}/testrb2
chmod 0755 %{buildroot}%{_bindir}/testrb2
+%endif
%check
pushd .%{gem_instdir}
@@ -91,7 +93,9 @@ popd
%doc %{gem_instdir}/[A-Z]*
%exclude %{gem_instdir}/Rakefile
+%if 0%{?fedora} < 22
%{_bindir}/testrb2
+%endif
%{gem_instdir}/lib/
%exclude %{gem_cache}
@@ -108,6 +112,9 @@ popd
%{gem_docdir}/
%changelog
+* Tue Jan 13 2015 Mamoru TASAKA <mtasaka at fedoraproject.org> - 3.0.9-101
+- Kill 2-year-old testrb2 support on F-22+
+
* Wed Dec 29 2014 Mamoru TASAKA <mtasaka at fedoraproject.org> - 3.0.9-100
- 3.0.9
More information about the scm-commits
mailing list