# Generated by rust2rpm 28 # * tests fail on aarch64 %bcond check 0 %global debug_package %{nil} %global crate x86_64 Name: rust-x86_64 Version: 0.15.5 Release: %autorelease Summary: Support for x86_64 specific instructions, registers, and structures # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/x86_64 Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Support for x86_64 specific instructions, registers, and structures.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/AUTHORS %doc %{crate_instdir}/Changelog.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SECURITY.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}+abi_x86_interrupt-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+abi_x86_interrupt-devel %{_description} This package contains library source intended for building other packages which use the "abi_x86_interrupt" feature of the "%{crate}" crate. %files -n %{name}+abi_x86_interrupt-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+asm_const-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+asm_const-devel %{_description} This package contains library source intended for building other packages which use the "asm_const" feature of the "%{crate}" crate. %files -n %{name}+asm_const-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+const_fn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+const_fn-devel %{_description} This package contains library source intended for building other packages which use the "const_fn" feature of the "%{crate}" crate. %files -n %{name}+const_fn-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc_auto_cfg-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+doc_auto_cfg-devel %{_description} This package contains library source intended for building other packages which use the "doc_auto_cfg" feature of the "%{crate}" crate. %files -n %{name}+doc_auto_cfg-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+doc_cfg-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+doc_cfg-devel %{_description} This package contains library source intended for building other packages which use the "doc_cfg" feature of the "%{crate}" crate. %files -n %{name}+doc_cfg-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+instructions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+instructions-devel %{_description} This package contains library source intended for building other packages which use the "instructions" feature of the "%{crate}" crate. %files -n %{name}+instructions-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+memory_encryption-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+memory_encryption-devel %{_description} This package contains library source intended for building other packages which use the "memory_encryption" feature of the "%{crate}" crate. %files -n %{name}+memory_encryption-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nightly-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nightly-devel %{_description} This package contains library source intended for building other packages which use the "nightly" feature of the "%{crate}" crate. %files -n %{name}+nightly-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+step_trait-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+step_trait-devel %{_description} This package contains library source intended for building other packages which use the "step_trait" feature of the "%{crate}" crate. %files -n %{name}+step_trait-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog