File kubie.spec of Package failed_kubie
Name: kubie
Version: 0.25.2
Release: 1.1
Summary: A small tool to make working with multiple Kubernetes clusters easier
License: MIT
URL: https://github.com/sbstp/kubie
Source0: %{name}-%{version}.tar.gz
# Build requirements
BuildRequires: rust
BuildRequires: cargo
BuildRequires: cmake
%description
kubie is a small helper to make working with multiple Kubernetes clusters easier.
It provides a convenient way to switch contexts and manage per-project kubeconfigs.
%prep
%setup -q -n %{name}-%{version}
%build
export RUSTFLAGS=-Clink-arg=-Wl,-z,relro,-z,now
cargo build --release --no-default-features
%install
rm -rf %{buildroot}
cargo install --root=%{buildroot}/usr --path .
%files
%{_bindir}/kubie
%license LICENSE
%doc README.md
%changelog
* Mon Aug 11 2025 Packager <packager@example.com> - 0.25.2-1.1
- Add cmake to BuildRequires so aws-lc-sys can build its native dependency.