- Update to version 1.0.0~git14.17a7901:

* Don't write system_token to service credentials files
  * Allow non-root users to use --version
  * Add: ExcludeArch: %ix86 s390 ppc64 to the .spec file, so we skip builds for unsupported architectures.
  * Update Dockerfile.yast
  * Use openssl go for SLE and Leap 15.5+ builds
  * Fix keepalive feature notice during installation
  * Fix requires for all rhel clone distributions like alma, rocky...

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=48
This commit is contained in:
Thomas Schmidt 2022-12-13 13:02:02 +00:00 committed by Git OBS Bridge
parent 4da9541b3c
commit 4a90fa9a96
3 changed files with 28 additions and 9 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/SUSE/connect-ng.git</param>
<param name="changesrevision">faee7c196dc1f8ccd3a703c6f9980b28893639b4</param></service></servicedata>
<param name="changesrevision">17a79019a857c17bd114523b699f2ba97da398a8</param></service></servicedata>

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Dec 13 12:57:16 UTC 2022 - tschmidt@suse.com
- Update to version 1.0.0~git14.17a7901:
* Don't write system_token to service credentials files
* Allow non-root users to use --version
* Add: ExcludeArch: %ix86 s390 ppc64 to the .spec file, so we skip builds for unsupported architectures.
* Update Dockerfile.yast
* Use openssl go for SLE and Leap 15.5+ builds
* Fix keepalive feature notice during installation
* Fix requires for all rhel clone distributions like alma, rocky...
-------------------------------------------------------------------
Tue Nov 08 13:05:59 UTC 2022 - msabate@suse.com

View File

@ -23,7 +23,7 @@
%bcond_with hwinfo
Name: suseconnect-ng
Version: 1.0.0~git0.faee7c196dc1
Version: 1.0.0~git14.17a7901
Release: 0
URL: https://github.com/SUSE/connect-ng
License: LGPL-2.1-or-later
@ -31,15 +31,21 @@ Summary: Utility to register a system with the SUSE Customer Center
Group: System/Management
Source: connect-ng-%{version}.tar.xz
Source1: %name-rpmlintrc
BuildRequires: go >= 1.16
BuildRequires: golang-packaging
# use FIPS compliant go version for SLE targets and Leap 15.5+ targets
%if ( 0%{?is_opensuse} == 0 && 0%{?sle_version} ) || ( 0%{?is_opensuse} == 1 && 0%{?sle_version} >= 150500 )
# temporary until BuildRequires: go-openssl >= 1.16 works
BuildRequires: go1.18-openssl
%else
BuildRequires: go >= 1.16
%endif
BuildRequires: ruby-devel
BuildRequires: zypper
%if %{with hwinfo}
%global test_hwinfo_args -test-hwinfo
ExcludeArch: %ix86 s390 ppc64
ExcludeArch: %ix86 s390 ppc64
# packages required only for hwinfo tests
%ifarch ia64 x86_64 %arm aarch64
BuildRequires: dmidecode
@ -50,17 +56,16 @@ BuildRequires: s390-tools
BuildRequires: systemd
%endif
Obsoletes: SUSEConnect < 1.0.0
Provides: SUSEConnect = 1.0.0
Obsoletes: zypper-migration-plugin < 0.99
Provides: zypper-migration-plugin = 0.99
Obsoletes: zypper-search-packages-plugin < 0.99
Provides: zypper-search-packages-plugin = 0.99
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos_version}
Requires: ca-certificates
%else
%if 0%{?suse_version}
Requires: ca-certificates-mozilla
%else
Requires: ca-certificates
%endif
Requires: coreutils
# ExclusiveArch from this package
@ -93,6 +98,7 @@ Summary: C interface to suseconnect-ng
Group: System/Management
# the CLI is not used by libsuseconnect but it has the same dependencies and it's easier to keep one list above
Requires: suseconnect-ng
%description -n libsuseconnect
This package contains library which provides C interface to selected
suseconnect-ng functions.
@ -101,6 +107,7 @@ suseconnect-ng functions.
Summary: Ruby bindings for libsuseconnect library
Group: System/Management
Requires: libsuseconnect
%description -n suseconnect-ruby-bindings
This package provides bindings needed to use libsuseconnect from Ruby scripts.
@ -215,4 +222,4 @@ make -C %_builddir/go/src/%import_path gofmt
%doc yast/README.md
%_libdir/ruby/vendor_ruby/%rb_ver/suse
%changelog
%changelog