# Generated by rust2rpm 28 %bcond check 1 %global crate krun-awsnitro-eif-ctl Name: rust-krun-awsnitro-eif-ctl Version: 0.1.0 Release: %autorelease Summary: krun-awsnitro EIF configuration tool License: Apache-2.0 URL: https://crates.io/crates/krun-awsnitro-eif-ctl Source0: %{name}-%{version}.tar.gz Source1: %{name}-%{version}-vendor.tar.gz ExclusiveArch: x86_64 aarch64 BuildRequires: cargo-rpm-macros >= 24 BuildRequires: openssl-devel %global _description %{expand: krun-awsnitro EIF configuration tool.} %description %{_description} %package -n %{crate} Summary: %{summary} License: Apache-2.0 %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/krun-awsnitro-eif-ctl %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %cargo_vendor_manifest %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog