# Generated by rust2rpm 22 # check don't work on the BS because of missing /etc/localtime symlink %bcond_with check %global debug_package %{nil} %global crate iana-time-zone Name: rust-iana-time-zone Version: 0.1.53 Release: %mkrel 1 Summary: Get the IANA time zone for the current system Group: Development/Other License: MIT OR Apache-2.0 URL: https://crates.io/crates/iana-time-zone Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: iana-time-zone-fix-metadata-auto.diff ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 %global _description %{expand: Get the IANA time zone for the current system.} %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 %{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}+fallback-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fallback-devel %{_description} This package contains library source intended for building other packages which use the "fallback" feature of the "%{crate}" crate. %files -n %{name}+fallback-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Sun Dec 18 2022 guillomovitch <guillomovitch> 0.1.53-1.mga9 + Revision: 1925004 - new version 0.1.53 * Thu Oct 13 2022 guillomovitch <guillomovitch> 0.1.50-1.mga9 + Revision: 1896776 - new version 0.1.50 + neoclust <neoclust> - imported package rust-iana-time-zone * Fri Sep 02 2022 Fabio Valentini <decathorpe@gmail.com> 0.1.47-1 - Update to version 0.1.47; Fixes RHBZ#2122672 * Fri Aug 19 2022 Fabio Valentini <decathorpe@gmail.com> 0.1.46-1 - Initial import (#2119604)