- update to 2.5.0:
* Upgrade to go 1.21 * Allow setting of SCC credentials via environment variables * Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1 * Use switch instead of else if construction * Add system token header to query SCC subscriptions (bsc#1219855) OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/container-suseconnect?expand=0&rev=15
This commit is contained in:
parent
940d56f017
commit
f194a56dd4
12
_service
12
_service
@ -1,18 +1,18 @@
|
|||||||
<services>
|
<services>
|
||||||
<service mode="disabled" name="tar_scm">
|
<service mode="manual" name="tar_scm">
|
||||||
<param name="url">https://github.com/SUSE/container-suseconnect.git</param>
|
<param name="url">https://github.com/SUSE/container-suseconnect.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="filename">container-suseconnect</param>
|
<param name="filename">container-suseconnect</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="versionformat">2.4.0</param>
|
<param name="versionformat">2.5.0</param>
|
||||||
<param name="revision">v2.4.0</param>
|
<param name="revision">v2.5.0</param>
|
||||||
</service>
|
</service>
|
||||||
<service mode="disabled" name="recompress">
|
<service mode="manual" name="recompress">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
<param name="compression">zst</param>
|
<param name="compression">zst</param>
|
||||||
</service>
|
</service>
|
||||||
<service mode="disabled" name="set_version"/>
|
<service mode="manual" name="set_version"/>
|
||||||
<service mode="disabled" name="go_modules">
|
<service mode="manual" name="go_modules">
|
||||||
<param name="compression">zst</param>
|
<param name="compression">zst</param>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
|
BIN
container-suseconnect-2.4.0.tar.zst
(Stored with Git LFS)
BIN
container-suseconnect-2.4.0.tar.zst
(Stored with Git LFS)
Binary file not shown.
3
container-suseconnect-2.5.0.tar.zst
Normal file
3
container-suseconnect-2.5.0.tar.zst
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7534cda083bc59534c4cd1219356873800e22bd9dd343975cb1f76ccdd3aa411
|
||||||
|
size 40404
|
@ -1,3 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 28 08:57:41 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.5.0:
|
||||||
|
* Upgrade to go 1.21
|
||||||
|
* Allow setting of SCC credentials via environment variables
|
||||||
|
* Bump github.com/urfave/cli/v2 from 2.25.7 to 2.27.1
|
||||||
|
* Use switch instead of else if construction
|
||||||
|
* Add system token header to query SCC subscriptions
|
||||||
|
(bsc#1219855)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 5 12:52:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu Oct 5 12:52:42 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file
|
# spec file for package container-suseconnect
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2024 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -22,7 +22,7 @@
|
|||||||
%global zypp_services %{zypp_path}/services
|
%global zypp_services %{zypp_path}/services
|
||||||
%global zypp_urlresolver %{zypp_path}/urlresolver
|
%global zypp_urlresolver %{zypp_path}/urlresolver
|
||||||
Name: %{project}
|
Name: %{project}
|
||||||
Version: 2.4.0
|
Version: 2.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Provides access to repositories inside containers
|
Summary: Provides access to repositories inside containers
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
@ -34,7 +34,11 @@ Source2: container-suseconnect-rpmlintrc
|
|||||||
BuildRequires: golang-packaging
|
BuildRequires: golang-packaging
|
||||||
BuildRequires: libzypp > 9.34
|
BuildRequires: libzypp > 9.34
|
||||||
BuildRequires: zstd
|
BuildRequires: zstd
|
||||||
|
%if 0%{?suse_version} == 1500
|
||||||
|
BuildRequires: go1.21-openssl
|
||||||
|
%else
|
||||||
BuildRequires: golang(API) = 1.21
|
BuildRequires: golang(API) = 1.21
|
||||||
|
%endif
|
||||||
Requires: libzypp > 9.34
|
Requires: libzypp > 9.34
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,7 +49,7 @@ using the host machine entitlements.
|
|||||||
%setup -q -n %{project}-%{version} -a1
|
%setup -q -n %{project}-%{version} -a1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
go build -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect
|
go build -tags enablecgo -o %{project} -mod=vendor -buildmode=pie -trimpath -ldflags="-s -w" ./cmd/container-suseconnect
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 755 %{project} %{buildroot}/%{_bindir}/%{project}
|
install -D -m 755 %{project} %{buildroot}/%{_bindir}/%{project}
|
||||||
|
BIN
vendor.tar.zst
(Stored with Git LFS)
BIN
vendor.tar.zst
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user