Initial import (#1959134)

Related: rhbz1959134
This commit is contained in:
Connor Kuehl 2021-06-17 16:15:42 -05:00
parent 5ecea90e9c
commit 5c594f62aa
3 changed files with 45 additions and 0 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
/sevctl-0.1.0-vendor.tar.gz
/sevctl-0.1.0.tar.gz

41
sevctl.spec Normal file
View File

@ -0,0 +1,41 @@
Name: sevctl
Version: 0.1.0
Release: 1%{?dist}
Summary: Administrative utility for AMD SEV
License: ASL 2.0
URL: https://github.com/enarx/sevctl
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: %{name}-%{version}-vendor.tar.gz
ExclusiveArch: %{rust_arches}
BuildRequires: rust-toolset
BuildRequires: openssl-devel
%description
%{summary}.
%prep
%setup -q -n %{name}-%{version}
%cargo_prep -V 1
%build
%cargo_build
%install
%cargo_install
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog
* Wed Apr 14 2021 Connor Kuehl <ckuehl@redhat.com>
- Initial package

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (sevctl-0.1.0-vendor.tar.gz) = 9f6e34b3b6130891d05f275a46207ccd9408de35c19e1b207ff8da43dda7ed81adc4c638d1ff43b73807c1c68e8ce617ef6cb5ed165050d82d71d859798f19e3
SHA512 (sevctl-0.1.0.tar.gz) = 0fe406ae7f7831218b3ed96007af8928a70ce58d8e38dcb44eafe1ba024357f48f2403e9cc4ef62073e7e03154a61fa00e8fa5cf9bccff743da887241ca5849c