Hello community,

here is the log from the commit of package rubygem-gettext for openSUSE:Factory 
checked in at 2013-04-20 17:52:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-gettext (Old)
 and      /work/SRC/openSUSE:Factory/.rubygem-gettext.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rubygem-gettext", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/rubygem-gettext/rubygem-gettext.changes  
2013-03-08 11:20:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-gettext.new/rubygem-gettext.changes     
2013-04-20 17:52:14.000000000 +0200
@@ -1,0 +2,15 @@
+Fri Apr 12 09:18:21 UTC 2013 - [email protected]
+
+- updated to version 2.3.8
+   * Added licence information to the gemspec.
+     [GitHub #13] [Patch by jordimassaguerpla]
+   * Supported Ruby 2.0.0.
+     [GitHub #14] [Reported by mtasaka]
+ 
+ ### Fixes
+ 
+   * [rxgettext] Fixed a bug that the comment for the previous message
+     also exists in the current message.
+     [Debian #684184] [Reported by Francesco Poli] [Patch by Jérémy Bobbio]
+
+-------------------------------------------------------------------

Old:
----
  gettext-2.3.7.gem

New:
----
  gettext-2.3.8.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-gettext.spec ++++++
--- /var/tmp/diff_new_pack.Q769pQ/_old  2013-04-20 17:52:15.000000000 +0200
+++ /var/tmp/diff_new_pack.Q769pQ/_new  2013-04-20 17:52:15.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           rubygem-gettext
-Version:        2.3.7
+Version:        2.3.8
 Release:        0
 %define mod_name gettext
 %define mod_full_name %{mod_name}-%{version}
@@ -25,10 +25,13 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
 Url:            http://ruby-gettext.github.com/
-Source:         %{mod_full_name}.gem
+Source:         http://rubygems.org/gems/%{mod_full_name}.gem
 Summary:        Gettext is a pure Ruby libary and tools to localize messages
-License:        GPL-2.0+ or Ruby
+License:        Ruby or LGPL-3.0+
 Group:          Development/Languages/Ruby
+%define mod_branch -2.3.8
+%define mod_weight 2
+PreReq:         update-alternatives
 
 %description
 Gettext is a GNU gettext-like program for Ruby.
@@ -61,13 +64,49 @@
 
 %install
 %gem_install -f
+mv %{buildroot}%{_bindir}/rmsgfmt{,%{mod_branch}}
+ln -s rmsgfmt%{mod_branch} %{buildroot}%{_bindir}/rmsgfmt
+mv %{buildroot}%{_bindir}/rmsgmerge{,%{mod_branch}}
+ln -s rmsgmerge%{mod_branch} %{buildroot}%{_bindir}/rmsgmerge
+mv %{buildroot}%{_bindir}/rmsginit{,%{mod_branch}}
+ln -s rmsginit%{mod_branch} %{buildroot}%{_bindir}/rmsginit
+mv %{buildroot}%{_bindir}/rxgettext{,%{mod_branch}}
+ln -s rxgettext%{mod_branch} %{buildroot}%{_bindir}/rxgettext
+
+%post
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/rmsgfmt rmsgfmt %{_bindir}/rmsgfmt%{mod_branch} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/rmsgmerge rmsgmerge %{_bindir}/rmsgmerge%{mod_branch} 
%{mod_weight}
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/rmsginit rmsginit %{_bindir}/rmsginit%{mod_branch} %{mod_weight}
+/usr/sbin/update-alternatives --install \
+    %{_bindir}/rxgettext rxgettext %{_bindir}/rxgettext%{mod_branch} 
%{mod_weight}
+
+%preun
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove rmsgfmt 
%{_bindir}/rmsgfmt%{mod_branch}
+fi
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove rmsgmerge 
%{_bindir}/rmsgmerge%{mod_branch}
+fi
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove rmsginit 
%{_bindir}/rmsginit%{mod_branch}
+fi
+if [ "$1" = 0 ] ; then
+    /usr/sbin/update-alternatives --remove rxgettext 
%{_bindir}/rxgettext%{mod_branch}
+fi
 
 %files
 %defattr(-,root,root,-)
-%{_bindir}/rmsginit
-%{_bindir}/rxgettext
-%{_bindir}/rmsgfmt
-%{_bindir}/rmsgmerge
+%{_bindir}/rmsgfmt%{mod_branch}
+%ghost %{_bindir}/rmsgfmt
+%{_bindir}/rmsgmerge%{mod_branch}
+%ghost %{_bindir}/rmsgmerge
+%{_bindir}/rmsginit%{mod_branch}
+%ghost %{_bindir}/rmsginit
+%{_bindir}/rxgettext%{mod_branch}
+%ghost %{_bindir}/rxgettext
 %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem
 %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/
 %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/test

++++++ gettext-2.3.7.gem -> gettext-2.3.8.gem ++++++
Files /work/SRC/openSUSE:Factory/rubygem-gettext/gettext-2.3.7.gem and 
/work/SRC/openSUSE:Factory/.rubygem-gettext.new/gettext-2.3.8.gem differ

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to