# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate reqsign-aws-v4a Name: rust-reqsign-aws-v4a Version: 3.0.5 Release: %autorelease Summary: AWS SigV4a signing implementation for reqsign License: Apache-2.0 URL: https://crates.io/crates/reqsign-aws-v4a Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Patch out dev-dependencies on aws-sig4 and aws-credential-types since we do # not want to package them; these are used only for benchmarks and for one # group of tests. Patch: reqsign-aws-v4a-fix-metadata.diff # * Downstream-only: avoid dev-dependencies on aws-sigv4 and # aws-credential-types Patch10: reqsign-aws-v4a-3.3.0-unwanted-dev-deps.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: AWS SigV4a signing implementation for reqsign.} %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 %license %{crate_instdir}/NOTICE %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 %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