Initial commit on c10s
Added gating.yaml Resolves: RHEL-171502 Signed-off-by: Tyler Fanelli <tfanelli@redhat.com>
This commit is contained in:
parent
5b03b63a0f
commit
0b88493818
2
.gitignore
vendored
2
.gitignore
vendored
@ -0,0 +1,2 @@
|
||||
/snphost-0.5.0.tar.gz
|
||||
/snphost-0.5.0-vendor.tar.gz
|
||||
5
gating.yaml
Normal file
5
gating.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules: []
|
||||
64
snphost.spec
Normal file
64
snphost.spec
Normal file
@ -0,0 +1,64 @@
|
||||
# Generated by rust2rpm 27
|
||||
%bcond check 1
|
||||
|
||||
%global version 0.5.0
|
||||
%global crate snphost
|
||||
|
||||
Name: snphost
|
||||
Version: %{version}
|
||||
Release: 1%{?dist}
|
||||
Summary: Administrative utility for AMD SEV-SNP
|
||||
|
||||
URL: https://github.com/virtee/%{crate}
|
||||
Source: https://github.com/virtee/%{crate}/archive/refs/tags/snphost-%{version}.tar.gz
|
||||
Source1: https://github.com/virtee/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
||||
|
||||
# snphost is a tool using features specific to AMD EPYC processors (x86_64).
|
||||
ExclusiveArch: x86_64
|
||||
|
||||
# (MIT OR Apache-2.0) AND Unicode-DFS-2016
|
||||
# Apache-2.0
|
||||
# Apache-2.0 OR MIT
|
||||
# BSD-3-Clause
|
||||
# MIT
|
||||
# MIT OR Apache-2.0
|
||||
# MPL-2.0
|
||||
# Unlicense OR MIT
|
||||
License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0 AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT)
|
||||
|
||||
BuildRequires: rust-toolset
|
||||
BuildRequires: /usr/bin/pkg-config
|
||||
BuildRequires: openssl-devel
|
||||
|
||||
%global _description %{expand:
|
||||
Administrative utility for AMD SEV-SNP.}
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%license LICENSE.dependencies
|
||||
%doc README.md
|
||||
%{_bindir}/snphost
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version} -p1 -a1
|
||||
%cargo_prep -v vendor
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
%{cargo_license_summary}
|
||||
%{cargo_license} > LICENSE.dependencies
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Feb 11 2025 Tyler Fanelli <tfanelli@redhat.com> - 0.5.0-1
|
||||
- Initial commit on c10s
|
||||
Resolves: RHEL-171502
|
||||
2
sources
Normal file
2
sources
Normal file
@ -0,0 +1,2 @@
|
||||
SHA512 (snphost-0.5.0-vendor.tar.gz) = c9ab9c2c776d68f9713526aee2446d50d1f333d77b0b80925908459cf06b1ee317690394da6b86b6fe1f951412510ab8da1f881525ffa3c7fcda308405c5c826
|
||||
SHA512 (snphost-0.5.0.tar.gz) = 9292e17505c0e33874342b38ea2b8b87fa06ca59147db93a9f83e46fafee443a9804a2efac82defdfcb6fe6c9dcc8519b2a4b6f61fd55a0de08a0296dfef11af
|
||||
Loading…
Reference in New Issue
Block a user