2021-06-17 21:15:42 +00:00
|
|
|
Name: sevctl
|
2023-07-14 02:08:34 +00:00
|
|
|
Version: 0.4.1
|
2022-11-29 18:13:00 +00:00
|
|
|
Release: 1%{?dist}
|
2023-07-14 02:08:34 +00:00
|
|
|
Summary: Administrative utilities for AMD SEV and SEV-SNP
|
2021-06-17 21:15:42 +00:00
|
|
|
|
|
|
|
License: ASL 2.0
|
2023-07-14 02:08:34 +00:00
|
|
|
URL: https://github.com/virtee
|
|
|
|
|
|
|
|
# sevctl sources
|
|
|
|
Source0: %{url}/sevctl/archive/v%{version}/%{name}-%{version}.tar.gz
|
2021-06-17 21:15:42 +00:00
|
|
|
Source1: %{name}-%{version}-vendor.tar.gz
|
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
# 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
|
|
|
|
|
2022-02-02 15:54:45 +00:00
|
|
|
ExclusiveArch: x86_64
|
2021-06-17 21:15:42 +00:00
|
|
|
BuildRequires: rust-toolset
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
%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
|
2021-06-17 21:15:42 +00:00
|
|
|
%{summary}.
|
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
%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}.
|
2021-06-17 21:15:42 +00:00
|
|
|
|
|
|
|
%prep
|
2023-07-14 02:08:34 +00:00
|
|
|
%setup -n sevctl-build -c -a 2 -a 4
|
2021-06-17 21:15:42 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
pushd sevctl-0.4.1
|
2021-06-17 21:15:42 +00:00
|
|
|
%cargo_prep -V 1
|
2023-07-14 02:08:34 +00:00
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
pushd snphost-0.1.1
|
|
|
|
%cargo_prep -V 3
|
|
|
|
popd
|
|
|
|
|
|
|
|
pushd snpguest-0.2.2
|
|
|
|
%cargo_prep -V 5
|
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
|
|
|
%build
|
2023-07-14 02:08:34 +00:00
|
|
|
|
|
|
|
pushd sevctl-0.4.1
|
2021-06-17 21:15:42 +00:00
|
|
|
%cargo_build
|
2023-07-14 02:08:34 +00:00
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
pushd snphost-0.1.1
|
|
|
|
%cargo_build
|
|
|
|
popd
|
|
|
|
|
|
|
|
pushd snpguest-0.2.2
|
|
|
|
%cargo_build
|
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
pushd sevctl-0.4.1
|
|
|
|
%cargo_install
|
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
pushd snphost-0.1.1
|
|
|
|
%cargo_install
|
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
pushd snpguest-0.2.2
|
|
|
|
%cargo_install
|
|
|
|
popd
|
2021-06-17 21:15:42 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-07-14 02:08:34 +00:00
|
|
|
* Mon Jul 10 2023 Tyler Fanelli <tfanelli@redhat.com>
|
|
|
|
- Rebase to 0.4.1
|
|
|
|
- Add snphost and snpguest CLI utilities along with sevctl
|
|
|
|
- Related: rhbz2222043
|
|
|
|
|
|
|
|
* Mon Nov 28 2022 Tyler Fanelli <tfanelli@redhat.com>
|
2022-11-29 18:13:00 +00:00
|
|
|
- Rebase to 0.3.2
|
2023-07-14 02:08:34 +00:00
|
|
|
- Related: rhbz2135747
|
2022-11-29 18:13:00 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
* Fri Jul 1 2022 Tyler Fanelli <tfanelli@redhat.com>
|
2022-07-02 04:51:36 +00:00
|
|
|
- Rebase to 0.3.0
|
2023-07-14 02:08:34 +00:00
|
|
|
- Related: rhbz2085086
|
2022-07-02 04:51:36 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
* Thu Jan 27 2022 Tyler Fanelli <tfanelli@redhat.com>
|
2022-02-02 15:54:45 +00:00
|
|
|
- Rebase to 0.2.0
|
2023-07-14 02:08:34 +00:00
|
|
|
- Related: rhbz2037961
|
2021-08-26 20:34:09 +00:00
|
|
|
|
2023-07-14 02:08:34 +00:00
|
|
|
* Thu Aug 26 2021 Connor Kuehl <ckuehl@redhat.com> - 0.1.0-2
|
|
|
|
- No-change rebuild for gating.yaml
|
2021-08-19 21:13:40 +00:00
|
|
|
|
2021-06-17 21:15:42 +00:00
|
|
|
* Wed Apr 14 2021 Connor Kuehl <ckuehl@redhat.com>
|
|
|
|
- Initial package
|