## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 27 %bcond check 1 %global debug_package %{nil} %global crate interpolator Name: rust-interpolator Version: 0.5.0 Release: %autorelease Summary: Runtime format strings, fully compatible with std's macros License: MIT OR Apache-2.0 URL: https://crates.io/crates/interpolator Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Omit derive_more, proptest, proptest-derive, quote, and trybuild2 # dev-dependencies, only required for tests that are not included in published # crates Patch: interpolator-fix-metadata.diff # * Downstream-only: ignore test that requires assert-dbg, not in the crate Patch10: 0001-Downstream-only-ignore-test-that-requires-assert-dbg.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Runtime format strings, fully compatible with std's macros.} %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}/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 %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+iter-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+iter-devel %{_description} This package contains library source intended for building other packages which use the "iter" feature of the "%{crate}" crate. %files -n %{name}+iter-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+number-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+number-devel %{_description} This package contains library source intended for building other packages which use the "number" feature of the "%{crate}" crate. %files -n %{name}+number-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pointer-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pointer-devel %{_description} This package contains library source intended for building other packages which use the "pointer" feature of the "%{crate}" crate. %files -n %{name}+pointer-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -a %build %cargo_build -a %install %cargo_install -a %if %{with check} %check %cargo_test -a %endif %changelog ## START: Generated by rpmautospec * Sat Oct 04 2025 Benjamin A. Beasley - 0.5.0-3 - Omit some unnecessary dev-dependencies * Sat Oct 04 2025 Benjamin A. Beasley - 0.5.0-2 - No longer allow proptest-derive 0.5 * Thu Oct 02 2025 Benjamin A. Beasley - 0.5.0-1 - Initial package (close RHBZ#2398112) ## END: Generated by rpmautospec