Initial import (#1945307)
This commit is contained in:
parent
a9472ae2bf
commit
32864b1c61
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/sevctl-0.1.0.crate
|
56
rust-sevctl.spec
Normal file
56
rust-sevctl.spec
Normal file
@ -0,0 +1,56 @@
|
||||
# Generated by rust2rpm 17
|
||||
%bcond_without check
|
||||
%global __cargo_skip_build 0
|
||||
|
||||
%global crate sevctl
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Administrative utility for AMD SEV
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
License: ASL 2.0
|
||||
URL: https://crates.io/crates/sevctl
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
|
||||
%global _description %{expand:
|
||||
Administrative utility for AMD SEV.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n %{crate} %{_description}
|
||||
|
||||
%files -n %{crate}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{_bindir}/sevctl
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
|
||||
%generate_buildrequires
|
||||
%cargo_generate_buildrequires
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Mar 30 2021 Connor Kuehl <ckuehl@redhat.com> - 0.1.0-1
|
||||
- Initial package
|
Loading…
Reference in New Issue
Block a user