commit ruby2.7 for openSUSE:Factory

2020-10-29 Thread root
Hello community,

here is the log from the commit of package ruby2.7 for openSUSE:Factory checked 
in at 2020-10-29 09:22:18

Comparing /work/SRC/openSUSE:Factory/ruby2.7 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby2.7.new.3463 (New)


Package is "ruby2.7"

Thu Oct 29 09:22:18 2020 rev:5 rq:844279 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/ruby2.7/ruby2.7.changes  2020-10-20 
16:08:22.169951806 +0200
+++ /work/SRC/openSUSE:Factory/.ruby2.7.new.3463/ruby2.7.changes
2020-10-29 09:22:19.366688705 +0100
@@ -1,0 +2,11 @@
+Tue Oct 27 11:31:24 UTC 2020 - Marcus Rueckert 
+
+- fix typo in ruby macros file
+
+---
+Sun Oct 25 18:07:56 UTC 2020 - Marcus Rueckert 
+
+- fix typo in ruby2.7-default.macros which still referenced ruby
+  2.6
+
+---



Other differences:
--
++ ruby2.7-default.macros ++
--- /var/tmp/diff_new_pack.KLhkEB/_old  2020-10-29 09:22:20.270689571 +0100
+++ /var/tmp/diff_new_pack.KLhkEB/_new  2020-10-29 09:22:20.270689571 +0100
@@ -1,6 +1,6 @@
 %rb_default_ruby_suffix ruby2.7
 
-%rb_default_rubyruby26
+%rb_default_rubyruby27
 %rb_default_ruby_abiruby:2.7.0
 
 %rb_build_versions  %rb_default_ruby

++ ruby2.7.macros ++
--- /var/tmp/diff_new_pack.KLhkEB/_old  2020-10-29 09:22:20.314689614 +0100
+++ /var/tmp/diff_new_pack.KLhkEB/_new  2020-10-29 09:22:20.318689618 +0100
@@ -6,11 +6,11 @@
 #
 # IMPORTANT IMPORTANT IMPORTANT IMPORTANT  IMPORTANT IMPORTANT
 #
-%rubygemsruby26() rubygem(ruby:2.7.0:%{expand:%%rubygemsx%*} 
%{expand:%%{rubygems%*}}
-%rubygemsxruby26() %{expand:%%{rubygemsx%*}}
+%rubygemsruby27() rubygem(ruby:2.7.0:%{expand:%%rubygemsx%*} 
%{expand:%%{rubygems%*}}
+%rubygemsxruby27() %{expand:%%{rubygemsx%*}}
 
-%rubyruby26() ruby2.7 %{expand:%%rubyx%*} %{expand:%%{ruby%*}}
-%rubyxruby26() %{expand:%%{rubyx%*}}
+%rubyruby27() ruby2.7 %{expand:%%rubyx%*} %{expand:%%{ruby%*}}
+%rubyxruby27() %{expand:%%{rubyx%*}}
 
-%rubydevelruby26() ruby2.7-devel %{expand:%%rubydevelx%*} 
%{expand:%%{rubydevel%*}}
-%rubydevelxruby26() %{expand:%%{rubydevelx%*}}
+%rubydevelruby27() ruby2.7-devel %{expand:%%rubydevelx%*} 
%{expand:%%{rubydevel%*}}
+%rubydevelxruby27() %{expand:%%{rubydevelx%*}}




commit ruby2.7 for openSUSE:Factory

2020-10-20 Thread root
Hello community,

here is the log from the commit of package ruby2.7 for openSUSE:Factory checked 
in at 2020-10-20 16:02:53

Comparing /work/SRC/openSUSE:Factory/ruby2.7 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby2.7.new.3486 (New)


Package is "ruby2.7"

Tue Oct 20 16:02:53 2020 rev:4 rq:842182 version:2.7.2

Changes:

--- /work/SRC/openSUSE:Factory/ruby2.7/ruby2.7.changes  2020-04-28 
22:33:47.097912120 +0200
+++ /work/SRC/openSUSE:Factory/.ruby2.7.new.3486/ruby2.7.changes
2020-10-20 16:08:22.169951806 +0200
@@ -1,0 +2,20 @@
+Fri Oct  9 18:10:19 UTC 2020 - Marcus Rueckert 
+
+- Update to 2.7.2 (boo#1177125)
+  This release contains intentional incompatibility. Deprecation
+  warnings are off by default on 2.7.2 and later. You can turn on
+  deprecation warnings by specifying the -w or -W:deprecated option
+  at the command-line. Please check the topics below for details.
+
+  - Feature #17000 2.7.2 turns off deprecation warnings by default
+  - Feature #16345 Don’t emit deprecation warnings by default.
+
+  This release contains the new version of webrick with a security
+  fix described in the article.
+
+  - CVE-2020-25613: Potential HTTP Request Smuggling Vulnerability
+in WEBrick
+
+  Complete list of changes at 
https://github.com/ruby/ruby/compare/v2_7_1...v2_7_2
+
+---

Old:

  ruby-2.7.1.tar.xz

New:

  ruby-2.7.2.tar.xz



Other differences:
--
++ ruby2.7.spec ++
--- /var/tmp/diff_new_pack.YxBwWF/_old  2020-10-20 16:08:26.349953785 +0200
+++ /var/tmp/diff_new_pack.YxBwWF/_new  2020-10-20 16:08:26.353953787 +0200
@@ -25,9 +25,9 @@
 
 
 %define patch_level p0
-Version:2.7.1
+Version:2.7.2
 Release:0
-%define pkg_version 2.7.1
+%define pkg_version 2.7.2
 # make the exported API version explicit
 %define api_version 2.7.0
 %define rb_binary_suffix .ruby2.7

++ ruby-2.7.1.tar.xz -> ruby-2.7.2.tar.xz ++
/work/SRC/openSUSE:Factory/ruby2.7/ruby-2.7.1.tar.xz 
/work/SRC/openSUSE:Factory/.ruby2.7.new.3486/ruby-2.7.2.tar.xz differ: char 26, 
line 1




commit ruby2.7 for openSUSE:Factory

2020-04-28 Thread root
Hello community,

here is the log from the commit of package ruby2.7 for openSUSE:Factory checked 
in at 2020-04-28 22:33:17

Comparing /work/SRC/openSUSE:Factory/ruby2.7 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby2.7.new.2738 (New)


Package is "ruby2.7"

Tue Apr 28 22:33:17 2020 rev:3 rq:798715 version:2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/ruby2.7/ruby2.7.changes  2020-04-22 
20:56:26.607797684 +0200
+++ /work/SRC/openSUSE:Factory/.ruby2.7.new.2738/ruby2.7.changes
2020-04-28 22:33:47.097912120 +0200
@@ -1,0 +2,11 @@
+Tue Apr 28 17:59:59 UTC 2020 - Marcus Rueckert 
+
+- make sure that update-alternative weight for the default
+  distribution is always greater than our normal weight
+
+---
+Tue Apr 28 17:18:35 UTC 2020 - Marcus Rueckert 
+
+- make the update-alternative weight based on the ruby version
+
+---



Other differences:
--
++ ruby2.7.spec ++
--- /var/tmp/diff_new_pack.tZwivp/_old  2020-04-28 22:33:48.621914964 +0200
+++ /var/tmp/diff_new_pack.tZwivp/_new  2020-04-28 22:33:48.625914972 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ruby2.7
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -32,6 +32,7 @@
 %define api_version 2.7.0
 %define rb_binary_suffix .ruby2.7
 %define rb_soname ruby2.7
+%define _rb_ua_weight 27
 
 # ruby-macros and ruby-common version
 %define rpm_macros_version 3
@@ -52,6 +53,9 @@
 
 %if "%{rb_default_ruby_suffix}" == "%{rb_soname}"
 %define is_default_ruby 1
+%define rb_ua_weight 1%{_rb_ua_weight}
+%else
+%define rb_ua_weight %{_rb_ua_weight}
 %endif
 
 %define ua_binaries rake rdoc ri bundle bundler racc racc2y y2racc
@@ -73,7 +77,7 @@
 %bcond_withseparate_stdlib
 
 #
-Url:https://www.ruby-lang.org/
+URL:https://www.ruby-lang.org/
 Source: 
https://cache.ruby-lang.org/pub/ruby/2.7/ruby-%{pkg_version}.tar.xz
 #
 Source3:%{name}.macros
@@ -366,9 +370,9 @@
 %post
 for bin in %{ua_binaries}; do
   /usr/sbin/update-alternatives --install \
-%{_bindir}/$bin $bin %{_bindir}/$bin.ruby%{rb_binary_suffix} 3
+%{_bindir}/$bin $bin %{_bindir}/$bin.ruby%{rb_binary_suffix} 
%{rb_ua_weight}
   /usr/sbin/update-alternatives --install \
-%{_bindir}/$bin%{rb_binary_suffix} $bin%{rb_binary_suffix} 
%{_bindir}/$bin.ruby%{rb_binary_suffix} 3
+%{_bindir}/$bin%{rb_binary_suffix} $bin%{rb_binary_suffix} 
%{_bindir}/$bin.ruby%{rb_binary_suffix} %{rb_ua_weight}
 done
 
 %preun




commit ruby2.7 for openSUSE:Factory

2020-04-22 Thread root
Hello community,

here is the log from the commit of package ruby2.7 for openSUSE:Factory checked 
in at 2020-04-22 20:56:21

Comparing /work/SRC/openSUSE:Factory/ruby2.7 (Old)
 and  /work/SRC/openSUSE:Factory/.ruby2.7.new.2738 (New)


Package is "ruby2.7"

Wed Apr 22 20:56:21 2020 rev:2 rq:796186 version:2.7.1

Changes:

--- /work/SRC/openSUSE:Factory/ruby2.7/ruby2.7.changes  2020-04-09 
23:18:02.962334493 +0200
+++ /work/SRC/openSUSE:Factory/.ruby2.7.new.2738/ruby2.7.changes
2020-04-22 20:56:26.607797684 +0200
@@ -1,0 +2,5 @@
+Tue Apr 14 07:47:25 UTC 2020 - Bernhard Wiedemann 
+
+- Add ruby2.7-drop-build-date.patch (boo#1047218)
+
+---

New:

  ruby2.7-drop-build-date.patch



Other differences:
--
++ ruby2.7.spec ++
--- /var/tmp/diff_new_pack.ybrl1N/_old  2020-04-22 20:56:28.199800853 +0200
+++ /var/tmp/diff_new_pack.ybrl1N/_new  2020-04-22 20:56:28.203800861 +0200
@@ -81,6 +81,8 @@
 Source98:   series
 Source99:   %{name}-rpmlintrc
 Patch:  use-pie.patch
+# PATCH-FIX-UPSTREAM bmwiedemann 
--https://github.com/ruby/io-console/commit/679a941d05d869f5e575730f6581c027203b7b26
+Patch1: ruby2.7-drop-build-date.patch
 
 #
 BuildRequires:  ruby-bundled-gems-rpmhelper
@@ -274,6 +276,7 @@
 %setup -q -n ruby-%{pkg_version}
 #setup -q -n snapshot
 %patch -p1
+%patch1 -p1
 find sample -type f -perm /a=x -ls -exec chmod a-x \{\} \+
 # replace "/usr/bin/env ruby" and "/usr/local/bin/ruby" with correct path
 grep -Erl '^#! */.*ruby' benchmark bootstraptest ext lib sample test \

++ ruby2.7-drop-build-date.patch ++
https://github.com/ruby/io-console/commit/679a941d05d869f5e575730f6581c027203b7b26

>From 679a941d05d869f5e575730f6581c027203b7b26 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA 
Date: Thu, 19 Dec 2019 10:18:52 +0900
Subject: [PATCH] Gem::Specification#date is set automatically by RubyGems.org.

---
 io-console.gemspec | 2 --
 1 file changed, 2 deletions(-)

Index: ruby-2.7.1/ext/io/console/io-console.gemspec
===
--- ruby-2.7.1.orig/ext/io/console/io-console.gemspec
+++ ruby-2.7.1/ext/io/console/io-console.gemspec
@@ -1,11 +1,9 @@
 # -*- ruby -*-
 _VERSION = "0.5.6"
-date = %w$Date::   $[1]
 
 Gem::Specification.new do |s|
   s.name = "io-console"
   s.version = _VERSION
-  s.date = date
   s.summary = "Console interface"
   s.email = "n...@ruby-lang.org"
   s.description = "add console capabilities to IO instances."