Accepting request 916791 from systemsmanagement:SCC

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/916791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/suseconnect-ng?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2021-09-04 20:35:22 +00:00 committed by Git OBS Bridge
commit 285dc7eca9
5 changed files with 23 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">dacdd3b7623fda3a69fb5cfc271c8ef4048891ba</param></service></servicedata>
<param name="changesrevision">19e761bb2dee186b48f7f9318bdbaba8a6e6ad4d</param></service></servicedata>

View File

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

View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Aug 27 22:46:39 UTC 2021 - jzerebecki@suse.com
- Update to version 0.0.3~git9.19e761b:
* Add zypper-migration-plugin to package
* Remove unused Error logger
* Add missing doc strings to exported vars and funcs
* Handle error after products sync api call
* Make the CI check gofmt
-------------------------------------------------------------------
Tue Jul 27 09:02:36 UTC 2021 - jzerebecki@suse.com

View File

@ -20,7 +20,7 @@
%global import_path %{provider_prefix}
Name: suseconnect-ng
Version: 0.0.3~git0.dacdd3b
Version: 0.0.3~git9.19e761b
Release: 0
URL: https://github.com/SUSE/connect-ng
License: LGPL-2.1-or-later
@ -30,9 +30,11 @@ Source: connect-ng-%{version}.tar.xz
Source1: %name-rpmlintrc
BuildRequires: go >= 1.16
BuildRequires: golang-packaging
Conflicts: SUSEConnect
BuildRequires: zypper
Obsoletes: SUSEConnect
Provides: SUSEConnect
Obsoletes: zypper-migration-plugin
Provides: zypper-migration-plugin
%if 0%{?fedora} || 0%{?rhel} || 0%{?centos_version}
Requires: ca-certificates
%else
@ -82,13 +84,15 @@ find %_builddir/..
%install
%goinstall
ln -s suseconnect %buildroot/%_bindir/SUSEConnect
mkdir %buildroot/%_sbindir
mkdir -p %buildroot/%_sbindir %buildroot/usr/lib/zypper/commands
ln -s ../bin/suseconnect %buildroot/%_sbindir/SUSEConnect
ln -s %_bindir/suseconnect %buildroot/usr/lib/zypper/commands/zypper-migration
#TODO package ruby module
#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
#/usr/share/man/man5/SUSEConnect.5.gz
#/usr/share/man/man8/SUSEConnect.8.gz
#/usr/share/man/man8/zypper-migration.8.gz
find %_builddir/..
# we currently do not ship the source for any go module
@ -96,6 +100,7 @@ rm -rf %buildroot/usr/share/go
%check
%gotest github.com/SUSE/connect-ng/internal/connect
make -C %_builddir/go/src/github.com/SUSE/connect-ng gofmt
%files
%license LICENSE LICENSE.LGPL
@ -103,5 +108,6 @@ rm -rf %buildroot/usr/share/go
%_bindir/suseconnect
%_bindir/SUSEConnect
%_sbindir/SUSEConnect
/usr/lib/zypper/commands
%changelog