Hello community,

here is the log from the commit of package yast2-ruby-bindings for 
openSUSE:13.1 checked in at 2013-10-17 14:14:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:13.1/yast2-ruby-bindings (Old)
 and      /work/SRC/openSUSE:13.1/.yast2-ruby-bindings.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-ruby-bindings"

Changes:
--------
--- /work/SRC/openSUSE:13.1/yast2-ruby-bindings/yast2-ruby-bindings.changes     
2013-09-23 11:24:29.000000000 +0200
+++ 
/work/SRC/openSUSE:13.1/.yast2-ruby-bindings.new/yast2-ruby-bindings.changes    
    2013-10-19 16:51:04.000000000 +0200
@@ -1,0 +2,7 @@
+Tue Oct 15 13:01:18 UTC 2013 - lsle...@suse.cz
+
+- float_to_lstring(): do not crash when glibc-locale is missing,
+  fallback to unlocalized version (bnc#803163)
+- 3.0.4
+
+-------------------------------------------------------------------

Old:
----
  yast2-ruby-bindings-3.0.3.tar.bz2

New:
----
  yast2-ruby-bindings-3.0.4.tar.bz2

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

Other differences:
------------------
++++++ yast2-ruby-bindings.spec ++++++
--- /var/tmp/diff_new_pack.42Slqq/_old  2013-10-19 16:51:04.000000000 +0200
+++ /var/tmp/diff_new_pack.42Slqq/_new  2013-10-19 16:51:04.000000000 +0200
@@ -1,35 +1,20 @@
-#
-# spec file for package yast2-ruby-bindings
-#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
 
 
 #
 # spec file for package yast2-ruby-bindings (Version 0.1)
 #
+# norootforbuild
 
 Name:           yast2-ruby-bindings
-Version:        3.0.3
+Version:        3.0.4
 Release:        0
+License:        GPL-2.0
+Group:          System/YaST
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Source0:        yast2-ruby-bindings-%{version}.tar.bz2
 Prefix:         /usr
 
-BuildRequires:  cmake
-BuildRequires:  gcc-c++
-BuildRequires:  yast2-core-devel
+BuildRequires: cmake gcc-c++ yast2-core-devel
 BuildRequires:  yast2-devtools >= 2.16.3
 # libzypp-devel is missing .la requires
 BuildRequires:  ruby-devel
@@ -41,8 +26,6 @@
 BuildRequires:  yast2-ycp-ui-bindings-devel >= 2.21.9
 Requires:       ruby
 Summary:        Ruby bindings for the YaST platform
-License:        GPL-2.0
-Group:          System/YaST
 
 %description
 The bindings allow YaST modules to be written using the Ruby language
@@ -82,5 +65,3 @@
 %{_libdir}/ruby/vendor_ruby/%{rb_ver}/yast
 %{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/*x.so
 %{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/yast
-
-%changelog

++++++ yast2-ruby-bindings-3.0.3.tar.bz2 -> yast2-ruby-bindings-3.0.4.tar.bz2 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.0.3/VERSION.cmake 
new/yast2-ruby-bindings-3.0.4/VERSION.cmake
--- old/yast2-ruby-bindings-3.0.3/VERSION.cmake 2013-09-12 14:16:52.000000000 
+0200
+++ new/yast2-ruby-bindings-3.0.4/VERSION.cmake 2013-10-15 15:43:25.000000000 
+0200
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "3")
 SET(VERSION_MINOR "0")
-SET(VERSION_PATCH "3")
+SET(VERSION_PATCH "4")
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ruby-bindings-3.0.3/package/yast2-ruby-bindings.changes 
new/yast2-ruby-bindings-3.0.4/package/yast2-ruby-bindings.changes
--- old/yast2-ruby-bindings-3.0.3/package/yast2-ruby-bindings.changes   
2013-09-12 14:16:52.000000000 +0200
+++ new/yast2-ruby-bindings-3.0.4/package/yast2-ruby-bindings.changes   
2013-10-15 15:44:28.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------
+Tue Oct 15 13:01:18 UTC 2013 - lsle...@suse.cz
+
+- float_to_lstring(): do not crash when glibc-locale is missing,
+  fallback to unlocalized version (bnc#803163)
+- 3.0.4
+
+-------------------------------------------------------------------
 Thu Sep 12 07:53:00 UTC 2013 - jreidin...@suse.com
 
 - fix loading rubygems in embedded ruby
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-ruby-bindings-3.0.3/package/yast2-ruby-bindings.spec 
new/yast2-ruby-bindings-3.0.4/package/yast2-ruby-bindings.spec
--- old/yast2-ruby-bindings-3.0.3/package/yast2-ruby-bindings.spec      
2013-09-11 17:22:40.000000000 +0200
+++ new/yast2-ruby-bindings-3.0.4/package/yast2-ruby-bindings.spec      
1970-01-01 01:00:00.000000000 +0100
@@ -1,86 +0,0 @@
-#
-# spec file for package yast2-ruby-bindings
-#
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
-#
-# All modifications and additions to the file contributed by third parties
-# remain the property of their copyright owners, unless otherwise agreed
-# upon. The license for this file, and modifications and additions to the
-# file, is the same license as for the pristine package itself (unless the
-# license for the pristine package is not an Open Source License, in which
-# case the license is the MIT License). An "Open Source License" is a
-# license that conforms to the Open Source Definition (Version 1.9)
-# published by the Open Source Initiative.
-
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-#
-
-
-#
-# spec file for package yast2-ruby-bindings (Version 0.1)
-#
-
-Name:           yast2-ruby-bindings
-Version:        3.0.2
-Release:        0
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        yast2-ruby-bindings-%{version}.tar.bz2
-Prefix:         /usr
-
-BuildRequires:  cmake
-BuildRequires:  gcc-c++
-BuildRequires:  yast2-core-devel
-BuildRequires:  yast2-devtools >= 2.16.3
-# libzypp-devel is missing .la requires
-BuildRequires:  ruby-devel
-BuildRequires:  rubygem-fast_gettext
-Requires:       rubygem-fast_gettext
-Requires:       yast2-core >= 2.24.0
-BuildRequires:  yast2-core-devel >= 2.24.0
-Requires:       yast2-ycp-ui-bindings       >= 2.21.9
-BuildRequires:  yast2-ycp-ui-bindings-devel >= 2.21.9
-Requires:       ruby
-Summary:        Ruby bindings for the YaST platform
-License:        GPL-2.0
-Group:          System/YaST
-
-%description
-The bindings allow YaST modules to be written using the Ruby language
-and also Ruby scripts can use YaST agents, APIs and modules.
-
-%prep
-%setup -n yast2-ruby-bindings-%{version}
-%build
-mkdir build
-cd build
-cmake -DCMAKE_INSTALL_PREFIX=%{prefix} \
-      -DLIB=%{_lib} \
-      -DCMAKE_C_FLAGS="%{optflags}" \
-      -DCMAKE_CXX_FLAGS="%{optflags}" \
-      -DCMAKE_BUILD_TYPE=Release \
-      -DCMAKE_SKIP_RPATH=1 \
-      ..
-make %{?jobs:-j %jobs} VERBOSE=1
-
-%install
-cd build
-make install DESTDIR=$RPM_BUILD_ROOT
-cd ..
-
-%check
-cd build/tests/ruby
-make test ARGS=-V
-cd -
-
-%clean
-rm -rf "$RPM_BUILD_ROOT"
-
-%files
-%defattr (-, root, root)
-%{_libdir}/YaST2/plugin/libpy2lang_ruby.so
-%{_libdir}/ruby/vendor_ruby/%{rb_ver}/*.rb
-%{_libdir}/ruby/vendor_ruby/%{rb_ver}/yast
-%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/*x.so
-%{_libdir}/ruby/vendor_ruby/%{rb_ver}/%{rb_arch}/yast
-
-%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-ruby-bindings-3.0.3/src/binary/Builtin.cc 
new/yast2-ruby-bindings-3.0.4/src/binary/Builtin.cc
--- old/yast2-ruby-bindings-3.0.3/src/binary/Builtin.cc 2013-06-20 
22:20:53.000000000 +0200
+++ new/yast2-ruby-bindings-3.0.4/src/binary/Builtin.cc 2013-10-15 
15:43:16.000000000 +0200
@@ -8,6 +8,7 @@
 
 #include <string>
 #include <sstream>
+#include <stdexcept>
 #include <iconv.h>
 #include <errno.h>
 extern "C" {
@@ -163,7 +164,16 @@
       return Qnil;
 
     std::wostringstream ss; // bnc#683881#c12: need wide chars
-    ss.imbue (std::locale (""));
+
+    try
+    {
+      ss.imbue (std::locale (""));
+    }
+    catch (const std::runtime_error &error)
+    {
+      y2warning("Cannot set locale (missing glibc-locale package?): %s", 
error.what());
+    }
+
     ss.precision (NUM2LONG(rprecision));
     ss << fixed<< NUM2DBL(rfloat);
     std::wstring res = ss.str();

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to