Hello community,
here is the log from the commit of package rubygem-term-ansicolor for
openSUSE:Factory checked in at 2013-04-22 14:20:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-term-ansicolor (Old)
and /work/SRC/openSUSE:Factory/.rubygem-term-ansicolor.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-term-ansicolor", Maintainer is ""
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-term-ansicolor/rubygem-term-ansicolor.changes
2013-03-26 15:59:38.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.rubygem-term-ansicolor.new/rubygem-term-ansicolor.changes
2013-04-22 14:20:45.000000000 +0200
@@ -1,0 +2,21 @@
+Sat Apr 20 15:37:00 UTC 2013 - [email protected]
+
+- avoid conflict with colordiff
+
+-------------------------------------------------------------------
+Sat Apr 13 06:04:13 UTC 2013 - [email protected]
+
+- updated to version 1.1.4
+ * Easier access to color attributes via color(123) or
+ approximate html colors like color('#336caf').
+ * Fix a bug where respond_to could overflow the stack.
+ * Change the API: color0 - color255 to color(:color0) -
+ color(:color255), and on_color0 to on_color(:color0) -
+ on_color(:color255); the previous way caused some
+ failures, sorry. On the plus side you can now do
+ color('#4a6ab4') and get the nearest terminal color to
+ this html color.
+ * Add colortab executable to display the 255 colors and
+ related HTML colors.
+
+-------------------------------------------------------------------
Old:
----
term-ansicolor-1.1.1.gem
New:
----
term-ansicolor-1.1.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-term-ansicolor.spec ++++++
--- /var/tmp/diff_new_pack.TFmAlR/_old 2013-04-22 14:20:53.000000000 +0200
+++ /var/tmp/diff_new_pack.TFmAlR/_new 2013-04-22 14:20:53.000000000 +0200
@@ -17,7 +17,7 @@
Name: rubygem-term-ansicolor
-Version: 1.1.1
+Version: 1.1.4
Release: 0
%define mod_name term-ansicolor
%define mod_full_name %{mod_name}-%{version}
@@ -26,13 +26,17 @@
BuildRequires: ruby-macros >= 1
BuildRequires: rubygem(rdoc) > 3.10
Url: http://flori.github.com/term-ansicolor
-Source: %{mod_full_name}.gem
+Source: http://rubygems.org/gems/%{mod_full_name}.gem
Summary: Ruby library that colors strings using ANSI escape sequences
License: GPL-2.0+
Group: Development/Languages/Ruby
+%define mod_branch -1.1.4
+%define mod_weight 1
+PreReq: update-alternatives
%description
-Ruby library that colors strings using ANSI escape sequences
+This library uses ANSI escape sequences to control the attributes of terminal
+output
%package doc
Summary: RDoc documentation for %{mod_name}
@@ -52,11 +56,24 @@
%install
%gem_install -f
+mv %{buildroot}%{_bindir}/cdiff{,.%{mod_name}}
+mv %{buildroot}%{_bindir}/decolor{,%{mod_branch}}
+ln -s decolor%{mod_branch} %{buildroot}%{_bindir}/decolor
+
+%post
+/usr/sbin/update-alternatives --install \
+ %{_bindir}/decolor decolor %{_bindir}/decolor%{mod_branch} %{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+ /usr/sbin/update-alternatives --remove decolor
%{_bindir}/decolor%{mod_branch}
+fi
%files
%defattr(-,root,root,-)
-%{_bindir}/cdiff
-%{_bindir}/decolor
+%{_bindir}/decolor%{mod_branch}
+%{_bindir}/cdiff.%{mod_name}
+%ghost %{_bindir}/decolor
%{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]