## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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 28 %bcond check 1 %global debug_package %{nil} %global crate wiremock Name: rust-wiremock Version: 0.6.5 Release: %autorelease Summary: HTTP mocking to test Rust applications # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/wiremock Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Omit deprecated async-std dev-dependency # * Remove test modules for which *all* tests would require async-std. # * Update deadpool to 0.13.0: # https://github.com/LukeMathWalker/wiremock-rs/pull/176 Patch: wiremock-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: HTTP mocking to test Rust applications.} %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}/CHANGELOG.md %doc %{crate_instdir}/CODE_OF_CONDUCT.md %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 # * Nearly all "doc" and "tests" tests require async-std; running the few # exceptions does not seem worth the extensive patching effort that would be # required. %cargo_test -- --lib %endif %changelog ## START: Generated by rpmautospec * Wed Feb 18 2026 Benjamin A. Beasley - 0.6.5-3 - Update deadpool to 0.13.0 * Sat Jan 17 2026 Fedora Release Engineering - 0.6.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Aug 24 2025 Benjamin A. Beasley - 0.6.5-1 - Update to version 0.6.5; Fixes RHBZ#2390595 * Mon Aug 18 2025 Fabio Valentini - 0.6.4-3 - Add missing dependency on "tokio/net" * Fri Jul 25 2025 Fedora Release Engineering - 0.6.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Jun 24 2025 Benjamin A. Beasley - 0.6.4-1 - Update to 0.6.4 * Mon May 12 2025 Benjamin A. Beasley - 0.6.3-1 - Initial package (close RHBZ#2365476) ## END: Generated by rpmautospec