## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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} %global crate reqsign-aws-v4 Name: rust-reqsign-aws-v4 Version: 2.0.0 Release: %autorelease Summary: AWS SigV4 signing implementation for reqsign License: Apache-2.0 URL: https://crates.io/crates/reqsign-aws-v4 Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Patch out benchmark-only criterion dev-dependency # * 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-v4-fix-metadata.diff # * Downstream-only: avoid a dev-dependency on aws-sigv4 and # aws-credential-types Patch10: reqsign-aws-v4-2.0.0-unwanted-dev-deps.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: AWS SigV4 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 %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 # Remove unused mock server scripts from tests to avoid a Python dependency rm -rv tests/mocks %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Thu Oct 23 2025 Benjamin A. Beasley - 2.0.0-1 - Update to version 2.0.0 * Sat Oct 11 2025 Benjamin A. Beasley - 1.0.0-1 - Initial package (close RHBZ#2400195) ## END: Generated by rpmautospec