# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate icu_locale_fallback_data Name: rust-icu_locale_fallback_data Version: 2.3.0 Release: %autorelease Summary: Data for the icu_locale_fallback crate License: Unicode-3.0 URL: https://crates.io/crates/icu_locale_fallback_data Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Data for the icu_locale_fallback crate.} %description %{_description} # The data in this package has been “baked” into Rust code using the # icu_datagen crate, which is built on top of the databake crate. For # guidelines compliance purpose, we consider these files to have more # properties of data than of generated code. For example, other than the static # byte buffers encoding the data, all of the Rust source code is boilerplate # produced by icu_datagen; it has no “original sources” outside of icu_datagen # in any meaningful sense, other than the original form of the Unicode data # itself, which is ultimately attributable to the CLDR # (https://github.com/unicode-org/cldr-json/) and/or the data files shipped # with ICU (https://github.com/unicode-org/icu/). Further details, discussion, # and rationale appear in https://bugzilla.redhat.com/show_bug.cgi?id=2358292. %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 %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 %autochangelog