Accepting request 944747 from systemsmanagement:SCC
- Update to version 0.0.5~git0.bbb5544: * Switch from rubygem-ffi to fiddle * Cleanup services during migration (bsc#1161891) * Allow non-root users to see usage text * Add option to not fail dup as much * Move APIVersion declaration to file where it is used * Add flag to enable/disable hwinfo test * Add ARM cluster count to hwinfo and fix test * Simplify parsing JSON error response * Add --gpg-auto-import-keys for zypper ref * Rename main.go to logging.go * Fix typo * Remove init() from the connect package * Move CFG variable declaration to config.go * Move AppName const to the file where it is used * Use testing.Helper() in test helpers * Add ppc64le support * Disable UUID test * Add test tools to BuildRequires * Ignore UUID errors * Run basic hwinfo sanity test on build service * Update code comments to match shim behavior. * Remove dependency on systemd * Only run httputil DumpResponse when needed OBS-URL: https://build.opensuse.org/request/show/944747 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=5
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/SUSE/connect-ng.git</param>
|
||||
<param name="changesrevision">64b80e975c8dc30cdcfc9d42787e4cae229e0a3c</param></service></servicedata>
|
||||
<param name="changesrevision">ab5463a6e9a53d6f3ca1387937709a81786c989a</param></service></servicedata>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b70c71eedc3cb4aa3b55f0b8b7683144c0d90fa9891a7e21adf57b8fb70b17f1
|
||||
size 593064
|
3
connect-ng-0.0.5~git0.bbb5544.tar.xz
Normal file
3
connect-ng-0.0.5~git0.bbb5544.tar.xz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bef41495e3365599d958e4544a2379e9caef548849859509b7068123c01f5e33
|
||||
size 670916
|
@@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 07 13:45:50 UTC 2022 - jan.suse@zerebecki.de
|
||||
|
||||
- Update to version 0.0.5~git0.bbb5544:
|
||||
* Switch from rubygem-ffi to fiddle
|
||||
* Cleanup services during migration (bsc#1161891)
|
||||
* Allow non-root users to see usage text
|
||||
* Add option to not fail dup as much
|
||||
* Move APIVersion declaration to file where it is used
|
||||
* Add flag to enable/disable hwinfo test
|
||||
* Add ARM cluster count to hwinfo and fix test
|
||||
* Simplify parsing JSON error response
|
||||
* Add --gpg-auto-import-keys for zypper ref
|
||||
* Rename main.go to logging.go
|
||||
* Fix typo
|
||||
* Remove init() from the connect package
|
||||
* Move CFG variable declaration to config.go
|
||||
* Move AppName const to the file where it is used
|
||||
* Use testing.Helper() in test helpers
|
||||
* Add ppc64le support
|
||||
* Disable UUID test
|
||||
* Add test tools to BuildRequires
|
||||
* Ignore UUID errors
|
||||
* Run basic hwinfo sanity test on build service
|
||||
* Update code comments to match shim behavior.
|
||||
* Remove dependency on systemd
|
||||
* Only run httputil DumpResponse when needed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 01 14:31:18 UTC 2021 - jan.suse@zerebecki.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package suseconnect-ng
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,8 +19,11 @@
|
||||
%global provider_prefix github.com/SUSE/connect-ng
|
||||
%global import_path %{provider_prefix}
|
||||
|
||||
# set this to 1 to enable hwinfo test in %check
|
||||
%global test_hwinfo 0
|
||||
|
||||
Name: suseconnect-ng
|
||||
Version: 0.0.4~git0.64b80e9
|
||||
Version: 0.0.5~git0.bbb5544
|
||||
Release: 0
|
||||
URL: https://github.com/SUSE/connect-ng
|
||||
License: LGPL-2.1-or-later
|
||||
@@ -32,6 +35,18 @@ BuildRequires: go >= 1.16
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: ruby-devel
|
||||
BuildRequires: zypper
|
||||
%if 0%{?test_hwinfo}
|
||||
%global test_hwinfo_args -test-hwinfo
|
||||
# packages required only for hwinfo tests
|
||||
%ifarch %ix86 ia64 x86_64 %arm aarch64
|
||||
BuildRequires: dmidecode
|
||||
%endif
|
||||
%ifarch s390x
|
||||
BuildRequires: s390-tools
|
||||
%endif
|
||||
BuildRequires: systemd
|
||||
%endif # test_hwinfo
|
||||
|
||||
Obsoletes: SUSEConnect < 0.3.99
|
||||
Provides: SUSEConnect = 0.3.99
|
||||
Obsoletes: zypper-migration-plugin < 0.99
|
||||
@@ -52,12 +67,12 @@ Requires: dmidecode
|
||||
%ifarch s390x
|
||||
Requires: s390-tools
|
||||
%endif
|
||||
Requires: systemd
|
||||
Requires: zypper
|
||||
# lscpu is only used on those
|
||||
%ifarch x86_64 aarch64
|
||||
Requires: util-linux
|
||||
%endif
|
||||
Recommends: systemd
|
||||
|
||||
%description
|
||||
This package provides a command line tool for connecting a
|
||||
@@ -84,7 +99,6 @@ suseconnect-ng functions.
|
||||
Summary: Ruby bindings for libsuseconnect library.
|
||||
Group: System/Management
|
||||
Requires: libsuseconnect
|
||||
Requires: rubygem(ffi)
|
||||
|
||||
%description -n suseconnect-ruby-bindings
|
||||
This package provides bindings needed to use libsuseconnect from Ruby scripts.
|
||||
@@ -124,7 +138,7 @@ find %_builddir/..
|
||||
rm -rf %buildroot/usr/share/go
|
||||
|
||||
%check
|
||||
%gotest -v %import_path/internal/connect
|
||||
%gotest -v %import_path/internal/connect %{?test_hwinfo_args}
|
||||
%gotest -v %import_path/suseconnect
|
||||
make -C %_builddir/go/src/%import_path gofmt
|
||||
|
||||
|
Reference in New Issue
Block a user