- Update to version 0.0.0~git.c45760f:
* Add Conflicts:SUSEConnect due to same file name * Document advantage of suseconnect-ng * Make UpdateSystem() message text bold * Add no_zypper_refs config file option * Complete Register() and AnnounceSystem() * Add registerProductTree() * Add activateProduct() and registerProduct() * Rename source modules to executable names * Remove unnecessary content from package. * Add proxy auth support * Change order of usage help options to match the Ruby version * Make requirement for go 1.16 explicit. * Fix instance data file path * Add zypper service commands needed for registration * S390: set cpus, sockets, hypervisor and uuid hwinfo fields * Implement the system update part of registration * Add helper to build hwinfo struct * Add functions to call and parse s390 read_values * Add function to get the hostname * Add function to get private IP address * Add arch, hypervisor and uuid functions * Add function to find cloud provider from dmidecode * Add function to parse lscpu output * Add announceSystem() api call * Add deregistration functionality * Add deactivateProduct() API call * obs: use an in between branch OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=6
This commit is contained in:
parent
53c66584af
commit
f9d47bb117
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/SUSE/connect-ng.git</param>
|
<param name="url">https://github.com/SUSE/connect-ng.git</param>
|
||||||
<param name="changesrevision">a083a1fb9f77700ceda4fd5a34ee6950b6d9e470</param></service></servicedata>
|
<param name="changesrevision">5ce0d9c23569122e5cebdfb361f432f16fb1a282</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d08fefaed62e22c653cad4af59ebd9b9c756951f023339be9b376c8d65dfe737
|
|
||||||
size 33148
|
|
3
connect-ng-0.0.0~git.c45760f.tar.xz
Normal file
3
connect-ng-0.0.0~git.c45760f.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:26859f77d005477fefe0390e387d40c39e10c80e8fd0dd7981b20112dc4e81e7
|
||||||
|
size 243852
|
@ -1 +1 @@
|
|||||||
addFilter("unstripped-binary-or-object /usr/bin/cmd")
|
addFilter("unstripped-binary-or-object /usr/bin/suseconnect")
|
||||||
|
@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 09 14:06:07 UTC 2021 - jzerebecki@suse.com
|
||||||
|
|
||||||
|
- Update to version 0.0.0~git.c45760f:
|
||||||
|
* Add Conflicts:SUSEConnect due to same file name
|
||||||
|
* Document advantage of suseconnect-ng
|
||||||
|
* Make UpdateSystem() message text bold
|
||||||
|
* Add no_zypper_refs config file option
|
||||||
|
* Complete Register() and AnnounceSystem()
|
||||||
|
* Add registerProductTree()
|
||||||
|
* Add activateProduct() and registerProduct()
|
||||||
|
* Rename source modules to executable names
|
||||||
|
* Remove unnecessary content from package.
|
||||||
|
* Add proxy auth support
|
||||||
|
* Change order of usage help options to match the Ruby version
|
||||||
|
* Make requirement for go 1.16 explicit.
|
||||||
|
* Fix instance data file path
|
||||||
|
* Add zypper service commands needed for registration
|
||||||
|
* S390: set cpus, sockets, hypervisor and uuid hwinfo fields
|
||||||
|
* Implement the system update part of registration
|
||||||
|
* Add helper to build hwinfo struct
|
||||||
|
* Add functions to call and parse s390 read_values
|
||||||
|
* Add function to get the hostname
|
||||||
|
* Add function to get private IP address
|
||||||
|
* Add arch, hypervisor and uuid functions
|
||||||
|
* Add function to find cloud provider from dmidecode
|
||||||
|
* Add function to parse lscpu output
|
||||||
|
* Add announceSystem() api call
|
||||||
|
* Add deregistration functionality
|
||||||
|
* Add deactivateProduct() API call
|
||||||
|
* obs: use an in between branch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jul 02 12:24:46 UTC 2021 - jzerebecki@suse.com
|
Fri Jul 02 12:24:46 UTC 2021 - jzerebecki@suse.com
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
%global import_path %{provider_prefix}
|
%global import_path %{provider_prefix}
|
||||||
|
|
||||||
Name: suseconnect-ng
|
Name: suseconnect-ng
|
||||||
Version: 0.0.0~git.a083a1f
|
Version: 0.0.0~git.c45760f
|
||||||
Release: 0
|
Release: 0
|
||||||
URL: https://github.com/SUSE/connect-ng
|
URL: https://github.com/SUSE/connect-ng
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -28,11 +28,15 @@ Group: System/Management
|
|||||||
Source: connect-ng-%{version}.tar.xz
|
Source: connect-ng-%{version}.tar.xz
|
||||||
Source1: %name-rpmlintrc
|
Source1: %name-rpmlintrc
|
||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: go >= 1.16
|
||||||
|
Conflicts: SUSEConnect
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package provides a command line tool for connecting a
|
This package provides a command line tool for connecting a
|
||||||
client system to the SUSE Customer Center. It will connect the system to your
|
client system to the SUSE Customer Center. It will connect the system to your
|
||||||
product subscriptions and enable the product repositories/services locally.
|
product subscriptions and enable the product repositories/services locally.
|
||||||
|
suseconnect-ng reduces the size of its runtime dependencies compared to the
|
||||||
|
replaced SUSEConnect.
|
||||||
|
|
||||||
|
|
||||||
%{go_nostrip}
|
%{go_nostrip}
|
||||||
@ -45,32 +49,34 @@ product subscriptions and enable the product repositories/services locally.
|
|||||||
find %_builddir/..
|
find %_builddir/..
|
||||||
%goprep %{import_path}
|
%goprep %{import_path}
|
||||||
find %_builddir/..
|
find %_builddir/..
|
||||||
go list -m all
|
go list all
|
||||||
%gobuild cmd
|
%gobuild suseconnect
|
||||||
go build -buildmode=c-shared -o %_builddir/go/src/github.com/SUSE/connect-ng/ext/libsuseconnect.so ext/main.go
|
# only to test that it compiles, nothing from it is installed for now
|
||||||
|
make -C %_builddir/go/src/github.com/SUSE/connect-ng build-so-example
|
||||||
find %_builddir/..
|
find %_builddir/..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%goinstall
|
%goinstall
|
||||||
ln -s cmd %buildroot/%_bindir/SUSEConnect
|
ln -s suseconnect %buildroot/%_bindir/SUSEConnect
|
||||||
mkdir %buildroot/%_sbindir
|
mkdir %buildroot/%_sbindir
|
||||||
ln -s ../bin/cmd %buildroot/%_sbindir/SUSEConnect
|
ln -s ../bin/suseconnect %buildroot/%_sbindir/SUSEConnect
|
||||||
#TODO package ruby module
|
#TODO package ruby module
|
||||||
#cp /home/abuild/rpmbuild/BUILD/go/src/github.com/SUSE/connect-ng/ext/libsuseconnect.so %_libdir/libsuseconnect.so
|
#cp /home/abuild/rpmbuild/BUILD/go/src/github.com/SUSE/connect-ng/ext/libsuseconnect.so %_libdir/libsuseconnect.so
|
||||||
#TODO man pages not yet available in source, these are the names frome the ruby version
|
#TODO man pages not yet available in source, these are the names frome the ruby version
|
||||||
#/usr/share/man/man5/SUSEConnect.5.gz
|
#/usr/share/man/man5/SUSEConnect.5.gz
|
||||||
#/usr/share/man/man8/SUSEConnect.8.gz
|
#/usr/share/man/man8/SUSEConnect.8.gz
|
||||||
|
|
||||||
%gofilelist
|
|
||||||
find %_builddir/..
|
find %_builddir/..
|
||||||
|
# we currently do not ship the source for any go module
|
||||||
|
rm -rf %buildroot/usr/share/go
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%gotest github.com/SUSE/connect-ng/connect
|
%gotest github.com/SUSE/connect-ng/connect
|
||||||
|
|
||||||
%files -f file.lst
|
%files
|
||||||
%license LICENSE LICENSE.LGPL
|
%license LICENSE LICENSE.LGPL
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%_bindir/cmd
|
%_bindir/suseconnect
|
||||||
%_bindir/SUSEConnect
|
%_bindir/SUSEConnect
|
||||||
%_sbindir/SUSEConnect
|
%_sbindir/SUSEConnect
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user