Name: sevctl Version: 0.4.1 Release: 1%{?dist} Summary: Administrative utilities for AMD SEV and SEV-SNP License: ASL 2.0 URL: https://github.com/virtee # sevctl sources Source0: %{url}/sevctl/archive/v%{version}/%{name}-%{version}.tar.gz Source1: %{name}-%{version}-vendor.tar.gz # snphost sources Source2: %{url}/snphost/archive/v0.1.1/snphost-0.1.1.tar.gz Source3: snphost-0.1.1-vendor.tar.gz # snpguest sources Source4: %{url}/snpguest/archive/v0.2.2/snpguest-0.2.2.tar.gz Source5: snpguest-0.2.2-vendor.tar.gz ExclusiveArch: x86_64 BuildRequires: rust-toolset BuildRequires: openssl-devel %package sevctl Summary: %{summary} %description sevctl %{summary}. %files -n sevctl %doc sevctl-0.4.1/README.md %license sevctl-0.4.1/LICENSE %{_bindir}/sevctl %package snphost Summary: %{summary} %description snphost %{summary}. %files snphost %doc snphost-0.1.1/README.md %license snphost-0.1.1/LICENSE %{_bindir}/snphost %package snpguest Summary: %{summary} %description snpguest %{summary}. %files snpguest %doc snpguest-0.2.2/README.md %license snpguest-0.2.2/LICENSE %{_bindir}/snpguest %description %{summary}. %prep %setup -n sevctl-build -c -a 2 -a 4 pushd sevctl-0.4.1 %cargo_prep -V 1 popd pushd snphost-0.1.1 %cargo_prep -V 3 popd pushd snpguest-0.2.2 %cargo_prep -V 5 popd %build pushd sevctl-0.4.1 %cargo_build popd pushd snphost-0.1.1 %cargo_build popd pushd snpguest-0.2.2 %cargo_build popd %install pushd sevctl-0.4.1 %cargo_install popd pushd snphost-0.1.1 %cargo_install popd pushd snpguest-0.2.2 %cargo_install popd %changelog * Mon Jul 10 2023 Tyler Fanelli - Rebase to 0.4.1 - Add snphost and snpguest CLI utilities along with sevctl - Related: rhbz2222043 * Mon Nov 28 2022 Tyler Fanelli - Rebase to 0.3.2 - Related: rhbz2135747 * Fri Jul 1 2022 Tyler Fanelli - Rebase to 0.3.0 - Related: rhbz2085086 * Thu Jan 27 2022 Tyler Fanelli - Rebase to 0.2.0 - Related: rhbz2037961 * Thu Aug 26 2021 Connor Kuehl - 0.1.0-2 - No-change rebuild for gating.yaml * Wed Apr 14 2021 Connor Kuehl - Initial package