Hello community, here is the log from the commit of package SUSEConnect for openSUSE:Factory checked in at 2017-12-10 18:14:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/SUSEConnect (Old) and /work/SRC/openSUSE:Factory/.SUSEConnect.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "SUSEConnect" Sun Dec 10 18:14:53 2017 rev:6 rq:555105 version:0.3.3 Changes: -------- --- /work/SRC/openSUSE:Factory/SUSEConnect/SUSEConnect.changes 2017-10-25 17:45:37.600750508 +0200 +++ /work/SRC/openSUSE:Factory/.SUSEConnect.new/SUSEConnect.changes 2017-12-10 18:14:57.098320282 +0100 @@ -1,0 +2,6 @@ +Thu Dec 7 17:30:23 UTC 2017 - [email protected] + +- Update to version 0.3.3: + - Fix SLE15 build + +------------------------------------------------------------------- Old: ---- suse-connect-0.3.2.gem New: ---- suse-connect-0.3.3.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ SUSEConnect.spec ++++++ --- /var/tmp/diff_new_pack.XUIfLC/_old 2017-12-10 18:14:59.506205593 +0100 +++ /var/tmp/diff_new_pack.XUIfLC/_new 2017-12-10 18:14:59.510205402 +0100 @@ -16,27 +16,30 @@ # Name: SUSEConnect -Version: 0.3.2 +Version: 0.3.3 Release: 0 %define mod_name suse-connect %define mod_full_name %{mod_name}-%{version} Requires: coreutils, util-linux, net-tools, hwinfo, zypper, ca-certificates-mozilla Requires: zypper(auto-agree-with-product-licenses) +%ifarch x86_64 aarch64 +Requires: dmidecode +%endif Conflicts: suseRegister, yast2-registration < 3.1.129.7 +# At some point we had a seperate rubygem-suse-connect package, which we need to obsolete Obsoletes: ruby2.1-rubygem-suse-connect < %{version} -%if ! 0%{?is_opensuse} -Provides: ruby2.1-rubygem-suse-connect = %{version} -%endif -%ifarch x86_64 aarch64 -Requires: dmidecode +%define ruby_version %{rb_default_ruby_suffix} +# FIXME: For some reason, on SLE15 %{rb_default_ruby_suffix} resolves to ruby2.4 which does not exist there +%if (0%{?sle_version} > 0 && 0%{?sle_version} >= 150000) +%define ruby_version ruby2.5 %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: %{ruby >= 2.0} +BuildRequires: %{ruby_version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: https://github.com/SUSE/connect Source: %{mod_full_name}.gem @@ -64,7 +67,7 @@ %install gem install --verbose --local --build-root=%{buildroot} -f --no-ri --no-rdoc ./%{mod_full_name}.gem mkdir %{buildroot}%{_sbindir} -mv %{buildroot}%{_bindir}/%{name}.%{rb_default_ruby_suffix} %{buildroot}%{_sbindir}/%{name} +mv %{buildroot}%{_bindir}/%{name}.%{ruby_version} %{buildroot}%{_sbindir}/%{name} ln -s %{_sbindir}/%{name} %{buildroot}%{_bindir}/%{name} install -D -m 644 %_sourcedir/SUSEConnect.5.gz %{buildroot}%_mandir/man5/SUSEConnect.5.gz ++++++ SUSEConnect.5.gz ++++++ --- /var/tmp/diff_new_pack.XUIfLC/_old 2017-12-10 18:14:59.534204259 +0100 +++ /var/tmp/diff_new_pack.XUIfLC/_new 2017-12-10 18:14:59.534204259 +0100 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "SUSECONNECT" "5" "April 2017" "" "SUSEConnect" +.TH "SUSECONNECT" "5" "February 2017" "" "SUSEConnect" . .SH "NAME" \fBSUSEConnect\fR \- SUSE Customer Center registration tool config file ++++++ SUSEConnect.8.gz ++++++ --- /var/tmp/diff_new_pack.XUIfLC/_old 2017-12-10 18:14:59.546203688 +0100 +++ /var/tmp/diff_new_pack.XUIfLC/_new 2017-12-10 18:14:59.550203497 +0100 @@ -1,7 +1,7 @@ .\" generated with Ronn/v0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3 . -.TH "SUSECONNECT" "8" "June 2017" "" "SUSEConnect" +.TH "SUSECONNECT" "8" "May 2017" "" "SUSEConnect" . .SH "NAME" \fBSUSEConnect\fR \- SUSE Customer Center registration tool ++++++ suse-connect-0.3.2.gem -> suse-connect-0.3.3.gem ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bin/SUSEConnect new/bin/SUSEConnect --- old/bin/SUSEConnect 2017-10-17 14:53:49.000000000 +0200 +++ new/bin/SUSEConnect 2017-12-07 18:28:01.000000000 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env ruby +#!/usr/bin/ruby $LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'suse/connect/cli' Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/suse/connect/cli.rb new/lib/suse/connect/cli.rb --- old/lib/suse/connect/cli.rb 2017-10-17 14:53:49.000000000 +0200 +++ new/lib/suse/connect/cli.rb 2017-12-07 18:28:01.000000000 +0100 @@ -65,7 +65,7 @@ " Check #{@options[:url] || 'https://scc.suse.com'} whether your system appears there." \ ' If it does not, please call SUSEConnect --cleanup and re-register this system.' else - log.fatal complain_if_broken_smt || "Error: SCC returned '#{e.message}' (#{e.code})" + log.fatal complain_if_broken_smt || "Error: Registration server returned '#{e.message}' (#{e.code})" end exit 67 rescue FileError => e diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lib/suse/connect/version.rb new/lib/suse/connect/version.rb --- old/lib/suse/connect/version.rb 2017-10-17 14:53:49.000000000 +0200 +++ new/lib/suse/connect/version.rb 2017-12-07 18:28:01.000000000 +0100 @@ -1,6 +1,6 @@ module SUSE # Provides access to version number of a gem module Connect - VERSION = '0.3.2' + VERSION = '0.3.3' end end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/metadata new/metadata --- old/metadata 2017-10-17 14:53:49.000000000 +0200 +++ new/metadata 2017-12-07 18:28:01.000000000 +0100 @@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: suse-connect version: !ruby/object:Gem::Version - version: 0.3.2 + version: 0.3.3 platform: ruby authors: - SUSE Customer Center Team autorequire: bindir: bin cert_chain: [] -date: 2017-10-17 00:00:00.000000000 Z +date: 2017-12-07 00:00:00.000000000 Z dependencies: [] description: This package provides a command line tool and rubygem library for connecting a client system to the SUSE Customer Center. It will connect the system to your
