From 5c594f62aa1b2327174f47ef394ad70fc3bc4f4b Mon Sep 17 00:00:00 2001 From: Connor Kuehl Date: Thu, 17 Jun 2021 16:15:42 -0500 Subject: [PATCH] Initial import (#1959134) Related: rhbz1959134 --- .gitignore | 2 ++ sevctl.spec | 41 +++++++++++++++++++++++++++++++++++++++++ sources | 2 ++ 3 files changed, 45 insertions(+) create mode 100644 sevctl.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..2e7ac6a 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/sevctl-0.1.0-vendor.tar.gz +/sevctl-0.1.0.tar.gz diff --git a/sevctl.spec b/sevctl.spec new file mode 100644 index 0000000..ccaaeb0 --- /dev/null +++ b/sevctl.spec @@ -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 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..9e04cd2 --- /dev/null +++ b/sources @@ -0,0 +1,2 @@ +SHA512 (sevctl-0.1.0-vendor.tar.gz) = 9f6e34b3b6130891d05f275a46207ccd9408de35c19e1b207ff8da43dda7ed81adc4c638d1ff43b73807c1c68e8ce617ef6cb5ed165050d82d71d859798f19e3 +SHA512 (sevctl-0.1.0.tar.gz) = 0fe406ae7f7831218b3ed96007af8928a70ce58d8e38dcb44eafe1ba024357f48f2403e9cc4ef62073e7e03154a61fa00e8fa5cf9bccff743da887241ca5849c