# Prebuilt upstream binaries: no debuginfo to extract %global debug_package %{nil} Name: etcd Version: 3.7.1 Release: 1%{?dist} Summary: Distributed reliable key-value store for the most critical data of a distributed system License: Apache-2.0 URL: https://etcd.io Source0: https://github.com/etcd-io/etcd/releases/download/v%{version}/etcd-v%{version}-linux-amd64.tar.gz Source1: https://github.com/etcd-io/etcd/releases/download/v%{version}/etcd-v%{version}-linux-arm64.tar.gz # Release tarballs do not ship the license text Source2: https://raw.githubusercontent.com/etcd-io/etcd/v%{version}/LICENSE Source10: %{name}.service Source11: %{name}.conf ExclusiveArch: x86_64 aarch64 BuildRequires: systemd-rpm-macros %{?systemd_requires} %description Distributed reliable key-value store for the most critical data of a distributed system. This package ships the official upstream release binaries (etcd, etcdctl and etcdutl). %prep %ifarch x86_64 %setup -q -T -b 0 -n etcd-v%{version}-linux-amd64 %endif %ifarch aarch64 %setup -q -T -b 1 -n etcd-v%{version}-linux-arm64 %endif cp -p %{SOURCE2} LICENSE # Create a sysusers.d config file cat >etcd.sysusers.conf < - 3.7.1-1 - Update to 3.7.1 - Repackage official upstream release binaries instead of building from source - Drop golang devel subpackage