Hello community, here is the log from the commit of package rubygem-term-ansicolor for openSUSE:Factory checked in at 2013-05-18 09:22:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-term-ansicolor (Old) and /work/SRC/openSUSE:Factory/.rubygem-term-ansicolor.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-term-ansicolor" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-term-ansicolor/rubygem-term-ansicolor.changes 2013-04-22 14:20:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.rubygem-term-ansicolor.new/rubygem-term-ansicolor.changes 2013-05-18 09:22:47.000000000 +0200 @@ -1,0 +2,12 @@ +Fri May 17 09:34:51 UTC 2013 - co...@suse.com + +- updated to version 1.2.0 + * Many more examples + +------------------------------------------------------------------- +Sun Apr 21 10:59:53 UTC 2013 - co...@suse.com + +- updated to version 1.1.5 + * Add colortab executable to rubygem binary config + +------------------------------------------------------------------- Old: ---- term-ansicolor-1.1.4.gem New: ---- term-ansicolor-1.2.0.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-term-ansicolor.spec ++++++ --- /var/tmp/diff_new_pack.jLCyV3/_old 2013-05-18 09:22:48.000000000 +0200 +++ /var/tmp/diff_new_pack.jLCyV3/_new 2013-05-18 09:22:48.000000000 +0200 @@ -17,7 +17,7 @@ Name: rubygem-term-ansicolor -Version: 1.1.4 +Version: 1.2.0 Release: 0 %define mod_name term-ansicolor %define mod_full_name %{mod_name}-%{version} @@ -28,9 +28,9 @@ Url: http://flori.github.com/term-ansicolor Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: Ruby library that colors strings using ANSI escape sequences -License: GPL-2.0+ +License: GPL-2.0 Group: Development/Languages/Ruby -%define mod_branch -1.1.4 +%define mod_branch -%{version} %define mod_weight 1 PreReq: update-alternatives @@ -56,24 +56,63 @@ %install %gem_install -f -mv %{buildroot}%{_bindir}/cdiff{,.%{mod_name}} +# MANUAL avoid the name cdiff, it's a wrapper around colordiff +mv %{buildroot}%{_bindir}/cdiff %{buildroot}%{_bindir}/colorize_diff%{mod_branch} +ln -s colorize_diff%{mod_branch} %{buildroot}%{_bindir}/colorize_diff mv %{buildroot}%{_bindir}/decolor{,%{mod_branch}} ln -s decolor%{mod_branch} %{buildroot}%{_bindir}/decolor +mv %{buildroot}%{_bindir}/colortab{,%{mod_branch}} +ln -s colortab%{mod_branch} %{buildroot}%{_bindir}/colortab +mv %{buildroot}%{_bindir}/term_mandel{,%{mod_branch}} +ln -s term_mandel%{mod_branch} %{buildroot}%{_bindir}/term_mandel +mv %{buildroot}%{_bindir}/term_display{,%{mod_branch}} +ln -s term_display%{mod_branch} %{buildroot}%{_bindir}/term_display +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.rdoc %buildroot/%{_docdir}/%{name}/README.rdoc %post /usr/sbin/update-alternatives --install \ + %{_bindir}/colorize_diff colorize_diff %{_bindir}/colorize_diff%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ %{_bindir}/decolor decolor %{_bindir}/decolor%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/colortab colortab %{_bindir}/colortab%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/term_mandel term_mandel %{_bindir}/term_mandel%{mod_branch} %{mod_weight} +/usr/sbin/update-alternatives --install \ + %{_bindir}/term_display term_display %{_bindir}/term_display%{mod_branch} %{mod_weight} %preun if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove colorize_diff %{_bindir}/colorize_diff%{mod_branch} +fi +if [ "$1" = 0 ] ; then /usr/sbin/update-alternatives --remove decolor %{_bindir}/decolor%{mod_branch} fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove colortab %{_bindir}/colortab%{mod_branch} +fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove term_mandel %{_bindir}/term_mandel%{mod_branch} +fi +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove term_display %{_bindir}/term_display%{mod_branch} +fi %files %defattr(-,root,root,-) +%{_docdir}/%{name} +%{_bindir}/colorize_diff%{mod_branch} +%ghost %{_bindir}/colorize_diff %{_bindir}/decolor%{mod_branch} -%{_bindir}/cdiff.%{mod_name} %ghost %{_bindir}/decolor +%{_bindir}/colortab%{mod_branch} +%ghost %{_bindir}/colortab +%{_bindir}/term_mandel%{mod_branch} +%ghost %{_bindir}/term_mandel +%{_bindir}/term_display%{mod_branch} +%ghost %{_bindir}/term_display %{_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: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org