## 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 fixed_decimal Name: rust-fixed_decimal Version: 0.7.2 Release: %autorelease Summary: API for representing numbers in a human-readable form License: Unicode-3.0 URL: https://crates.io/crates/fixed_decimal Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Drop benchmark-only criterion, rand, rand_distr, and rand_pcg dependencies # * Omit the per_myriad example, which would require the internal # icu_benchmark_macros crate # * Omit the unused getrandom dependency (with unwanted wasm_js feature) Patch: fixed_decimal-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: An API for representing numbers in a human-readable form.} %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 %package -n %{name}+ryu-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ryu-devel %{_description} This package contains library source intended for building other packages which use the "ryu" feature of the "%{crate}" crate. %files -n %{name}+ryu-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 * Sun Apr 12 2026 Benjamin A. Beasley - 0.7.2-1 - Update to version 0.7.2; Fixes RHBZ#2453901 * Sat Jan 17 2026 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Sun Nov 16 2025 Benjamin A. Beasley - 0.7.1-1 - Initial package (close RHBZ#2408499) ## END: Generated by rpmautospec