## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate tryfn Name: rust-tryfn Version: 1.1.0 Release: %autorelease Summary: File-driven snapshot testing for a function License: MIT OR Apache-2.0 URL: https://crates.io/crates/tryfn Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: File-driven snapshot testing for a function.} %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}/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}+color-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+color-devel %{_description} This package contains library source intended for building other packages which use the "color" feature of the "%{crate}" crate. %files -n %{name}+color-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+color-auto-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+color-auto-devel %{_description} This package contains library source intended for building other packages which use the "color-auto" feature of the "%{crate}" crate. %files -n %{name}+color-auto-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+diff-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+diff-devel %{_description} This package contains library source intended for building other packages which use the "diff" feature of the "%{crate}" crate. %files -n %{name}+diff-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 ## START: Generated by rpmautospec * Thu Mar 26 2026 Fabio Valentini - 1.1.0-1 - Update to version 1.1.0; Fixes RHBZ#2450434 * Sat Mar 07 2026 Fabio Valentini - 1.0.1-1 - Update to version 1.0.1; Fixes RHBZ#2444232 * Mon Feb 16 2026 Fabio Valentini - 1.0.0-1 - Update to version 1.0.0; Fixes RHBZ#2439053 * Sat Jan 17 2026 Fedora Release Engineering - 0.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 0.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sat Apr 05 2025 Benjamin A. Beasley - 0.2.3-2 - Allow libtest-mimic 0.8 * Wed Mar 12 2025 Fabio Valentini - 0.2.3-1 - Initial import (#2341875) ## END: Generated by rpmautospec