## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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 debug_package %{nil} # prevent executables from being installed %global cargo_install_bin 0 %global crate az-snp-vtpm # compile and run tests only on supported architectures %global supported_arches x86_64 Name: rust-az-snp-vtpm Version: 0.7.4 Release: %autorelease Summary: VTPM based SEV-SNP attestation for Azure Confidential VMs License: MIT URL: https://crates.io/crates/az-snp-vtpm Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: VTPM based SEV-SNP attestation for Azure Confidential VMs.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+attester-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+attester-devel %{_description} This package contains library source intended for building other packages which use the "attester" feature of the "%{crate}" crate. %files -n %{name}+attester-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+openssl-devel %{_description} This package contains library source intended for building other packages which use the "openssl" feature of the "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+verifier-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+verifier-devel %{_description} This package contains library source intended for building other packages which use the "verifier" feature of the "%{crate}" crate. %files -n %{name}+verifier-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %ifarch %{supported_arches} %cargo_build %endif %install %cargo_install %if %{with check} %ifarch %{supported_arches} %check mkdir -p ../test cp test/* ../test/ %cargo_test %endif rm -rf ../test %endif %changelog ## START: Generated by rpmautospec * Sat Jan 17 2026 Fedora Release Engineering - 0.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Aug 12 2025 Uri Lublin - 0.7.4-1 - Rebase to version 0.7.4 * Sun Aug 03 2025 Uri Lublin - 0.7.3-1 - Rebase to az-snp-vtpm-0.7.3 * Fri Jul 25 2025 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Feb 24 2025 Uri Lublin - 0.7.1-1 - Initial import (fedora#2327780). ## END: Generated by rpmautospec