Accepting request 909984 from systemsmanagement:SCC

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/909984
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-08-03 20:49:06 +00:00 committed by Git OBS Bridge
commit e90ca1cc1b
6 changed files with 80 additions and 7 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">a5f168aec0f6b371b72fa02f8579e778b015351d</param></service></servicedata>
<param name="changesrevision">dacdd3b7623fda3a69fb5cfc271c8ef4048891ba</param></service></servicedata>

View File

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

View File

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

View File

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

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Tue Jul 27 09:02:36 UTC 2021 - jzerebecki@suse.com
- Update to version 0.0.3~git0.dacdd3b:
* Add gofmt target to Makefile
* Fix gofmt errors
* Add Requires that weren't explicit (bsc#1188646)
* Use custom UnmarshalJSON() for the Product struct
-------------------------------------------------------------------
Fri Jul 23 10:53:35 UTC 2021 - jzerebecki@suse.com
- Update to version 0.0.2~git0.ebef3b7:
* Add --version
* Fix list-extensions printing "Not available" when using SCC
* Change --deregister to --de-register
-------------------------------------------------------------------
Thu Jul 22 08:23:30 UTC 2021 - jzerebecki@suse.com
- Update to version 0.0.1~git33.b531281:
* Run integration tests
* Try to use localized error from server response
* Write usage help to stdout like the Ruby version
* Simplify list-extensions template
* Fix call to create UUID on s390
* Provides and Obsoletes SUSEConnect
* Add extensions list tests
* Fix calls to s390 read_values
* Add build-s390 target to Makefile
* hwinfo: don't fail if dmidecode is missing
-------------------------------------------------------------------
Mon Jul 19 10:01:54 UTC 2021 - jzerebecki@suse.com
- Update to version 0.0.1~git16.8a5d48c:
* Add extensions hints for readonly root fs
* Make the connect package an internal package
* Document debug output destination difference
* Add status value constants
* Add rollback CLI option
* Fix callHTTP() so connections are reused
* Fix list-extensions format
* Fix error from zypper refresh
-------------------------------------------------------------------
Mon Jul 12 21:43:19 UTC 2021 - jzerebecki@suse.com

View File

@ -15,11 +15,12 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global provider_prefix github.com/SUSE/connect-ng
%global import_path %{provider_prefix}
Name: suseconnect-ng
Version: 0.0.1~git0.a5f168a
Version: 0.0.3~git0.dacdd3b
Release: 0
URL: https://github.com/SUSE/connect-ng
License: LGPL-2.1-or-later
@ -27,9 +28,31 @@ 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
BuildRequires: go >= 1.16
BuildRequires: golang-packaging
Conflicts: SUSEConnect
Obsoletes: SUSEConnect
Provides: SUSEConnect
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos_version}
Requires: ca-certificates
%else
Requires: ca-certificates-mozilla
%endif
Requires: coreutils
# ExclusiveArch from this package
%ifarch %ix86 ia64 x86_64 %arm aarch64
Requires: dmidecode
%endif
# ExclusiveArch from this package
%ifarch s390x
Requires: s390-tools
%endif
Requires: systemd
Requires: zypper
# lscpu is only used on those
%ifarch x86_64 aarch64
Requires: util-linux
%endif
%description
This package provides a command line tool for connecting a
@ -47,6 +70,7 @@ replaced SUSEConnect.
%build
find %_builddir/..
echo %{version} > internal/connect/version.txt
%goprep %{import_path}
find %_builddir/..
go list all
@ -71,7 +95,7 @@ find %_builddir/..
rm -rf %buildroot/usr/share/go
%check
%gotest github.com/SUSE/connect-ng/connect
%gotest github.com/SUSE/connect-ng/internal/connect
%files
%license LICENSE LICENSE.LGPL
@ -80,3 +104,4 @@ rm -rf %buildroot/usr/share/go
%_bindir/SUSEConnect
%_sbindir/SUSEConnect
%changelog