# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate gix-error Name: rust-gix-error Version: 0.0.0 Release: %autorelease Summary: Common errors and error-handling utilities for gitoxide License: MIT OR Apache-2.0 URL: https://crates.io/crates/gix-error Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * relax dependecy on insta Patch: gix-error-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A crate of the gitoxide project to provide common errors and error- handling utilities.} %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 %{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}+anyhow-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+anyhow-devel %{_description} This package contains library source intended for building other packages which use the "anyhow" feature of the "%{crate}" crate. %files -n %{name}+anyhow-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+auto-chain-error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+auto-chain-error-devel %{_description} This package contains library source intended for building other packages which use the "auto-chain-error" feature of the "%{crate}" crate. %files -n %{name}+auto-chain-error-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+document-features-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+document-features-devel %{_description} This package contains library source intended for building other packages which use the "document-features" feature of the "%{crate}" crate. %files -n %{name}+document-features-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tree-error-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tree-error-devel %{_description} This package contains library source intended for building other packages which use the "tree-error" feature of the "%{crate}" crate. %files -n %{name}+tree-error-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