## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autochangelog ## END: Set by rpmautospec %global debug_package %{nil} Name: kubie Version: 0.24.0 Release: 1%{?dist} Summary: A more powerful alternative to kubectx and kubens License: Zlib URL: https://github.com/sbstp/kubie Source: %{url}/archive/refs/tags/v%{version}.tar.gz #BuildRequires: cargo #BuildRequires: rust BuildRequires: wget %description %{summary} #%prep #wget https://github.com/sbstp/kubie/releases/download/v%{version}/kubie-linux-amd64 #%autosetup -n %{name}-%{version} -p1 #%build %install #export CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_OPT_LEVEL=3 ls -la env #ls -la %{name}-%{version} || true #cargo install --root=%{buildroot}%{_prefix} --path=. -v #rm -f %{buildroot}%{_prefix}/.crates.toml \ # %{buildroot}%{_prefix}/.crates2.json #strip --strip-all %{buildroot}%{_bindir}/* wget https://github.com/sbstp/kubie/releases/download/v%{version}/kubie-linux-amd64 install -p -D %{name}-linux-amd64 %{buildroot}%{_bindir}/%{name} %files %doc CONFIGURATION.md %license LICENSE %{_bindir}/%{name} %changelog ## START: Generated by rpmautospec * Thu Nov 14 2024 John Doe - 0.24.0-1 - Uncommitted changes ## END: Generated by rpmautospec