## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 27 %bcond check 1 %global projectname guest-components Name: trustee-guest-components Version: 0.17.0 Release: %autorelease Summary: Tools that run in confidential VMs, attest and get secrets from Trustee # License lines copied from the build # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 AND ISC AND (MIT OR Apache-2.0) # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # ISC # MIT # MIT OR Apache-2.0 # MPL-2.0 # Unicode-3.0 # Unlicense OR MIT # License lines above, but sorted and simplified License: %{shrink: Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR BSD-2-Clause OR MIT) AND (Apache-2.0 OR BSL-1.0) AND ISC AND MIT AND (MIT OR Unlicense) AND MPL-2.0 AND Unicode-3.0 AND Unicode-DFS-2016 } # LICENSE.dependencies contains a full license breakdown URL: https://github.com/confidential-containers/guest-components Source: https://github.com/confidential-containers/%{projectname}/archive/refs/tags/v%{version}/%{projectname}-%{version}.tar.gz # * Remove workspace members which are not built Patch1: 0001-Fedora-Remove-workspace-members-which-are-not-built.patch # * deps/crypto defaults to openssl Patch2: 0002-Fedora-AA-deps-crypto-default-to-openssl.patch # * kbs_protocol defaults to openssl Patch3: 0003-Fedora-kbs_protocol-default-to-openssl.patch # * pick attesters to build Patch4: 0004-Fedora-attester-pick-attesters-in-all-attesters.patch # * remove dependency ttrpc - not in Fedora Patch5: 0005-Fedora-remove-ttrpc-dependency.patch # * remove dependency jwt-simple - not in Fedora Patch6: 0006-Fedora-remove-jwt-simple-dependency.patch # * remove dependency testcontainers - not in Fedora Patch7: 0007-Fedora-remove-testcontainers-dependency.patch ExclusiveArch: x86_64 BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Running in a confidential VM, gather confidential-computing evidence, send it to Trustee and get secrets. A part of the confidential-containers project} %description %{_description} %prep %autosetup -n %{projectname}-%{version} -p1 # Cargo.lock isn't uptodate and rpmbuild set --offline rm -f Cargo.lock # Work in kbs_protocol directory cd attestation-agent/kbs_protocol %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build cd attestation-agent/kbs_protocol %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies mv LICENSE.dependencies ../../ %install cd attestation-agent/kbs_protocol mkdir -p %{buildroot}%{_docdir}/%{name} install -m 0644 src/bin/trustee-attester/README.md %{buildroot}%{_docdir}/%{name}/trustee-attester-README.md %cargo_install %if %{with check} %check cd attestation-agent/kbs_protocol %cargo_test %endif %files %license LICENSE %license LICENSE.dependencies %doc README.md %doc trustee-attester-README.md %{_bindir}/trustee-attester %changelog ## START: Generated by rpmautospec * Wed Apr 01 2026 Uri Lublin - 0.17.0-5 - Fedora: pick-attesters patch: remove tpm-attester deps * Tue Mar 17 2026 Daniel P. Berrangé - 0.17.0-4 - Reduce license duplication * Mon Mar 02 2026 Uri Lublin - 0.17.0-3 - Fix License * Thu Feb 19 2026 Uri Lublin - 0.17.0-2 - trustee-guest-components.spec: License update * Thu Feb 19 2026 Uri Lublin - 0.17.0-1 - Update trustee-guest-components to version 0.17.0-1 * Sat Jan 17 2026 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Dec 09 2025 Yan Fu - 0.15.0-1 - Update trustee-guest-components to version 0.15.0-1 * Tue Sep 30 2025 Yan Fu - 0.14.0-1 - Update trustee-guest-components to version 0.14.0-1 * Tue Aug 19 2025 Benjamin A. Beasley - 0.13.0-3 - Update rstest to 0.26 * Tue Aug 12 2025 Uri Lublin - 0.13.0-1 - Rebase to version 0.13.0 Resolves: fedora#2365561 Resolves: fedora#2385705 * Thu Jul 31 2025 Yan Fu - 0.12.0-1 - Update trustee-guest-components to version 0.12.0-1 * Mon Mar 03 2025 Uri Lublin - 0.10.0^124.git0061d03-3 - attester: enable az-snp-vtpm and az-tdx-vtpm attesters * Thu Feb 06 2025 Fabio Valentini - 0.10.0^124.git0061d03-2 - Rebuild for openssl crate >= v0.10.70 (RUSTSEC-2025-0004) * Tue Jan 21 2025 Uri Lublin - 0.10.0^124.git0061d03-1 - Initial import (fedora#2332550). ## END: Generated by rpmautospec