[rubygem-rainbow] Update to rainbow 2.0.0
Josef Stribny
jstribny at fedoraproject.org
Fri Mar 7 13:23:25 UTC 2014
commit e5aebee6c376422bf2c8d7c4fc4ca572a529b74d
Author: Josef Stribny <jstribny at redhat.com>
Date: Fri Mar 7 14:21:36 2014 +0100
Update to rainbow 2.0.0
.gitignore | 2 ++
rubygem-rainbow.spec | 29 ++++++++++++++++++++++-------
sources | 3 ++-
3 files changed, 26 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 90b0622..33824b6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
/rainbow-1.1.4.gem
+/rainbow-2.0.0-tests.tgz
+/rainbow-2.0.0.gem
diff --git a/rubygem-rainbow.spec b/rubygem-rainbow.spec
index f7f4f2d..1828e48 100644
--- a/rubygem-rainbow.spec
+++ b/rubygem-rainbow.spec
@@ -3,17 +3,22 @@
Summary: Ruby String class extension enabling coloring text on ANSI terminals
Name: rubygem-%{gem_name}
-Version: 1.1.4
-Release: 5%{?dist}
+Version: 2.0.0
+Release: 1%{?dist}
Group: Development/Languages
License: MIT
URL: http://ku1ik.com/
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
+# Test suite stopped to be part of the released .gem
+# git clone https://github.com/sickill/rainbow.git && cd rainbow
+# git checkout v2.0.0
+# tar czvf rainbow-2.0.0-tests.tgz spec
+Source1: rainbow-2.0.0-tests.tgz
Requires: ruby(release)
Requires: ruby(rubygems)
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
-BuildRequires: rubygem(minitest)
+BuildRequires: rubygem(rspec)
BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gem_name}) = %{version}
@@ -45,8 +50,8 @@ cp -a .%{gem_dir}/* \
%check
pushd .%{gem_instdir}
-# Force coloring, otherwise it won't color
-CLICOLOR_FORCE=1 ruby test/*_test.rb
+tar xzvf %{SOURCE1}
+rspec spec
popd
@@ -54,16 +59,26 @@ popd
%dir %{gem_instdir}
%{gem_libdir}
%exclude %{gem_cache}
+%exclude %{gem_instdir}/%{gem_name}.gemspec
+%exclude %{gem_instdir}/.travis.yml
+%exclude %{gem_instdir}/.rubocop.yml
+%exclude %{gem_instdir}/.gitignore
%{gem_spec}
%doc %{gem_instdir}/LICENSE
%files doc
%doc %{gem_docdir}
%doc %{gem_instdir}/README.markdown
-%doc %{gem_instdir}/Changelog
-%{gem_instdir}/test
+%doc %{gem_instdir}/Changelog.md
+%{gem_instdir}/Gemfile
+%{gem_instdir}/Guardfile
+%{gem_instdir}/Rakefile
+%{gem_instdir}/spec
%changelog
+* Fri Mar 07 2014 Josef Stribny <jstribny at redhat.com> - 2.0.0-1
+- Update to rainbow 2.0.0
+
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 11b8225..34b5c60 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-c5bb469c89b151668f8e4eeb37e98cbf rainbow-1.1.4.gem
+be74d81e2a26af53ab1247e094aee1ec rainbow-2.0.0-tests.tgz
+5e2a70432911f5049472d1273c1521c7 rainbow-2.0.0.gem
More information about the scm-commits
mailing list