Name: sops Version: 3.13.3 Release: 1%{?dist} Summary: Simple and flexible tool for managing secrets License: MPL-2.0 URL: https://github.com/getsops/sops ExclusiveArch: x86_64 aarch64 BuildRequires: curl BuildRequires: grep # Disable debuginfo package since we are repackaging a stripped Go binary %global debug_package %{nil} %description SOPS is an editor of encrypted files that supports YAML, JSON, ENV, INI and BINARY formats and encrypts with AWS KMS, GCP KMS, Azure Key Vault, age, and PGP. This package is automatically updated daily via a GitHub Actions pipeline. %prep # No source to unpack, we download and verify the binary in the build step %build %ifarch x86_64 %global sops_arch amd64 %endif %ifarch aarch64 %global sops_arch arm64 %endif curl -fsSL "https://github.com/getsops/sops/releases/download/v%{version}/sops-v%{version}.linux.%{sops_arch}" -o sops curl -fsSL "https://github.com/getsops/sops/releases/download/v%{version}/sops-v%{version}.checksums.txt" -o checksums.txt grep "sops-v%{version}\.linux\.%{sops_arch}\$" checksums.txt | sed 's/sops-v%{version}\.linux\.%{sops_arch}/sops/' | sha256sum -c - %install install -D -m 0755 sops %{buildroot}%{_bindir}/sops %check test -f %{buildroot}%{_bindir}/sops %{buildroot}%{_bindir}/sops --version | grep "%{version}" %files %{_bindir}/sops %changelog * Sat Nov 21 2026 Bernd Putsche - 3.13.3-1 - Initial automated COPR package with multi-arch, SHA256 verification, and check support