Initial package version 3.5.16:
* Version specified in kubernetes v1.32.0 https://github.com/kubernetes/kubernetes/blob/v1.32.0/build/dependencies.yaml#L65-L67 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/etcd-for-k8s1.32?expand=0&rev=1
This commit is contained in:
commit
077c682b48
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
18
_service
Normal file
18
_service
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="manual">
|
||||||
|
<param name="url">https://github.com/etcd-io/etcd.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="exclude">.git</param>
|
||||||
|
<param name="revision">v3.5.16</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
|
</service>
|
||||||
|
<service mode="manual" name="set_version">
|
||||||
|
<param name="basename">etcd</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="manual">
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
<param name="compression">gz</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/etcd-io/etcd.git</param>
|
||||||
|
<param name="changesrevision">f20bbadd404b57c776d1e8876cefd1ac29b03fb5</param></service></servicedata>
|
3
etcd-3.5.16.tar.gz
Normal file
3
etcd-3.5.16.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:151c82ea2db46120cabc0a2e90c5c4be47c62f466f7dffcb99dd8d20c0cb41c5
|
||||||
|
size 4179356
|
5
etcd-for-k8s1.32.changes
Normal file
5
etcd-for-k8s1.32.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 19 09:01:43 UTC 2024 - Priyanka Saggu <priyanka.saggu@suse.com>
|
||||||
|
|
||||||
|
- Initial package version 3.5.16:
|
||||||
|
* Version specified in kubernetes v1.32.0 https://github.com/kubernetes/kubernetes/blob/v1.32.0/build/dependencies.yaml#L65-L67
|
88
etcd-for-k8s1.32.spec
Normal file
88
etcd-for-k8s1.32.spec
Normal file
@ -0,0 +1,88 @@
|
|||||||
|
#
|
||||||
|
# spec file for package etcd-for-k8s1.32
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define project go.etcd.io/etcd
|
||||||
|
|
||||||
|
Name: etcd-for-k8s1.32
|
||||||
|
Version: 3.5.16
|
||||||
|
Release: 0
|
||||||
|
Summary: Etcd and etcdtl for k8s image
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: System/Management
|
||||||
|
URL: https://github.com/etcd-io/etcd
|
||||||
|
Source: etcd-%{version}.tar.gz
|
||||||
|
Source1: vendor-etcdctl.tar.gz
|
||||||
|
Source2: vendor-server.tar.gz
|
||||||
|
BuildRequires: golang-packaging
|
||||||
|
BuildRequires: golang(API) >= 1.22
|
||||||
|
ExcludeArch: %ix86
|
||||||
|
ExcludeArch: s390
|
||||||
|
Conflicts: etcd
|
||||||
|
Conflicts: etcdctl
|
||||||
|
Provides: etcd-for-k8s = %{version}
|
||||||
|
Conflicts: etcd-for-k8s
|
||||||
|
|
||||||
|
%description
|
||||||
|
etcd is a distributed, consistent key-value store for shared configuration and
|
||||||
|
service discovery. This package contains different versions of etcd and
|
||||||
|
etcdctl for the kubernetes container image.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n etcd-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{goprep} %{project}
|
||||||
|
|
||||||
|
tar -xf %{SOURCE1} -C ./etcdctl
|
||||||
|
tar -xf %{SOURCE2} -C ./server
|
||||||
|
|
||||||
|
mkdir ./bin
|
||||||
|
|
||||||
|
cd ./etcdctl
|
||||||
|
go build -v -buildmode=pie -mod=vendor -o ../bin/etcdctl
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
cd ./server
|
||||||
|
go build -v -buildmode=pie -mod=vendor -o ../bin/etcd
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
%install
|
||||||
|
install -d %{buildroot}/%{_bindir}
|
||||||
|
install -d %{buildroot}/%{_sbindir}
|
||||||
|
install -D -p -m 0755 bin/etcdctl %{buildroot}%{_bindir}/etcdctl-%{version}
|
||||||
|
install -D -p -m 0755 bin/etcd %{buildroot}%{_sbindir}/etcd-%{version}
|
||||||
|
|
||||||
|
ln -sf etcdctl-%{version} %{buildroot}%{_bindir}/etcdctl
|
||||||
|
# ln -sf etcd-%{version} %{buildroot}%{_sbindir}/etcd
|
||||||
|
# we need a wrapper script to be able to set some environment variables.
|
||||||
|
echo "#!/bin/bash" > %{buildroot}%{_sbindir}/etcd
|
||||||
|
%ifarch aarch64
|
||||||
|
echo "export ETCD_UNSUPPORTED_ARCH=arm64" >> %{buildroot}%{_sbindir}/etcd
|
||||||
|
%endif
|
||||||
|
echo "exec %{_sbindir}/etcd-%{version} \"\$@\"" >> %{buildroot}%{_sbindir}/etcd
|
||||||
|
chmod 755 %{buildroot}%{_sbindir}/etcd
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%license LICENSE
|
||||||
|
%{_sbindir}/etcd
|
||||||
|
%{_sbindir}/etcd-%{version}
|
||||||
|
%{_bindir}/etcdctl
|
||||||
|
%{_bindir}/etcdctl-%{version}
|
||||||
|
|
||||||
|
%changelog
|
3
vendor-etcdctl.tar.gz
Normal file
3
vendor-etcdctl.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b08e67b2f36702e31153ba970814774a2b2691b0f267a31d43e38d54eb1aa9bb
|
||||||
|
size 4634154
|
3
vendor-server.tar.gz
Normal file
3
vendor-server.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b4fd72bc5bc523cb218058371a46b742d878174902ef870e533e3e5d84d50167
|
||||||
|
size 4966391
|
Loading…
x
Reference in New Issue
Block a user