Hello community, here is the log from the commit of package ruby2.5 for openSUSE:Factory checked in at 2017-11-11 14:18:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby2.5 (Old) and /work/SRC/openSUSE:Factory/.ruby2.5.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ruby2.5" Sat Nov 11 14:18:51 2017 rev:4 rq:540215 version:2.5.0~svn.596232 Changes: -------- --- /work/SRC/openSUSE:Factory/ruby2.5/ruby2.5.changes 2017-10-17 01:49:00.136317020 +0200 +++ /work/SRC/openSUSE:Factory/.ruby2.5.new/ruby2.5.changes 2017-11-11 14:18:52.644802349 +0100 @@ -1,0 +2,23 @@ +Thu Nov 9 13:43:41 UTC 2017 - [email protected] + +- Add conflicts to libruby to make sure ruby and ruby-stdlib are + also updated when libruby is updated (bsc#1048072.) + +------------------------------------------------------------------- +Thu Nov 9 13:25:14 UTC 2017 - [email protected] + +- exclude all testsuites for the stdlib gems + +------------------------------------------------------------------- +Wed Nov 8 15:16:52 UTC 2017 - [email protected] + +- build jemalloc + +------------------------------------------------------------------- +Tue Oct 31 13:42:34 UTC 2017 - [email protected] + +- update to 60568 + see installed /usr/share/doc/packages/ruby2.5/ChangeLog + - this fixes the "ruby -rubygems" on 2.5 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby2.5.spec ++++++ --- /var/tmp/diff_new_pack.bdF3bM/_old 2017-11-11 14:19:04.456369449 +0100 +++ /var/tmp/diff_new_pack.bdF3bM/_new 2017-11-11 14:19:04.460369302 +0100 @@ -61,11 +61,19 @@ %endif # turn on testsuite by default. we dont hard fail anyway. %bcond_without run_tests +%if 0%{?is_opensuse} || 0%{?sle_version} >= 150000 +%bcond_without jemalloc +%else +%bcond_with jemalloc +%endif # BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: awk BuildRequires: gdbm-devel +%if %{with jemalloc} +BuildRequires: jemalloc-devel +%endif BuildRequires: libffi-devel BuildRequires: libyaml-devel BuildRequires: ncurses-devel @@ -152,6 +160,11 @@ %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. +Conflicts: %{name} < %{version}-%{release} +Conflicts: %{name}-stdlib < %{version}-%{release} %description -n %{libname} Dynamic runtime library for Ruby @@ -198,16 +211,16 @@ %gen_embedded_provides4 did_you_mean 1 1 2 %gen_embedded_provides4 minitest 5 10 3 %gen_embedded_provides4 net-telnet 0 1 1 -%gen_embedded_provides4 power_assert 1 1 0 -%gen_embedded_provides4 rake 12 1 0 -%gen_embedded_provides4 test-unit 3 2 5 +%gen_embedded_provides4 power_assert 1 1 1 +%gen_embedded_provides4 rake 12 2 1 +%gen_embedded_provides4 test-unit 3 2 6 %gen_embedded_provides4 xmlrpc 0 3 0 %gen_embedded_provides4 bundler 1 15 4 %gen_embedded_provides4 cmath 0 0 1 %gen_embedded_provides4 csv 0 1 0 %gen_embedded_provides4 fileutils 0 7 2 -%gen_embedded_provides4 ipaddr 1 0 0 -%gen_embedded_provides5 rdoc 6 0 0 beta2 +%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 webrick 1 3 1 @@ -222,6 +235,9 @@ Requires: %{name} = %{version} Provides: rubygems = 2.5.2 Provides: rubygems_with_buildroot_patch +%if %{with jemalloc} +Requires: jemalloc-devel +%endif %description devel Development files to link against Ruby. @@ -315,6 +331,9 @@ export LC_ALL="en_US.UTF-8" export CFLAGS="%{optflags} -fno-strict-aliasing" %configure \ + %if %{with jemalloc} + --with-jemalloc \ + %endif --program-suffix="%{rb_binary_suffix}" \ --with-soname=%{rb_soname} \ --target=%{_target_platform} \ @@ -328,7 +347,7 @@ make all V=1 %install -%make_install V=1 +%makeinstall V=1 echo "%defattr(-,root,root,-)" > devel-extra-excludes echo "%defattr(-,root,root,-)" > devel-extra-list for i in iseq.h insns.inc insns_info.inc revision.h version.h thread_pthread.h \ @@ -389,6 +408,7 @@ %if %{with run_tests} %check +DISABLE_TESTS="-x resolv/test_mdns.rb" %ifarch armv7l armv7hl armv7hnl # test_call_double(DL::TestDL) fails on ARM HardFP # http://bugs.ruby-lang.org/issues/6592 @@ -442,6 +462,7 @@ %files stdlib %defattr(-,root,root,-) %{_libdir}/ruby/ +%exclude %{_libdir}/ruby/gems/%{api_version}/gems/*/test/ %dir %rb_extdir %dir %rb_extarchdir %dir %rb_extversionedarchdir ++++++ snapshot.tar.gz ++++++ /work/SRC/openSUSE:Factory/ruby2.5/snapshot.tar.gz /work/SRC/openSUSE:Factory/.ruby2.5.new/snapshot.tar.gz differ: char 5, line 1
