## 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 fraction Name: rust-fraction Version: 0.15.3 Release: %autorelease Summary: Lossless fractions and decimals; drop-in float replacement # Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/fraction Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Lossless fractions and decimals; drop-in float replacement.} %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}+byteorder-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+byteorder-devel %{_description} This package contains library source intended for building other packages which use the "byteorder" feature of the "%{crate}" crate. %files -n %{name}+byteorder-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bytes-devel %{_description} This package contains library source intended for building other packages which use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+juniper-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+juniper-devel %{_description} This package contains library source intended for building other packages which use the "juniper" feature of the "%{crate}" crate. %files -n %{name}+juniper-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+lazy_static-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+lazy_static-devel %{_description} This package contains library source intended for building other packages which use the "lazy_static" feature of the "%{crate}" crate. %files -n %{name}+lazy_static-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+postgres-types-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+postgres-types-devel %{_description} This package contains library source intended for building other packages which use the "postgres-types" feature of the "%{crate}" crate. %files -n %{name}+postgres-types-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_derive-devel %{_description} This package contains library source intended for building other packages which use the "serde_derive" feature of the "%{crate}" crate. %files -n %{name}+serde_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-approx-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-approx-devel %{_description} This package contains library source intended for building other packages which use the "with-approx" feature of the "%{crate}" crate. %files -n %{name}+with-approx-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-bigint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-bigint-devel %{_description} This package contains library source intended for building other packages which use the "with-bigint" feature of the "%{crate}" crate. %files -n %{name}+with-bigint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-decimal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-decimal-devel %{_description} This package contains library source intended for building other packages which use the "with-decimal" feature of the "%{crate}" crate. %files -n %{name}+with-decimal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-dynaint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-dynaint-devel %{_description} This package contains library source intended for building other packages which use the "with-dynaint" feature of the "%{crate}" crate. %files -n %{name}+with-dynaint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-juniper-support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-juniper-support-devel %{_description} This package contains library source intended for building other packages which use the "with-juniper-support" feature of the "%{crate}" crate. %files -n %{name}+with-juniper-support-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-postgres-support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-postgres-support-devel %{_description} This package contains library source intended for building other packages which use the "with-postgres-support" feature of the "%{crate}" crate. %files -n %{name}+with-postgres-support-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-serde-support-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-serde-support-devel %{_description} This package contains library source intended for building other packages which use the "with-serde-support" feature of the "%{crate}" crate. %files -n %{name}+with-serde-support-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+with-unicode-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+with-unicode-devel %{_description} This package contains library source intended for building other packages which use the "with-unicode" feature of the "%{crate}" crate. %files -n %{name}+with-unicode-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 * Fri Feb 06 2026 John Doe - 0.15.3-1 - Uncommitted changes ## END: Generated by rpmautospec