Recommended update for ruby-common, rubygem-gem2rpm

Announcement ID: SUSE-RU-2017:1025-1
Rating: low
References:
Affected Products:
  • Magnum Orchestration 7
  • SUSE Linux Enterprise Desktop 12 SP1
  • SUSE Linux Enterprise Desktop 12 SP2
  • SUSE Linux Enterprise High Performance Computing 12 SP2
  • SUSE Linux Enterprise Server 12 SP1
  • SUSE Linux Enterprise Server 12 SP2
  • SUSE Linux Enterprise Server for SAP Applications 12 SP1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP2
  • SUSE Linux Enterprise Server for the Raspberry Pi 12-SP2

An update that has one fix can now be installed.

Description:

This update for ruby-common, rubygem-gem2rpm fixes the following issues:

ruby-common:

  • Since rubygems 2.5.0 the default version in the gem bin stub changed from '>= 0' to '>= 0.a'. This was done to allow pre-release versions. Our patching script didn't take the '.a' into account and generated version fields like '= 0.10.1.a' instead of the expected '= 0.10.1'. This fix accounts for the '.a'.

Changes in rubygem-gem2rpm:

  • Fix 'gem2rpm --fetch': prefer https for accessing rubygems.org. (bsc#963710)
  • Add support for Ruby 2.3.0 and 2.4.0.
  • Add :post_patch hook to run commands before we rebuild the gem used by libv8.
  • Add support for rubinius 2.5 and remove support for 2.2.
  • No longer require the Ruby version inside the sub-package. With BuildRequires we already make sure that the package is only built if we find a recent enough ABI. Then the normal $interpreter(abi) requires generated by rpm is enough.
  • Move to new packaging templates by default.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • Magnum Orchestration 7
    zypper in -t patch SUSE-OpenStack-Cloud-Magnum-Orchestration-7-2017-598=1
  • SUSE Linux Enterprise Desktop 12 SP1
    zypper in -t patch SUSE-SLE-DESKTOP-12-SP1-2017-598=1
  • SUSE Linux Enterprise Desktop 12 SP2
    zypper in -t patch SUSE-SLE-DESKTOP-12-SP2-2017-598=1
  • SUSE Linux Enterprise Server for the Raspberry Pi 12-SP2
    zypper in -t patch SUSE-SLE-RPI-12-SP2-2017-598=1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP1
    zypper in -t patch SUSE-SLE-SERVER-12-SP1-2017-598=1
  • SUSE Linux Enterprise Server 12 SP1
    zypper in -t patch SUSE-SLE-SERVER-12-SP1-2017-598=1
  • SUSE Linux Enterprise High Performance Computing 12 SP2
    zypper in -t patch SUSE-SLE-SERVER-12-SP2-2017-598=1
  • SUSE Linux Enterprise Server 12 SP2
    zypper in -t patch SUSE-SLE-SERVER-12-SP2-2017-598=1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP2
    zypper in -t patch SUSE-SLE-SERVER-12-SP2-2017-598=1

Package List:

  • Magnum Orchestration 7 (noarch)
    • ruby-common-2.1-19.1
  • Magnum Orchestration 7 (x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Desktop 12 SP1 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Desktop 12 SP1 (x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Desktop 12 SP2 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Desktop 12 SP2 (x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Server for the Raspberry Pi 12-SP2 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Server for the Raspberry Pi 12-SP2 (aarch64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP1 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP1 (ppc64le x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Server 12 SP1 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Server 12 SP1 (ppc64le s390x x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise High Performance Computing 12 SP2 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise High Performance Computing 12 SP2 (aarch64 x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Server 12 SP2 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Server 12 SP2 (aarch64 ppc64le s390x x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP2 (noarch)
    • ruby-common-2.1-19.1
  • SUSE Linux Enterprise Server for SAP Applications 12 SP2 (ppc64le x86_64)
    • ruby2.1-rubygem-gem2rpm-0.10.1-4.1

References: