forked from pool/snphost
c79624c470
* Update to 0.5.0 * workflows: Update rust toolchain version to 1.80 * Update clippy workflow toolchain to use 1.74 * Update Rust version to 1.7.4 * Upgrade sev to 4.0.0 * Remove strict semvar for clap dependency * Adding cert fetch support for Turin * Update to 0.4.0 * Update sev to 3.2.0 * build(deps): bump anyhow from 1.0.82 to 1.0.83 (#51) * fix: remove subcommand trait on ok/commit (#53) * build(deps): bump libc from 0.2.153 to 0.2.154 * clap-migration: Moving from StructOpt to Clap (#48) * build(deps): bump anyhow from 1.0.81 to 1.0.82 (#47) * build(deps): bump anyhow from 1.0.80 to 1.0.81 * Fixing release to 0.3.0, not ready for 1.0.0 * Bumping rust minimum version to 1.70 * modifying docs * Added DER and VLEK support * Changing commands for new 6.6 kernel IOCTL structure * Adding tests to snphostok (#39) * Modify workflow to match SEV and use rust 1.70 (#41) * Fetch: Adding Bergamo and Siena Support (#31) * Adding DCO and auto-assign * In vcek url use reported_tcb_version (#29) * Add lockfile * build(deps): update env_logger requirement from 0.9.0 to 0.10.1 - Service: Remove deprecated cargo_config and cargo_audit services, both are now handled by the cargo_vendor service - Spec: Remove pre-release tag from the package version string OBS-URL: https://build.opensuse.org/package/show/Virtualization/snphost?expand=0&rev=8
57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package snphost
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (C) 2023 VirTEE
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: snphost
|
|
Version: 0.5.0
|
|
Release: 0
|
|
Summary: A Rust command-line tool for interacting with the AMD Secure Processor
|
|
License: Apache-2.0
|
|
Group: Productivity/Security
|
|
URL: https://github.com/virtee/snphost
|
|
Source0: %{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.gz
|
|
BuildRequires: cargo-packaging
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: rubygem(asciidoctor)
|
|
ExclusiveArch: x86_64
|
|
|
|
%description
|
|
snphost is a command line utility for interacting with the AMD Secure Encrypted Virtualization - Secure Nested Paging (SEV-SNP) host environment (via the /dev/sev device).
|
|
|
|
%prep
|
|
# The number passed to -a (a stands for "after") should be equivalent to the Source tag number
|
|
# of the vendor tarball, 1 in this case (from Source1).
|
|
%autosetup -a1
|
|
|
|
%build
|
|
%{cargo_build}
|
|
|
|
%install
|
|
%{cargo_install}
|
|
|
|
%check
|
|
%{cargo_test}
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{_bindir}/%{name}
|
|
|
|
%changelog
|