diff --git a/_service b/_service
index 24d8db7..1bf6e3f 100644
--- a/_service
+++ b/_service
@@ -1,18 +1,18 @@
-
+
https://github.com/SUSE/container-suseconnect.git
git
container-suseconnect
.git
- 2.4.0
- v2.4.0
+ 2.5.0
+ v2.5.0
-
+
*.tar
zst
-
-
+
+
zst
diff --git a/container-suseconnect-2.4.0.tar.zst b/container-suseconnect-2.4.0.tar.zst
deleted file mode 100644
index 39a2236..0000000
--- a/container-suseconnect-2.4.0.tar.zst
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:da996c93ec6ebe32dcb8e3ab13e05cc12f39bfe521d757f3ef9aeeeca4c83bb6
-size 40070
diff --git a/container-suseconnect-2.5.0.tar.zst b/container-suseconnect-2.5.0.tar.zst
new file mode 100644
index 0000000..7ab2108
--- /dev/null
+++ b/container-suseconnect-2.5.0.tar.zst
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:7534cda083bc59534c4cd1219356873800e22bd9dd343975cb1f76ccdd3aa411
+size 40404
diff --git a/container-suseconnect.changes b/container-suseconnect.changes
index 7218a33..bbd2181 100644
--- a/container-suseconnect.changes
+++ b/container-suseconnect.changes
@@ -1,3 +1,14 @@
+-------------------------------------------------------------------
+Wed Feb 28 08:57:41 UTC 2024 - Dirk Müller
+
+- 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
diff --git a/container-suseconnect.spec b/container-suseconnect.spec
index b614dd5..bd32e91 100644
--- a/container-suseconnect.spec
+++ b/container-suseconnect.spec
@@ -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
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,7 +22,7 @@
%global zypp_services %{zypp_path}/services
%global zypp_urlresolver %{zypp_path}/urlresolver
Name: %{project}
-Version: 2.4.0
+Version: 2.5.0
Release: 0
Summary: Provides access to repositories inside containers
License: Apache-2.0
@@ -34,7 +34,11 @@ Source2: container-suseconnect-rpmlintrc
BuildRequires: golang-packaging
BuildRequires: libzypp > 9.34
BuildRequires: zstd
+%if 0%{?suse_version} == 1500
+BuildRequires: go1.21-openssl
+%else
BuildRequires: golang(API) = 1.21
+%endif
Requires: libzypp > 9.34
%description
@@ -45,7 +49,7 @@ using the host machine entitlements.
%setup -q -n %{project}-%{version} -a1
%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 -D -m 755 %{project} %{buildroot}/%{_bindir}/%{project}
diff --git a/vendor.tar.zst b/vendor.tar.zst
index 572cff4..36e7258 100644
--- a/vendor.tar.zst
+++ b/vendor.tar.zst
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6da8271aca997942ec28e9593157114980a640d0bf646b0e620b27c0e461957a
-size 115069
+oid sha256:1e7341b7ec9fe921e8f76038b61dc9caf968f07d6787ebef13f050c2a2032dca
+size 94440