Accepting request 1146892 from systemsmanagement:SCC

- Update to version 1.7.0~git2.21ba08e
  * Allow SUSEConnect on read write transactional systems (bsc#1219425)

- Update to version 1.6.0
  * Disable EULA display for addons (bsc#1218649 and bsc#1217961)

- Update to version 1.5.0
  * Configure docker credentials for registry authentication
  * Feature: Support usage from Agama + Cockpit for ALP Micro system registration (bsc#1218364)
  * Add --json output option

- Update to version 1.4.0
  * Added EULA display for addons (bsc#1170267)
  * Fix zypper argument for auto-agreeing licenses (bsc#1214781)
  * Enable building on SLE12 SP5 (jsc#PED-3179)

OBS-URL: https://build.opensuse.org/request/show/1146892
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=22
This commit is contained in:
Ana Guerrero 2024-02-16 20:41:43 +00:00 committed by Git OBS Bridge
commit e0a09cbe89
6 changed files with 52 additions and 13 deletions

View File

@ -7,7 +7,7 @@
<service name="tar_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://github.com/SUSE/connect-ng.git</param>
<param name="revision">ae8ba1ea979da277824e8f905114a723ae66def1</param>
<param name="revision">main</param>
<param name="version">_auto_</param>
<param name="versionformat">@PARENT_TAG@~git@TAG_OFFSET@.%h</param>
<param name="filename">connect-ng</param>

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">ae8ba1ea979da277824e8f905114a723ae66def1</param></service></servicedata>
<param name="changesrevision">21ba08ee39e18e237d920dba3f66db4faebdf47f</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f4f2ff41df7445a83025db74026829fb3415e212628518e05a7884af853444fe
size 83380

BIN
connect-ng-1.7.0~git2.21ba08e.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Wed Feb 14 18:28 UTC 2024 - Felix Schnizlein <fschnizlein@suse.com>
- Update to version 1.7.0~git2.21ba08e
* Allow SUSEConnect on read write transactional systems (bsc#1219425)
-------------------------------------------------------------------
Tue Jan 18 16:00 UTC 2024 - Thomas Schmidt <tschmidt@suse.com>
- Update to version 1.6.0
* Disable EULA display for addons (bsc#1218649 and bsc#1217961)
-------------------------------------------------------------------
Tue Dec 22 08:57:50 UTC 2023 - Miquel Sabate Sola <msabate@suse.com>
- Update to version 1.5.0
* Configure docker credentials for registry authentication
* Feature: Support usage from Agama + Cockpit for ALP Micro system registration (bsc#1218364)
* Add --json output option
-------------------------------------------------------------------
Tue Sep 26 08:57:50 UTC 2023 - Miquel Sabate Sola <msabate@suse.com>
- Update to version 1.4.0
* Added EULA display for addons (bsc#1170267)
* Fix zypper argument for auto-agreeing licenses (bsc#1214781)
* Enable building on SLE12 SP5 (jsc#PED-3179)
-------------------------------------------------------------------
Thu Aug 3 12:11:07 UTC 2023 - tschmidt@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package suseconnect-ng
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,7 @@
Name: suseconnect-ng
# the version will get set by the 'set_version' service
Version: 1.3.0~git0.ae8ba1e
Version: 1.7.0~git2.21ba08e
Release: 0
URL: https://github.com/SUSE/connect-ng
License: LGPL-2.1-or-later
@ -32,14 +32,16 @@ Summary: Utility to register a system with the SUSE Customer Center
Group: System/Management
Source: connect-ng-%{version}.tar.xz
Source1: %name-rpmlintrc
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
# Build against latest golang in Tumbleweed and
# go1.18-openssl on all other distributions
%if 0%{?suse_version} >= 1600
BuildRequires: golang(API)
%else
BuildRequires: go >= 1.16
BuildRequires: go1.18-openssl
%endif
BuildRequires: golang-packaging
BuildRequires: ruby-devel
BuildRequires: zypper
@ -144,6 +146,7 @@ install -D -m 644 %_builddir/go/src/%import_path/man/SUSEConnect.5 %buildroot/%_
install -D -m 644 %_builddir/go/src/%import_path/man/SUSEConnect.8 %buildroot/%_mandir/man8/SUSEConnect.8
install -D -m 644 %_builddir/go/src/%import_path/man/zypper-migration.8 %buildroot/%_mandir/man8/zypper-migration.8
install -D -m 644 %_builddir/go/src/%import_path/man/zypper-search-packages.8 %buildroot/%_mandir/man8/zypper-search-packages.8
install -D -m 644 %_builddir/go/src/%import_path/SUSEConnect.example %{buildroot}%_sysconfdir/SUSEConnect.example
# Install the SUSEConnect --keepalive timer and service.
install -D -m 644 %_builddir/go/src/%import_path/suseconnect-keepalive.timer %buildroot/%_unitdir/suseconnect-keepalive.timer
@ -200,6 +203,13 @@ if [ "$1" -eq 1 ]; then
fi
%post
# Randomize schedule time for SLES12. SLES12 systemd does not support RandomizedDelaySec.
%if (0%{?sle_version} > 0 && 0%{?sle_version} < 150000)
TIMER_HOUR=$(( RANDOM % 24 ))
TIMER_MINUTE=$(( RANDOM % 60 ))
sed -i '/RandomizedDelaySec*/d' %{_unitdir}/suseconnect-keepalive.timer
sed -i "s/OnCalendar=daily/OnCalendar=*-*-* $TIMER_HOUR:$TIMER_MINUTE:00/" %{_unitdir}/suseconnect-keepalive.timer
%endif
%service_add_post suseconnect-keepalive.service suseconnect-keepalive.timer
%preun
@ -235,6 +245,7 @@ make -C %_builddir/go/src/%import_path gofmt
%_mandir/man5/*
%_unitdir/suseconnect-keepalive.service
%_unitdir/suseconnect-keepalive.timer
%config %{_sysconfdir}/SUSEConnect.example
%files -n libsuseconnect
%license LICENSE LICENSE.LGPL