Hello community,

here is the log from the commit of package ruby2.5 for openSUSE:Factory checked 
in at 2017-12-21 11:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ruby2.5 (Old)
 and      /work/SRC/openSUSE:Factory/.ruby2.5.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ruby2.5"

Thu Dec 21 11:27:41 2017 rev:7 rq:558576 version:2.5.0~rc1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ruby2.5/ruby2.5.changes  2017-11-23 
09:37:45.911070336 +0100
+++ /work/SRC/openSUSE:Factory/.ruby2.5.new/ruby2.5.changes     2017-12-21 
11:28:06.671154805 +0100
@@ -1,0 +2,13 @@
+Tue Dec 19 15:10:34 UTC 2017 - [email protected]
+
+- switch to https urls
+
+-------------------------------------------------------------------
+Mon Dec 18 15:13:28 UTC 2017 - [email protected]
+
+- update to 2.5.0~rc1
+  https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-5-0-rc1-released/
+- added 316f58076d29dcff053256992d9ec19fed7e698f.patch
+  to fix building rbtrace and ruby-prof
+
+-------------------------------------------------------------------

Old:
----
  snapshot.tar.gz

New:
----
  316f58076d29dcff053256992d9ec19fed7e698f.patch
  ruby-2.5.0-rc1.tar.xz

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

Other differences:
------------------
++++++ ruby2.5.spec ++++++
--- /var/tmp/diff_new_pack.EZridx/_old  2017-12-21 11:28:08.663057680 +0100
+++ /var/tmp/diff_new_pack.EZridx/_new  2017-12-21 11:28:08.667057485 +0100
@@ -25,12 +25,13 @@
 ####
 
 %define patch_level p0
-Version:        2.5.0~svn.60813
+Version:        2.5.0~rc1
 Release:        0
 # make the exported API version explicit
 %define api_version 2.5.0
 %define rb_binary_suffix .ruby2.5
 %define rb_soname ruby2.5
+%define pkg_version 2.5.0-rc1
 
 # ruby-macros and ruby-common version
 %define rpm_macros_version 3
@@ -115,9 +116,8 @@
 Requires:       ruby-common
 
 #
-Url:            http://www.ruby-lang.org/
-# Source:         
http://cache.ruby-lang.org/pub/ruby/2.5/ruby-%{version}.tar.xz
-Source:         https://cache.ruby-lang.org/pub/ruby/snapshot.tar.gz
+Url:            https://www.ruby-lang.org/
+Source:         
https://cache.ruby-lang.org/pub/ruby/2.5/ruby-%{pkg_version}.tar.xz
 Source1:        generate_rubygemprovides.awk
 Source2:        dump-versions.rb
 #
@@ -127,6 +127,7 @@
 
 Patch01:        0001-make-gem-build-reproducible.patch
 Patch02:        0002-gc.c-tick-for-POWER-arch.patch
+Patch03:        316f58076d29dcff053256992d9ec19fed7e698f.patch
 
 #
 Summary:        An Interpreted Object-Oriented Scripting Language
@@ -193,36 +194,36 @@
 %define gen_embedded_provides4() %(awk -f %{S:1} -- %api_version %arch %1 %2 
%3 %4)
 %define gen_embedded_provides5() %(awk -f %{S:1} -- %api_version %arch %1 %2 
%3 %4 %5)
 
-%gen_embedded_provides4 bigdecimal 1 3 2
-%gen_embedded_provides4 date 0 0 1
-%gen_embedded_provides5 dbm 1 0 0 beta1
+%gen_embedded_provides4 bigdecimal 1 3 3
+%gen_embedded_provides4 date 1 0 0
+%gen_embedded_provides4 dbm 1 0 0
 %gen_embedded_provides4 digest 0 1 0
-%gen_embedded_provides4 etc 0 2 1
-%gen_embedded_provides4 fcntl 0 0 1
-%gen_embedded_provides5 fiddle 1 0 0 beta2
-%gen_embedded_provides5 gdbm 2 0 0 beta1
+%gen_embedded_provides4 etc 1 0 0
+%gen_embedded_provides4 fcntl 1 0 0
+%gen_embedded_provides4 fiddle 1 0 0
+%gen_embedded_provides4 gdbm 2 0 0
 %gen_embedded_provides4 io-console 0 4 6
 %gen_embedded_provides4 json 2 1 0
-%gen_embedded_provides5 openssl 2 1 0 beta1
-%gen_embedded_provides5 psych 3 0 0 beta3
-%gen_embedded_provides4 sdbm 0 0 1
+%gen_embedded_provides4 openssl 2 1 0
+%gen_embedded_provides4 psych 3 0 0
+%gen_embedded_provides4 sdbm 1 0 0
 %gen_embedded_provides4 stringio 0 0 1
 %gen_embedded_provides4 strscan 0 0 1
-%gen_embedded_provides4 zlib 0 1 0
-%gen_embedded_provides4 did_you_mean 1 1 2
+%gen_embedded_provides4 zlib 1 0 0
+%gen_embedded_provides4 did_you_mean 1 2 0
 %gen_embedded_provides4 minitest 5 10 3
 %gen_embedded_provides4 net-telnet 0 1 1
 %gen_embedded_provides4 power_assert 1 1 1
 %gen_embedded_provides4 rake 12 3 0
-%gen_embedded_provides4 test-unit 3 2 6
+%gen_embedded_provides4 test-unit 3 2 7
 %gen_embedded_provides4 xmlrpc 0 3 0
-%gen_embedded_provides4 bundler 1 16 0
-%gen_embedded_provides4 cmath 0 0 1
-%gen_embedded_provides4 csv 0 1 0
-%gen_embedded_provides4 fileutils 0 7 2
+%gen_embedded_provides5 bundler 1 16 1 pre1
+%gen_embedded_provides4 cmath 1 0 0
+%gen_embedded_provides4 csv 1 0 0
+%gen_embedded_provides4 fileutils 1 0 1
 %gen_embedded_provides4 ipaddr 1 2 0
-%gen_embedded_provides5 rdoc 6 0 0 beta3
-%gen_embedded_provides4 scanf 0 0 1
+%gen_embedded_provides4 rdoc 6 0 0
+%gen_embedded_provides4 scanf 1 0 0
 %gen_embedded_provides4 webrick 1 3 1
 
 ################################
@@ -318,10 +319,11 @@
 - Dynamic Loading of Object Files (on some architectures)
 
 %prep
-#setup -q -n ruby-%{version}
-%setup -q -n snapshot
+%setup -q -n ruby-%{pkg_version}
+#setup -q -n snapshot
 %patch01 -p1
 %patch02 -p1
+%patch03 -p1
 find sample -type f -print0 | xargs -r0 chmod a-x
 grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \
   | xargs -r perl -p -i -e 
's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby%{rb_binary_suffix} $1|'

++++++ 316f58076d29dcff053256992d9ec19fed7e698f.patch ++++++
>From 316f58076d29dcff053256992d9ec19fed7e698f Mon Sep 17 00:00:00 2001
From: k0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Sat, 16 Dec 2017 13:02:25 +0000
Subject: [PATCH] vm.c: always export rb_frame_method_id_and_class

Functions declared in include/ruby/backward.h is exported only when
the condition `!defined RUBY_EXPORT && !defined RUBY_NO_OLD_COMPATIBILITY`
is met (i.e. included by include/ruby/ruby.h).

So if it is not the case when ruby is built, this will not be exported.
This was not intentional at r60994.

[Bug #14192]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61296 
b2dd03c8-39d4-4d8f-98ff-823fe69b080e
---
 vm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vm.c b/vm.c
index be04f5db0164..85888be9193f 100644
--- a/vm.c
+++ b/vm.c
@@ -2049,7 +2049,7 @@ rb_ec_frame_method_id_and_class(const 
rb_execution_context_t *ec, ID *idp, ID *c
     return rb_vm_control_frame_id_and_class(ec->cfp, idp, called_idp, klassp);
 }
 
-int
+RUBY_FUNC_EXPORTED int
 rb_frame_method_id_and_class(ID *idp, VALUE *klassp)
 {
     return rb_ec_frame_method_id_and_class(GET_EC(), idp, 0, klassp);

Reply via email to