## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## 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 icu_time Name: rust-icu_time Version: 2.2.0 Release: %autorelease Summary: Processing of dates, times, and time zones with a focus on i18n and interop License: Unicode-3.0 URL: https://crates.io/crates/icu_time Source: %{crates_source} # * Downstream-only: omit a test that would require icu_provider_blob Patch11: 0001-Downstream-only-omit-a-test-that-would-require-icu_p.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Processing of dates, times, and time zones with a focus on i18n and interop.} %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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+compiled_data-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+compiled_data-devel %{_description} This package contains library source intended for building other packages which use the "compiled_data" feature of the "%{crate}" crate. %files -n %{name}+compiled_data-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+datagen-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+datagen-devel %{_description} This package contains library source intended for building other packages which use the "datagen" feature of the "%{crate}" crate. %files -n %{name}+datagen-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ixdtf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ixdtf-devel %{_description} This package contains library source intended for building other packages which use the "ixdtf" feature of the "%{crate}" crate. %files -n %{name}+ixdtf-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}+unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-devel %{_description} This package contains library source intended for building other packages which use the "unstable" feature of the "%{crate}" crate. %files -n %{name}+unstable-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_chrono_0_4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_chrono_0_4-devel %{_description} This package contains library source intended for building other packages which use the "unstable_chrono_0_4" feature of the "%{crate}" crate. %files -n %{name}+unstable_chrono_0_4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_jiff_0_2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_jiff_0_2-devel %{_description} This package contains library source intended for building other packages which use the "unstable_jiff_0_2" feature of the "%{crate}" crate. %files -n %{name}+unstable_jiff_0_2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_time_0_3-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable_time_0_3-devel %{_description} This package contains library source intended for building other packages which use the "unstable_time_0_3" feature of the "%{crate}" crate. %files -n %{name}+unstable_time_0_3-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 # * Very many doctests have circular dependencies on the top-level icu crate, # enough that it would be very tedious to patch them all out. %cargo_test -a -- --lib %endif %changelog ## START: Generated by rpmautospec * Mon Apr 13 2026 Benjamin A. Beasley - 2.2.0-1 - Update to version 2.2.0; Fixes RHBZ#2454002 * Tue Mar 10 2026 Benjamin A. Beasley - 2.1.1-1 - Initial package (close RHBZ#2445160) ## END: Generated by rpmautospec