Name: granted Version: 0.38.0 Release: 1%{?dist} Summary: CLI tool for managing cloud access (from granted.dev) License: MIT URL: https://granted.dev # Prebuilt binary tarball from upstream releases Source0: https://releases.commonfate.io/granted/v%{version}/granted_%{version}_linux_x86_64.tar.gz # Additional sources for docs since they're missing from the tarball Source1: https://raw.githubusercontent.com/common-fate/granted/v%{version}/LICENCE Source2: https://raw.githubusercontent.com/common-fate/granted/v%{version}/README.md ExclusiveArch: x86_64 # Disable checks/debugging that don’t apply to prebuilt binaries %global __brp_check_build_id %{nil} %global _missing_build_ids_terminate_build 0 %global __strip /bin/true %global debug_package %{nil} Requires: bash %description Granted is a CLI tool for safely managing cloud roles and accounts in cloud environments. %prep # Nothing to unpack here, we just stage docs %setup -c -T -q cp %{SOURCE1} . cp %{SOURCE2} . %build # no build step needed, prebuilt binary %install mkdir -p %{buildroot}%{_bindir} # unpack the binary tarball directly into bindir tar -zxvf %{SOURCE0} -C %{buildroot}%{_bindir} # install docs mkdir -p %{buildroot}%{_docdir}/%{name} # install -m 0644 LICENCE %{buildroot}%{_docdir}/%{name}/ install -m 0644 README.md %{buildroot}%{_docdir}/%{name}/ %files %license LICENCE %doc README.md %{_bindir}/granted %{_bindir}/assume %{_bindir}/assume.bat %{_bindir}/assume.fish %{_bindir}/assume.ps1 %{_bindir}/assumego %changelog * Tue Sep 23 2025 carabolic - 0.38.0-1 - Initial package