Hello community,

here is the log from the commit of package ruby2.4 for openSUSE:Factory checked 
in at 2018-01-16 09:41:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby2.4 (Old)
 and      /work/SRC/openSUSE:Factory/.ruby2.4.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby2.4"

Tue Jan 16 09:41:01 2018 rev:5 rq:563729 version:2.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby2.4/ruby2.4.changes  2017-12-21 
11:28:17.062648123 +0100
+++ /work/SRC/openSUSE:Factory/.ruby2.4.new/ruby2.4.changes     2018-01-16 
09:41:02.885403271 +0100
@@ -1,0 +2,7 @@
+Fri Jan  5 00:00:23 UTC 2018 - mrueck...@suse.de
+
+- merge in some improvements from the 2.5 package
+  - track all binaries handled via u-a in an ua_binaries variable
+  - set an UTF-8 locale for building
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ ruby2.4.spec ++++++
--- /var/tmp/diff_new_pack.2IMaAy/_old  2018-01-16 09:41:04.221340739 +0100
+++ /var/tmp/diff_new_pack.2IMaAy/_new  2018-01-16 09:41:04.225340551 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ruby2.4
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -54,6 +54,7 @@
 %define is_default_ruby 1
 %endif
 
+%define ua_binaries rake rdoc ri
 # keep in sync with macro file!
 #
 # from valgrind.spec
@@ -158,10 +159,10 @@
 
 %package -n %{libname}
 Summary:        Dynamic runtime library for Ruby
-Group:          System/Libraries
 # Both ruby and ruby-stdlib now depend explicitly on libruby by version,
 # however it was not always the case, so the conflicts statements below
 # are needed to handle updates.
+Group:          System/Libraries
 Conflicts:      %{name} < %{version}-%{release}
 Conflicts:      %{name}-stdlib < %{version}-%{release}
 
@@ -307,6 +308,8 @@
 
 %build
 # iseq.c needs -fno-strict-aliasing
+export LANG="en_US.UTF-8"
+export LC_ALL="en_US.UTF-8"
 export CFLAGS="%{optflags} -fno-strict-aliasing"
 %configure \
   %if %{with jemalloc}
@@ -355,7 +358,7 @@
   done
   ln -s lib%{rb_soname}.so %{buildroot}%{_libdir}/libruby.so
 %endif
-for bin in rake rdoc ri; do
+for bin in %{ua_binaries}; do
   # dummy
   mv %{buildroot}%_bindir/${bin}%{rb_binary_suffix} 
%{buildroot}%_bindir/$bin.ruby%{rb_binary_suffix}
   #
@@ -369,7 +372,7 @@
 chmod -vR go-w,go+rX %{buildroot}%{_libdir}/ruby
 
 %post
-for bin in rake rdoc ri; do
+for bin in %{ua_binaries}; do
   /usr/sbin/update-alternatives --install \
     %{_bindir}/$bin $bin %{_bindir}/$bin.ruby%{rb_binary_suffix} 3
   /usr/sbin/update-alternatives --install \
@@ -378,7 +381,7 @@
 
 %preun
 if [ "$1" = 0 ] ; then
-  for bin in rake rdoc ri; do
+  for bin in %{ua_binaries}; do
     /usr/sbin/update-alternatives --remove $bin 
%{_bindir}/$bin.ruby%{rb_binary_suffix}
     /usr/sbin/update-alternatives --remove $bin%{rb_binary_suffix} 
%{_bindir}/$bin.ruby%{rb_binary_suffix}
   done


Reply via email to