From c298c9e8a7784631f37d2f3ef1ccd62d96e3f4299b6aec998e38a9f0c4e76a69 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Fri, 27 Aug 2021 22:54:32 +0000 Subject: [PATCH 1/2] fix link OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=14 --- _servicedata | 2 +- connect-ng-0.0.3~git9.19e761b.tar.xz | 3 +++ suseconnect-ng.changes | 10 ++++++++++ suseconnect-ng.spec | 12 +++++++++--- 4 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 connect-ng-0.0.3~git9.19e761b.tar.xz diff --git a/_servicedata b/_servicedata index c8cdba9..bbe41df 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/SUSE/connect-ng.git - dacdd3b7623fda3a69fb5cfc271c8ef4048891ba \ No newline at end of file + 19e761bb2dee186b48f7f9318bdbaba8a6e6ad4d \ No newline at end of file diff --git a/connect-ng-0.0.3~git9.19e761b.tar.xz b/connect-ng-0.0.3~git9.19e761b.tar.xz new file mode 100644 index 0000000..90cd66c --- /dev/null +++ b/connect-ng-0.0.3~git9.19e761b.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:188260d43c9eb0c28a792a9bfa178314026718796685deceaeff6ab7acd48592 +size 385912 diff --git a/suseconnect-ng.changes b/suseconnect-ng.changes index 978b536..2070cce 100644 --- a/suseconnect-ng.changes +++ b/suseconnect-ng.changes @@ -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 diff --git a/suseconnect-ng.spec b/suseconnect-ng.spec index bdaf9cc..f0b8df2 100644 --- a/suseconnect-ng.spec +++ b/suseconnect-ng.spec @@ -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 From 8acd234dce53b80d9e12f024d824dded2d5e1fc1e665361b4ca0c5c4bbf1ee41 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Fri, 27 Aug 2021 23:28:12 +0000 Subject: [PATCH 2/2] fix _link OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:SCC/suseconnect-ng?expand=0&rev=16 --- connect-ng-0.0.3~git0.dacdd3b.tar.xz | 3 --- 1 file changed, 3 deletions(-) delete mode 100644 connect-ng-0.0.3~git0.dacdd3b.tar.xz diff --git a/connect-ng-0.0.3~git0.dacdd3b.tar.xz b/connect-ng-0.0.3~git0.dacdd3b.tar.xz deleted file mode 100644 index d339274..0000000 --- a/connect-ng-0.0.3~git0.dacdd3b.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:94beedd1f3dffd37f1340f9e1855d994086abed84d2498a78440467adced7d6a -size 370624