## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 27 %bcond check 1 %global debug_package %{nil} %global crate icu_properties Name: rust-icu_properties Version: 2.0.1 Release: %autorelease Summary: Definitions for Unicode properties License: Unicode-3.0 URL: https://crates.io/crates/icu_properties Source: %{crates_source} # * Downstream-only: unconditionally skip compiling tests that would require the # circular (path-based) dev-dependency on the icu crate. Patch10: icu_properties-2.0.1-no-icu-dev-dependency.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Definitions for Unicode properties.} %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}+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}+unicode_bidi-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode_bidi-devel %{_description} This package contains library source intended for building other packages which use the "unicode_bidi" feature of the "%{crate}" crate. %files -n %{name}+unicode_bidi-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f alloc,datagen %build %cargo_build -f alloc,datagen %install %cargo_install -f alloc,datagen %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 -f alloc,datagen -- --lib %cargo_test -f alloc,datagen -- --tests %endif %changelog ## START: Generated by rpmautospec * Sun Jul 13 2025 Benjamin A. Beasley - 2.0.1-1 - Update to version 2.0.1; Fixes RHBZ#2364939 * Mon May 12 2025 Benjamin A. Beasley - 1.5.1-2 - Remove no-longer-necessary .rpmlintrc file * Thu Apr 10 2025 Benjamin A. Beasley - 1.5.1-1 - Initial package (close RHBZ#2358527) ## END: Generated by rpmautospec